Marching Rectangles
marching rectangles algorithm in python with clean code.
Tools
- Python 3
- EasyDraw
Creators
- Mohammad Dori
Run the Code
Installation Requirements
pip install EasyDraw
pip install opensimplex
How to run
python noise_marching_rectangles.py
python simple_marching_rectangles.py
You can change these variables to get a different result
-
WIDTH: screen width
-
HEIGHT: screen height
-
COUNT: count of points
-
NOISE_INC: noise increment(just in noise_marching_rectangles.py)
-
SPEED: speed of world change(just in noise_marching_rectangles.py)
Links
Download source code: Click here
My github acount: Click here