Chaos game, a little program.

Was bored for a little while today so I made a quick program in Freebasic to produce a Sierpinski Triangle and a some sort of pentagonal fractal. This little program uses the chaos game method to produce it.

seirpinski triangle
seirpinski triangle

seirpinski at 5
seirpinski at 5


I think the result is kind of interesting, I’ll post the crummy little program.
choppy.bas
Nothing special with this, just the result of boredom. You could change the radius and the ox and oy variables to look deeper into the triangle/pentagon.