Clone the project
gh repo clone Vishvam10/Creative-Sketches
Go to the project directory
cd "Nature of Code"
Then, start the live server
Note :
The code uses the minified version of the p5 and the Tweakpane 3.0.8 library. So, make sure to include them in the proper folder. If you prefer a CDN, visit these links p5 CDN and Tweakpane 3.0.8 CDN to know more. Also make sure to include all the links in the <script>
tag in proper order ( p5 > Tweakpane > some_utils.js > sketch.js)
Start the Live Server or open the HTML file using a browser
An everyday challenge to make something creative with code. Currently learning from Nature of Code by Daniel Shiffman. The Nature of Code series has the following sketches and all the sketches are parameterized using Tweakpane.
-
Mutual Attractions :
-
Simple Pendulum :
-
Autonomous Agents :
-
Cellular Automaton :
-
Fractals :
-
Chaos :
-
Genetic Algorithms :
-
Others :