GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

03Drawing a star — coefficients sorted by size, one stroke of the pen

Run a discrete Fourier transform on a star outline's points, sort the circles by amplitude — the pen tip rounds every vertex without missing one and reproduces the original star.

Best forLogo-reveal animations, splash one-stroke scenes

CanvasRenderingContext2DlineTorequestAnimationFrame
Drawing a star — coefficients sorted by size, one stroke of the pen
Open in a new tab

03 Drawing a star — coefficients sorted by size, one stroke of the pen — Measured area 45.551% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · Fourier Epicycles, 9 Ways (No Library)

The post this demo lives in

Fourier Epicycles, 9 Ways (No Library) - preview of all 9 demosFourier Epicycles, 9 Ways (No Library)No library, no WebGL — put a path's points on the complex plane, run one sine/cosine integral, and circles stacked on ci See all demos in this post

If you like this effect - similar demos