Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

div

Public visualization

Viewing a saved revision (read-only)

ce147b653c84497385b5ca5beb8f0d7a

div

0 stars0🌍 Public
Rrdivyaa27@gmail.com
Last edited Aug 7, 2025
Created on Aug 7, 2025
Forked from div

This example shows a single, solid blue cube rendered in three-dimensional space, slowly rotating on its x and y axes. The scene includes ambient and directional lighting to create highlights and depth on the cube's surfaces. Built with Three.js using its WebGL renderer, it leverages `MeshPhongMaterial`, `AmbientLight`, and `DirectionalLight` for the visual style, while `OrbitControls` enable interactive camera rotation. The cube's automatic rotation is driven by an animation loop that updates its transform each frame.

AI-generated description