Skip to content

manudev0004/Chaos-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chaos Game

The Chaos Game is a fascinating method for generating fractals, intricate patterns that repeat infinitely. This repository contains an implementation of the Chaos Game algorithm, allowing you to explore and create mesmerizing fractal shapes.

How it Works

The Chaos Game algorithm follows these steps:

  1. Shape Definition: Specify the number of sides for the shape you want to generate a fractal for.

  2. Random Point Selection: Randomly select two points within the shape.

  3. Iteration Process: At each iteration, calculate the midpoint between the current position and one of the randomly selected points.

  4. Repeat: Repeat the iteration process multiple times to visualize the complex fractal pattern.

Features

The Chaos Game implementation in this repository includes several features for customization:

  • Division Factor: Adjust the division factor to control the speed and complexity of the fractal generation process.

  • Number of Iterations: Specify the number of iterations to determine the level of detail in the fractal.

  • Color: Customize the color scheme of the generated fractal to enhance visualization.

Demo

Check out this YouTube video for a demonstration of the Chaos Game algorithm in action.

Getting Started

To get started with the Chaos Game, follow these steps:

  1. Clone this repository to your local machine.
  2. Navigate to the project directory.
  3. Run the Chaos Game program with your preferred settings.
  4. Explore the mesmerizing fractal patterns generated by the algorithm.

Contributions

Contributions to improve and expand the Chaos Game implementation are welcome! Feel free to submit pull requests with enhancements or bug fixes.

Acknowledgments

  • Inspiration: The Chaos Game algorithm was inspired by the work of mathematicians and computer scientists exploring fractal geometry.

Happy fractal exploring! 🌀

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published