Rippling circles
Admittedly, these smaller graphical
demos do not quite scuh a complex introduction:
but each has a story behind it, and each demonstrates
a facet of graphical programming that may not
be as easy to elucidate in a larger project. In
this case, I was attempting to build a simple,
but rapid, circle drawing routine for my new MCGA
graphics engine. I acconmplished this by first
constructing a reasonably small look up table
of Sin and Cos values, and using
these to draw points on the circle. Althought
his is somewhat crude, it allows fairly large
and accurate circles to be drawn very quickly,
and din't required any complex or fiddly code.
I put the system into a simple graphical demo,
displaying concentric circles in a finely grading
black and white palett. This proved surprisingly
effective (and almost hypnotic), and although
the orriginal application of the circle drawing
routine is now long forgotten, the legacy of its
demonstration has remeined on my hard drive, and
has been periodically viewed by myself as I sort
through my collection of exe files. The
full source code has been recovered, and is compatible
with my most recent MCGA graphics unit. There's
not much to this reallym but I hope you find it
amusing all the same.
Download
Rippling Circles (11 Kb, zipped) |
Back to Graphical Trinkets