Chaos-game Sierpinski triangle
A little thing I made that generates a Sierpinski triangle using chaos game rules.
This is a small project I made to get the hang of Python and Pygame. I basically translated it from a similar Ruby project. It uses chaos-game rules to generate a Sierpinski triangle. By graphing 256 points per frame at 60 frames per second, it makes a good triangle in something like three seconds. You can download the source here: http://filesmelt.com/dl/chaos.py
- Home Page