Skip to content

khualu/simulate_nature

Repository files navigation

Nature of Coding

This repo is made for two extra credits for the Hogeschool van Amsterdam. I get to choose a topic for which I get to spend 28 hours on 1 credit. I choose to follow the video series of The Coding Train, which explains how to simulate different processes of nature in the programme Processing.

Project structure

There will be folders for each series of video in the main series that I get to work on in the 56 available hours. There are six different main folders for each chapter in the video series. Each folder will contain the designated files.

Images

All images made by me can be found here: Nature of Code Image Library. For the other images, you can find them in the corresponding links used to link them in Markdown.

Work schedule

Date n Time (in minutes) Activity
11/5/2020 65 minutes Introduction: Random Walker excersice
12/05/2020 87 minutes Introduction: Probability Basics & Gaussian distributions
14/05/202 154 minutes Introduction: Custom Distribution & Perlin Noise
18/05/2020 82 minutes Vectors NOC: 1.1 Vectors & 1.2 PVector
25/05/2020 116 minutes Vectors NOC: Vector Math I (1.3) & II (1.4) and Acceleration (1.5)
26/05/2020 111 minutes Vector NOC: 1.6 Acceleration towards mouse & Forces NOC 2.1 What is a Force? & 2.2 Applying a Force
27/05/2020 90 minutes Forces NOC: 2.3 Simulating with mass & 2.4 Friction Force
3/06/2020 265 minutes Forces NOC: 2.5 Drag Forcce & 2.6 Gravitational Attraction
4/06/2020 212 minutes Oscillation NOC: 3.1 Angles and Angular Motion & 3.2 Trigonometry and Polar Coordinates
5/06/2020 123 minutes Oscillation NOC: 3.3 Simple Harmonic Motion
8/06/2020 90 minutes Oscillation NOC: 3.4 Pendulum Simulation
9/06/2020 90 minutes Oscillation NOC: 3.5 Springs & Particle Systems NOC: 4.1 Patricle Systems
10/06/2020 297 minutes Particle Systems NOC: 4.1 Particle Systems (REWATCH), 4.2 ArrayLists in Processing, 4.3 Deleting Objects from ArrayList & 4.4 Particle System Class
11/06/2020 185 minutes Particle Systems NOC: 4.4 Particle System Class (REWATCH), 4.5 Introduction to Inheritance part I & 4.6 Introduction to Inheritance part II
16/06/2020 211 minutes Particle Systems NOC: 4.7 Introduction to Polymorphism, 4.8 Applying Forces to a Particle System & 4.9 Using Image Textures with Particles
18/06/2020 303 minutes Physics Libraries NOC: 5.0.a Introduction to Physics Engines part I, 5.0.b Introduction to Physics Engines part II, 5.1 Introduction to Box2D, 5.2 What makes up a Box2D world, 5.3 Box2d Coordinates and Vectors, 5.4 Adding Box2D to Processing Sketch part I & 5.5 Adding Box2D to Processing Sketch part II (NOT FULLY DONE)
19/06/2020 245 minutes Physics Libraries NOC: 5.5 Adding Box2D to Processing Sketch part II (REWATCH) & 5.6 Static Bodies and Chain Shapes in Box2D
22/06/2020 333 minutes Physics Libraries NOC: 5.6 Static Bodies and Chain Shapes in Box2D, 5.7 Complex Shapes in Box2D & 5.17 Introduction to Matter.js (NOT FULLY DONE, 30 MIN VIDEO)
23/06/2020 350 minutes 5.17 Introduction to Matter.js, 5.18 Introduction to Matter.js Continued, 5.19 Matter.js: Deleting Bodies & 5.20 Matter.js: Constraints
Total amount in minutes Total amount in hours
3406 56

Afterword

This was a very informative project. I feel like I learned a lot about Processing as a tool, but also Object Oriented Programming in Java and in Javascript. An important point I learned that I definitely recognized myself in was finding ways to simulate what you want to see. I feel like I get lost a lot of times because I really want to make code work as accurately as possible. While sometimes 'cheating' your code to do what you like, might as well be the best option out there. We're designing and coding our prototypes, they do not need to be perfect.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published