Skip to content
This repository has been archived by the owner on Nov 9, 2018. It is now read-only.
/ chaos-game Public archive

💥 Play the chaos game to create amazing fractal images

Notifications You must be signed in to change notification settings

jaybosamiya/chaos-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chaos Game

Play the chaos game to create awesome fractal images

Screenshots

Video Demo

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.

How it works

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.

Usage

./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

Build process

mkdir build
cd build
cmake ..
make

Requirements

  • OpenCV 2.x
  • CMake 2.8 or above

License

This software is licensed under the MIT License

About

💥 Play the chaos game to create amazing fractal images

Resources

Stars

Watchers

Forks

Packages

No packages published