https://github.com/durocodes/chaos-game
Simple simulation of the chaos game using Python and Pygame
https://github.com/durocodes/chaos-game
Last synced: 2 months ago
JSON representation
Simple simulation of the chaos game using Python and Pygame
- Host: GitHub
- URL: https://github.com/durocodes/chaos-game
- Owner: DuroCodes
- Created: 2024-03-26T20:21:46.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-28T18:19:05.000Z (about 1 year ago)
- Last Synced: 2025-01-29T15:13:30.841Z (4 months ago)
- Language: Python
- Homepage:
- Size: 211 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Chaos Game Simulation
Simple simulation of the chaos game using Python and Pygame.
You can input number of vertices, and the ratio of the distance between the current point and the vertex to the distance between the current point and the next vertex. The program optionally can calculate the optimal ratio using the formula [here](https://en.wikipedia.org/wiki/Chaos_game#Optimal_value_of_r_for_every_regular_polygon).
