|
--- |
|
title: 3.HTML5-3D-VR-Aframe-Map-Land |
|
emoji: πΊοΈVRποΈ |
|
colorFrom: blue |
|
colorTo: green |
|
sdk: static |
|
pinned: false |
|
license: mit |
|
duplicated_from: AI-ZTH-03-23/3.HTML5-Aframe-3dMap-Flight |
|
--- |
|
|
|
π·οΈ **Title:** HTML5-3D-VR-Aframe-Map π3D-VR |
|
|
|
π **Description:** This is a fun π3D-VR simulator that shows a map πΊοΈ with motion controls β¨οΈ of the WASD keyboard. You can explore a 3D landscape ποΈ using Aframe. |
|
|
|
π§ **Details:** |
|
|
|
- **HTML5:** Refers to the version of the HTML (Hypertext Markup Language) used to create the web page on which the 3D-VR-Aframe-Map is hosted. |
|
|
|
- **3D:** Refers to the three-dimensional nature of the map in the 3D-VR-Aframe-Map simulator. |
|
|
|
- **VR:** Refers to the virtual reality aspect of the 3D-VR-Aframe-Map simulator. Users can immerse themselves in the virtual environment and interact with it using VR headsets. |
|
|
|
- **Aframe:** Refers to the web framework used to create the 3D-VR-Aframe-Map simulator. Aframe is a popular framework for creating virtual reality experiences on the web. |
|
|
|
- **Map:** Refers to the representation of geographic or spatial data in a visual form. In the 3D-VR-Aframe-Map simulator, users can explore a 3D landscape using motion controls and a map interface. |
|
|
|
π» **Code Snippet:** |
|
|
|
```html |
|
<html> |
|
<head> |
|
<title>HTML5-3D-VR-Aframe-Map π3D-VR </title> |
|
<script src="https://aframe.io/releases/1.2.0/aframe.min.js"></script> |
|
</head> |
|
<body> |
|
<a-scene> |
|
<a-box position="-1 0.5 -3" rotation="0 45 0" color="#4CC3D9"></a-box> |
|
<a-sphere position="0 1.25 -5" radius="1.25" color="#EF2D5E"></a-sphere> |
|
<a-cylinder position="1 0.75 -3" radius="0.5" height="1.5" color="#FFC65D"></a-cylinder> |
|
<a-plane position="0 0 -4" rotation="-90 0 0" width="4" height="4" color="#7BC8A4"></a-plane> |
|
<a-sky color="#ECECEC"></a-sky> |
|
</a-scene> |
|
</body> |
|
</html> |
|
``` |
|
|
|
π Acronyms: |
|
|
|
HTML: Hypertext Markup Language, a coding language used to create web pages. |
|
VR: Virtual Reality, an immersive experience that simulates a real environment. |
|
Aframe: A web framework used to create virtual reality experiences on the web. |
|
WASD: A set of four keyboard keys that are commonly used in video games for motion controls. |