Algorithms until now!
- Randomness - ???
- Velocity → add a distance to your current position at every frame
- Acceleration → add a velocity to your current velocity at specific times (result of force in some way).
- Force → If there’s a force applied, change the velocity (acceleration is a step in between) A = f/m. (take the mass into consideration)
- Attraction forces → A flavor of force. Intentional type of force.
Coding example for Cell Genetic Algorithm by Lenin
https://editor.p5js.org/lac567/sketches/6G0zn-WaQ