Skip to main content
100%

Fork of Fork of 3D Cube of Spheres

✓ Published0🌍 Public
220bavatharani@gmail.com
Last edited Aug 7, 2025
Created on Aug 7, 2025

A 3D cube of boxes rotates continuously in a WebGL scene, with each box’s color determined by its position along the three axes. The visualization uses Three.js to render 64 small cubes arranged in a 4×4×4 grid, with HSL color mapping based on coordinate sums. OrbitControls enable interactive camera zoom and rotation, while directional and ambient lighting highlight the geometry. The animation loop manually increments the group’s rotation on each axis, creating a slow tumbling effect against a near-black background.

AI-generated description
MIT Licensed

Similar vizzes