Skip to content

Commit 9881697

Browse files
authored
Merge pull request #1391 from CodingTrain/more-falling-sand
Minor edits to falling sand page
2 parents 47bad48 + 2007f42 commit 9881697

File tree

10 files changed

+15
-13
lines changed

10 files changed

+15
-13
lines changed

content/pages/challenges/index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"title": "Challenges",
33
"description": "Ready to apply what you’ve learned in the Tracks? Try a Challenge! These one-off project videos build off concepts introduced in Tracks and may have prerequisites (listed on the challenge page itself).",
44
"featuredText": "Featured Challenge:",
5-
"featuredChallenge": "179-wolfram-ca"
5+
"featuredChallenge": "180-falling-sand"
66
}

content/pages/homepage/index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"featured": [
3434
"179-wolfram-ca",
3535
"166-image-to-ascii",
36-
"9-solar-system-3d-textures",
36+
"180-falling-sand",
3737
"172-directional-boring",
3838
"88-snowfall",
3939
"168-the-mandelbulb"

content/videos/challenges/102-2d-water-ripple/index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"languages": ["Processing"],
88
"topics": ["2D water ripple", "cellular automaton", "pixels"],
99
"canContribute": true,
10-
"relatedChallenges": ["24-perlin-noise-flow-field", "85-the-game-of-life", "103-fire-effect"],
10+
"relatedChallenges": ["24-perlin-noise-flow-field", "85-the-game-of-life", "103-fire-effect", "179-wolfram-ca", "180-falling-sand"],
1111
"timestamps": [
1212
{ "time": "0:00", "title": "Introduction" },
1313
{ "time": "0:54", "title": "2D water ripples algorithm" },

content/videos/challenges/107-sandpiles/index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"languages": ["p5.js", "Processing"],
88
"topics": ["sandpile model", "cellular automaton", "grid"],
99
"canContribute": true,
10-
"relatedChallenges": ["89-langtons-ant", "85-the-game-of-life", "102-2d-water-ripple"],
10+
"relatedChallenges": ["89-langtons-ant", "85-the-game-of-life", "102-2d-water-ripple", "180-falling-sand"],
1111
"timestamps": [
1212
{ "time": "0:00", "title": "Introducing today's topic" },
1313
{ "time": "1:02", "title": "The \"sandpile\" algorithm" },

content/videos/challenges/119-binary-to-decimal-conversion/index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"languages": ["JavaScript", "p5.js"],
88
"topics": ["binary numbers", "base conversion", "math"],
99
"canContribute": true,
10-
"relatedChallenges": ["117-seven-segment-display", "120-bit-shifting"],
10+
"relatedChallenges": ["117-seven-segment-display", "120-bit-shifting", "179-wolfram-ca"],
1111
"timestamps": [
1212
{ "time": "0:00", "title": "Introduction" },
1313
{ "time": "1:08", "title": "Understanding the base of a number system" },

content/videos/challenges/13-reaction-diffusion/index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"languages": ["JavaScript", "p5.js"],
99
"topics": ["math", "reaction diffusion"],
1010
"canContribute": true,
11-
"relatedChallenges": ["85-the-game-of-life", "90-dithering", "103-fire-effect"],
11+
"relatedChallenges": ["85-the-game-of-life", "90-dithering", "103-fire-effect", "180-falling-sand", "179-wolfram-ca"],
1212
"timestamps": [
1313
{ "time": "0:00", "title": "Introducing today's topic" },
1414
{ "time": "0:36", "title": "The Gray-Scott model" },

content/videos/challenges/180-falling-sand/index.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"nebulaSlug": "codingtrain-coding-challenge-180-falling-sand",
77
"date": "2024-01-21",
88
"languages": ["p5.js", "JavaScript"],
9-
"topics": ["pixels", "simulation", "fluid simulation", "sandpile model", "generative art"],
9+
"topics": ["pixels", "simulation", "falling sand", "fluid simulation", "sandpile model", "generative art"],
1010
"canContribute": true,
1111
"relatedChallenges": ["179-wolfram-ca", "85-the-game-of-life", "107-sandpiles", "132-fluid-simulation", "102-2d-water-ripple"],
1212
"timestamps": [
@@ -32,7 +32,7 @@
3232
],
3333
"codeExamples": [
3434
{
35-
"title": "Falling Sand Simulation",
35+
"title": "Falling Sand",
3636
"description": "Implementation of a Falling Sand Simulation",
3737
"image": "p5-example.jpg",
3838
"urls": {
@@ -66,9 +66,9 @@
6666
},
6767
{
6868
"icon": "🔗",
69-
"title": "Making a falling sand simulator by Jason McGhee",
69+
"title": "Making a falling sand simulator",
7070
"url": "https://jason.today/falling-sand",
71-
"description": "Tutorial about making the same kind of simulation with 5p.js"
71+
"description": "Tutorial about making the same kind of simulation with p5.js by Jason McGhee"
7272
},
7373
{
7474
"icon": "📕",

content/videos/challenges/85-the-game-of-life/index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"languages": ["JavaScript", "p5.js"],
88
"topics": ["Conway's Game of Life", "cellular automaton", "modulo operator"],
99
"canContribute": true,
10-
"relatedChallenges": ["89-langtons-ant", "107-sandpiles", "102-2d-water-ripple"],
10+
"relatedChallenges": ["89-langtons-ant", "107-sandpiles", "102-2d-water-ripple", "179-wolfram-ca", "180-falling-sand"],
1111
"timestamps": [
1212
{ "time": "0:00", "title": "Introduction" },
1313
{ "time": "2:00", "title": "Generations" },

content/videos/challenges/89-langtons-ant/index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"languages": ["Processing", "Java"],
88
"topics": ["Langton's ant", "cellular automaton"],
99
"canContribute": true,
10-
"relatedChallenges": ["85-the-game-of-life", "102-2d-water-ripple"],
10+
"relatedChallenges": ["85-the-game-of-life", "102-2d-water-ripple", "179-wolfram-ca", "180-falling-sand"],
1111
"timestamps": [
1212
{ "time": "0:00", "title": "Introduction and setup code!" },
1313
{

content/videos/pixels/painting-with-pixels/index.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
"78-simple-particle-system",
1414
"90-dithering",
1515
"102-2d-water-ripple",
16-
"132-fluid-simulation"
16+
"132-fluid-simulation",
17+
"179-wolfram-ca",
18+
"180-falling-sand"
1719
],
1820
"timestamps": [
1921
{

0 commit comments

Comments
 (0)