Play the chaos game to create awesome fractal images
It has come to my notice that Yu-Jie Lin has made a nice video showing the features of this program, which can be seen on youtube here.
The tool takes takes multiple points as input from the user. Then, it assigns the centroid of these points as the initial point. Then, it iterates moving towards a random point, moving in a ratio of r
taken as input.
./chaos-game
- Left Click: Add new point
- Right Click: Define starting point
- Keypress x: Delete latest point
- Keypress f: Run the chaos game
- Keypress c: Toggle colouring
- Keypress q: Quit
mkdir build
cd build
cmake ..
make
- OpenCV 2.x
- CMake 2.8 or above
This software is licensed under the MIT License