SingShots
Home Up Hacking Singularity SingShots



View Matthew Whited's profile on LinkedIn


Name Program Screen Shot Notes
Sierpinski's Triangle
mygraphics
This is my "hello world" for graphics"
Line
mygraphicspoly
Scan line conversion for lines
Press F
Rectangle
mygraphicspoly
I was using the scan line conversion but I replaced with two horizontal traces and then plot the vertical points
Press R
Circle
mygraphicspoly
scan line conversion with repeating octets
Press V
Filled Circle
mygraphicspoly
horizontal scan line conversion using opposite quarter points
Press B
Moiré
mygraphicspoly
I am not happy with the refresh on this function. I will need to look into double buffering to improve it. When I first saves the screen shot I realized the JPG trashed the image. And to show the reason for a test like this I decided to display it and a PNG
Press G
Triangle
mygraphicspoly
Point plotted triangle using the line algorithm above
Press Y
Filled Triangle
mygraphicspoly
Scan line conversion for a filled triangle
Press H
Ellipsis
mygraphicspoly
Scan line conversion for ellipsis is based on the same idea as the circle
Press N
Filled Ellipsis
mygraphicspoly
Again based on the circle
Press U
Windows Test
windowtest
This was a test to make a moving filled rectangle. It can be moved around the screen using "A,W,S,D". Again this is affected by tearing due to the lack of double buffering

Home Up Hacking Singularity SingShots
Copyright Matthew W. Whited 2006-2008
07/02/2008 07:32 PM

Λ Ω Π Σ

Custom Search