Animated sine waves - 27 lines of pure JavaScript

https://slicker.me/javascript/animated_sine_waves.htm

27 points · 2 comments · view on lemmy.world

2 Comments

A_norny_mousse@piefed.zip · 4 pts · 93d (1 reply)

Nice. Rainbows are really easy to produce with mathematical code.

monica_b1998@lemmy.world · 2 pts · 93d

Thanks! And yes, the HSL model works great for cycling rainbows.