Skip to content

mccarthyryanc/chaos_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chaos Game

PyOpenGL implementaion of the Chaos Game. Right now you can choose: window size, dimension, the number of the vertices, fraction ("step size" for each iteration), and max number of iterations. Currently only 1D and 2D is supported (I'm working on 3D) for dimension.

Example for 1000x1000px window, 2D, with 3 vertices, a fraction of 0.5, and 5x10**5 interations:

$ ./main.py 1000 3 2 0.5 500000

Here is a link to an animation where the fraction varies 0.0-1.0: https://dl.dropbox.com/u/15475461/sierpinski_animation.gif

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages