From 3dcdfd84c1153d0e09596589241ffe235179a4b5 Mon Sep 17 00:00:00 2001 From: Daniel Shiffman Date: Sat, 13 Jul 2024 09:30:30 +0200 Subject: [PATCH 1/2] adding elastic collisions to noc track --- content/tracks/main-tracks/the-nature-of-code-2/index.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/tracks/main-tracks/the-nature-of-code-2/index.json b/content/tracks/main-tracks/the-nature-of-code-2/index.json index e7894e159..48b54a729 100644 --- a/content/tracks/main-tracks/the-nature-of-code-2/index.json +++ b/content/tracks/main-tracks/the-nature-of-code-2/index.json @@ -1,5 +1,5 @@ { - "title": "The Nature of Code 2", + "title": "The Nature of Code", "date": "2020-02-15", "playlistId": "PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM", "description": "Can the unpredictable evolutionary and emergent properties of nature be captured in software? Can understanding the mathematical principles behind the physical world help to create digital worlds? This learning playlist focuses on the programming strategies and techniques behind computer simulations of natural systems. I'll explore topics ranging from basic mathematics and physics concepts to more advanced simulations of complex systems. Subjects covered include physics simulation, trigonometry, self-organization, genetic algorithms, and neural networks. This track accompanies https://natureofcode.com/", @@ -72,6 +72,7 @@ { "title": "Physics Libraries", "videos": [ + "challenges/184-elastic-collisions", "noc/6-physics-libraries/1-matterjs-introduction", "noc/6-physics-libraries/2-matterjs-introduction-continued", "noc/6-physics-libraries/3-matterjs-deleting-bodies", From 9b6a21a0544b1b9701de69e31c46005ef6cdac9b Mon Sep 17 00:00:00 2001 From: Daniel Shiffman Date: Sat, 13 Jul 2024 09:32:34 +0200 Subject: [PATCH 2/2] adding JavaScript to description --- content/videos/challenges/184-elastic-collisions/index.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/videos/challenges/184-elastic-collisions/index.json b/content/videos/challenges/184-elastic-collisions/index.json index c6d02255a..b703fb90a 100644 --- a/content/videos/challenges/184-elastic-collisions/index.json +++ b/content/videos/challenges/184-elastic-collisions/index.json @@ -1,7 +1,7 @@ { "title": "Elastic Collisions", "videoNumber": "184", - "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.", + "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 JavaScript 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.", "videoId": "dJNFPv9Mj-Y", "nebulaSlug": "codingtrain-coding-challenge-184-elastic-collisions", "date": "2024-07-12",