Back to photostream

SplineTrails

a bezier curve based on 4 rotating control points. spots drawn along the bezier. random colours, additive blended and with history. trots along nicely at 25fps and <10% cpu.

 

first thing i've written for a while. need some work, not least the spot graphics i'm using which needs alpha blending and the first and last control points need to do something more interesting than a circular path (especially as the first and last control points determine the first and last points on the bezier exactly). random colours need to be not random, i think. colour cycled both in time and along the bezier.

 

written in about an hour and a half at the Lexington on a sunday afternoon. will convert to Windows Screensaver when i'm feeling masochistic, possibly tomorrow as it's a bank holiday.

202 views
0 faves
0 comments
Uploaded on May 29, 2011