Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Spinning Rainbow Starfield

Public visualization

Viewing a saved revision (read-only)

8a3e2d0e64974201bedf65d8d747e03e

Spinning Rainbow Starfield

0 stars2🌍 Public
CCurran Kelleher
Last edited Oct 9, 2025
Created on Jul 28, 2025
Forked from HTML Starter

This animation presents a colorful starfield viewed from a single point, with 2000 stars moving through three-dimensional space while the entire scene rotates around the center. The stars appear in random colors and sizes, leaving faint trails as they travel forward. Built with vanilla JavaScript and HTML5 Canvas, the piece uses trigonometric functions for rotation, a perspective projection formula to simulate depth, and `requestAnimationFrame` for smooth animation.

AI-generated description