|
1 | 1 | {
|
2 | 2 | "title": "Elastic Collisions",
|
3 | 3 | "videoNumber": "184",
|
4 |
| - "description": "", |
5 |
| - "videoId": "", |
| 4 | + "description": "What happens when two circles collide in a p5.js canvas? In this video, I examine the math and implement idealized elastic collisions in a physics simulation. This video supplements the Nature of Code book series in Chapter 6 which uses 3rd party physics libraries to handle collisions rather than a direct implementation.", |
| 5 | + "videoId": "dJNFPv9Mj-Y", |
6 | 6 | "nebulaSlug": "codingtrain-coding-challenge-184-elastic-collisions",
|
7 |
| - "date": "2024-07-12", |
| 7 | + "date": "2024-07-13", |
8 | 8 | "languages": ["p5.js", "JavaScript"],
|
9 |
| - "topics": ["elastic collisions", "physics simulation"], |
| 9 | + "topics": ["collisions", "physics simulation"], |
10 | 10 | "canContribute": true,
|
11 | 11 | "relatedChallenges": ["67-pong", "98-quadtree", "139-calculating-digits-of-pi-with-collisions", "176-buffon-needle"],
|
12 | 12 | "timestamps": [
|
|
15 | 15 | { "time": "1:22", "title": "Review background material" },
|
16 | 16 | { "time": "4:15", "title": "Collision Resolution" },
|
17 | 17 | { "time": "5:42", "title": "Start Coding" },
|
18 |
| - { "time": "8:48", "title": "Add collide function" }, |
| 18 | + { "time": "8:48", "title": "Add collide() function" }, |
19 | 19 | { "time": "10:17", "title": "Momentum and kinetic energy" },
|
20 | 20 | { "time": "14:15", "title": "Line of impact" },
|
21 | 21 | { "time": "16:44", "title": "Add the formulas" },
|
|
0 commit comments