Skip to main content
100%

proj_2

✓ Published0🌍 Public
PPremkumar
Last edited Aug 7, 2025
Created on Aug 7, 2025

A 3D grid of spheres forms a cube, with each sphere’s color derived from its position along the x, y, and z axes using an HSL mapping. The entire cube rotates slowly over time. Built with Three.js, the visualization uses PerspectiveCamera, OrbitControls for user interaction, SphereGeometry, MeshPhongMaterial, and DirectionalLight. The animation loop updates rotation increments and re-renders the scene, while damping controls allow smooth camera zoom and orbit.

AI-generated description
MIT Licensed

Similar vizzes