Re:Shaderoo: realtime ballpoint effect
by dahart on Monday March 12, 2018 @11:53AM
(#16568955)
You got it right at a high level. The main bit of line drawing is the velocity calculation in the middle of the propagate() function:
[ Parent
| on HN ]
It's fun tinkering with all of the constants throughout the script (don't forget to click Apply at the bottom). It's surprisingly robust to changes, they just flavor the image in various ways.