Example Program
  • index.html
Font Size
14
Parentheses autocomplete
Wrap lines
Editor
Theme
Code with blocks by default
Console Font Size
12
Console Theme
Show File Tab Bar
Show Console
Code Running Environment
7 Example: Planes
index.html
<!DOCTYPE html>
<html>
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Output
Docs
Example
More

Here we can see how to make different kinds of planes with different attributes. Similar to spheres, a plane has a size (height and width rather than radius), a position, and color.

Planes can also have an optional rotation. In a 3-dimensional world there are 3 axes: x, y, and z!

The rotation is written as follows: rotation="x y z" where x y and z are values between -90 and 90.

Play around with the current colors, sizes, and rotations to understand how planes work!

Reset Code

Slides and Notes

About

Virtual Reality with A-Frame
A-Frame 1.0.0