Marching Squares
marching Squares 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_squares.py
python simple_marching_squares.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_squares.py)
-
SPEED: speed of world change(just in noise_marching_squares.py)
Links
Download source code: Click here
My github acount: Click here