Animated sine waves - 27 lines of pure JavaScript (slicker.me)
from monica_b1998@lemmy.world to programming@programming.dev on 12 Jun 02:48
https://lemmy.world/post/48060189

#programming

threaded - newest

A_norny_mousse@piefed.zip on 12 Jun 04:05 collapse

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

monica_b1998@lemmy.world on 12 Jun 04:19 collapse

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