Three.js Rotating Cube example
Render and animate a rotating Three.js cube with a standard material and visible edges.
The example creates geometry, material, mesh, and edge lines, then updates their rotations on every animation frame.
Available runtime values:
THREE, scene, camera, controls, renderer, size, add(), setBackground(), setCamera(), onFrame().