Skip to content

Commit df451a6

Browse files
committed
Create index.json
1 parent dc251cc commit df451a6

File tree

1 file changed

+89
-0
lines changed
  • content/videos/challenges/184-elastic-collisions

1 file changed

+89
-0
lines changed
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
{
2+
"title": "Elastic Collisions",
3+
"videoNumber": "184",
4+
"description": "",
5+
"videoId": "",
6+
"nebulaSlug": "codingtrain-coding-challenge-184-elastic-collisions",
7+
"date": "2024-07-12",
8+
"languages": ["p5.js", "JavaScript"],
9+
"topics": ["elastic collisions", "physic's simulation"],
10+
"canContribute": true,
11+
"relatedChallenges": ["67-pong", "98-quadtree", "139-calculating-digits-of-pi-with-collisions", "176-buffon-needle"],
12+
"timestamps": [
13+
{ "time": "0:00", "title": "Introduction" },
14+
{ "time": "0:20", "title": "The Nature of Code book" },
15+
{ "time": "1:22", "title": "Review background material" },
16+
{ "time": "4:15", "title": "Collision Resolution" },
17+
{ "time": "5:42", "title": "Start Coding" },
18+
{ "time": "8:48", "title": "Add collide function" },
19+
{ "time": "10:17", "title": "Momentum and kinetic energy" },
20+
{ "time": "14:15", "title": "Line of impact" },
21+
{ "time": "16:44", "title": "Add the formulas" },
22+
{ "time": "21:25", "title": "Simplify the code" },
23+
{ "time": "22:57", "title": "Check for overlap" },
24+
{ "time": "24:31", "title": "Check the particle's kinetic enery" },
25+
{ "time": "25:48", "title": "Fix error" },
26+
{ "time": "27:30", "title": "Add more particles" },
27+
{ "time": "30:11", "title": "Optimizations" },
28+
{ "time": "30:50", "title": "Outro" }
29+
],
30+
"codeExamples": [
31+
{
32+
"title": "Elastic Collisions",
33+
"description": "Implementation of elastic collisions",
34+
"image": "img1.jpg",
35+
"urls": {
36+
"p5": "https://editor.p5js.org/codingtrain/sketches/3DrBb8LCp"
37+
}
38+
},
39+
{
40+
"title": "Elastic Collisions - Quadtree",
41+
"description": "Optimization with quadtree algorithm",
42+
"image": "img2.jpg",
43+
"urls": {
44+
"p5": "https://editor.p5js.org/codingtrain/sketches/z8n19RFz9"
45+
}
46+
}
47+
],
48+
"groupLinks": [
49+
{
50+
"title": "References",
51+
"links": [
52+
{
53+
"icon": "πŸ”—",
54+
"title": "The Nature of Code",
55+
"url": "https://nostarch.com/nature-code",
56+
"description": "The Nature of Code book (2024 p5.js edition) is now available for pre-order!"
57+
},
58+
{
59+
"icon": "πŸ”—",
60+
"title": "Elastic Collision",
61+
"url": "https://en.wikipedia.org/wiki/Elastic_collision",
62+
"description": "Uncyclopedia article discussing elastic collisions."
63+
},
64+
{
65+
"icon": "πŸ”—",
66+
"title": "",
67+
"url": "",
68+
"description": ""
69+
},
70+
{
71+
"icon": "πŸ”—",
72+
"title": "",
73+
"url": "",
74+
"description": ""
75+
}
76+
]
77+
}
78+
],
79+
"credits": [
80+
{
81+
"title": "Editing",
82+
"name": "Mathieu Blanchette"
83+
},
84+
{
85+
"title": "Animations",
86+
"name": "Jason Heglund"
87+
}
88+
]
89+
}

0 commit comments

Comments
Β (0)