Skip to content
This repository was archived by the owner on Jul 5, 2022. It is now read-only.

Commit c97e451

Browse files
authored
Adding mutual attraction example (#3543)
Link to demo: https://editor.p5js.org/Codefish/full/jjeVYNiS8
1 parent 375f617 commit c97e451

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

_learning/nature-of-code/2.5-gravitational-attraction.md

+5
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ contributions:
2929
name: "pieterdeschepper"
3030
url: https://editor.p5js.org/pieterdeschepper/full/jO4MshjJs
3131
source: https://editor.p5js.org/pieterdeschepper/sketches/jO4MesshjJs
32+
- title: "Mutual Attraction"
33+
author:
34+
name: "codefish"
35+
url: https://editor.p5js.org/Codefish/full/jjeVYNiS8
36+
source: https://editor.p5js.org/Codefish/sketches/jjeVYNiS8
3237
---
3338

3439
In this video, I demonstrate how to apply Newton's Law of Universal Gravitation in p5.js using vectors and forces.

0 commit comments

Comments
 (0)