Skip to main content
100%

Random Fun Stuff

✓ Published0🌍 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.

MIT Licensed

Similar vizzes