Canvas Animation
✓ Published0🌍 Public
11Cr18Ni9
Last edited Sep 3, 2018
Created on Sep 3, 2018
This canvas animation draws a rotating, flower-like pattern of curved lines radiating from a central point, with small solid circles placed at each outer endpoint. The design morphs continuously as the entire shape rotates and dashed lines shift in a repeating loop. Built with raw JavaScript and the Canvas API, the code uses a quadratic curve for each spoke, along with rotation transforms, dashed strokes, and a semi-transparent overlay to create the illusion of motion. The animation is driven by `requestAnimationFrame`, updating the line dash offset and rotation angle over time.
AI-generated descriptionBuilt with blockbuilder.org
mit Licensed