Chaos-game Sierpinski triangle
A little thing I made that generates a Sierpinski triangle using chaos game rules.
Semeurim
(semifox)
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
Changes
Links
- Home Page
- http://www.pygame.org/
Releases
Chaos-game Sierpinski triangle Final — 24 Jun, 2011