Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Random Fun Stuff

Public visualization

Random Fun Stuff

0 stars0🌍 Public
CCurran Kelleher
Last edited Oct 9, 2025
Created on Oct 20, 2021
Forked from HTML Starter

A canvas animation draws a continuously evolving radial burst of lines from the center of the screen. Using the HTML5 Canvas API's `getContext('2d')`, the code repeatedly strokes line segments from the center to coordinates computed from sine and cosine functions of the current time and angle. Each frame, a semi-transparent white rectangle gradually fades previous strokes, creating a fading trail effect. The animation runs via `requestAnimationFrame`, recalculating angles and positions with the `Date.now()` timestamp to produce a dynamic, rotating pattern.

AI-generated description

Trying to rememver the HTML5 Canvas API.

Comments

Sign in to join the discussion.

MIT Licensed