Apr. 27th, 2003

A few hours a week, desultorily, I've been porting an old eye-candy program, written for DOS, to Windows. Ninety-eight percent of the labor is fiddling with the code that jumps through the hoops to draw on the screen, and to do it on schedule once per video frame. (Was so much simpler without this non-realtime OS getting in the way.) After all that, patching in the code that calculates the pretty stuff was a pleasing hour's work.

Run it, if you're feeling lucky. Disclaimer: totally untested, for example I can guarantee it'll freak out if you're not running 24-bit color laid out 0RGB. (Wonder what happens... okay, I just ran it in 16-bit color. It's, uh, interesting.) Not tweaked for speed, so it needs a fast machine.

This is a little test sequence with an arbitrary set of control parameters. The old code includes parameters for some very pretty sequences, but for certain reasons we can't use them yet.

Profile

Eli

April 2017

S M T W T F S
      1
23 45 678
9101112131415
16171819202122
23242526272829
30      

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 14th, 2025 11:18 pm
Powered by Dreamwidth Studios