Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

three.js

Public visualization

three.js

0 stars2🌍 Public
Ssabrinamochi
Last edited Mar 23, 2021
Created on Mar 22, 2021
Forked from HTML Starter

Three colored cubes rotate continuously in a gray 3D scene, each spinning on its X and Y axes at staggered speeds. The visualization uses Three.js with a WebGL renderer to draw the cubes, a PerspectiveCamera, DirectionalLight, and MeshPhongMaterial for shading. The animation loop increments rotation based on time, driven by requestAnimationFrame, with cubes positioned at different X coordinates.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed