Skip to content

Commit 418d020

Browse files
authored
Merge pull request #628 from CodingTrain/feature/more-testing
Feature/more testing
2 parents a322ead + e957887 commit 418d020

File tree

244 files changed

+2035
-2314
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

244 files changed

+2035
-2314
lines changed

_CodingChallenges/001-starfield.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ video_id: 17WoOqgXsRM
77
repository: /CC_001_StarField
88
live_example: /CC_001_StarField_p5.js
99
links:
10-
- title: "Code inspired by CS Department of Bryn Mawr College"
11-
url: "https://cs.brynmawr.edu/gxk2013/examples/transformations/starfield/"
10+
- title: "Code inspired by CS Department of Bryn Mawr College"
11+
url: "https://cs.brynmawr.edu/gxk2013/examples/transformations/starfield/"
1212

1313
contributions:
1414
- title: "Swifty Starfield"
@@ -21,8 +21,6 @@ contributions:
2121
name: "JurriaanD"
2222
url: "http://projects.jurriaan.be/starfield/"
2323
url: "https://github.com/JurriaanD/Starfield"
24-
2524
---
2625

2726
This is the first in a new series of videos. In this video I attempt to program a "star field" or "warp speed" visualization in Processing.
28-

_CodingChallenges/002-mengersponge.md

+7-9
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,20 @@ repository: /CC_002_MengerSponge
88
live_example: /CC_002_MengerSponge_p5.js
99

1010
links:
11-
- title: "Menger Sponge on Wikipedia"
12-
url: "https://en.wikipedia.org/wiki/Menger_sponge"
13-
- title: "P3D Tutorial"
14-
author: "Daniel Shiffman"
15-
url: "https://processing.org/tutorials/p3d/"
16-
- title: "ArrayList in Processing"
17-
url: "https://processing.org/reference/ArrayList.html"
11+
- title: "Menger Sponge on Wikipedia"
12+
url: "https://en.wikipedia.org/wiki/Menger_sponge"
13+
- title: "P3D Tutorial"
14+
author: "Daniel Shiffman"
15+
url: "https://processing.org/tutorials/p3d/"
16+
- title: "ArrayList in Processing"
17+
url: "https://processing.org/reference/ArrayList.html"
1818

1919
contributions:
2020
- title: "Swifty Menger sponge"
2121
author:
2222
name: "Bob Voorneveld"
2323
url: "https://www.bobvoorneveld.nl"
2424
source: "https://github.com/bobvoorneveld/Coding-Challenges/tree/master/CC002-Menger%20Sponge%20Fractal"
25-
2625
---
2726

2827
In this coding challenge, I attempt to code the Menger Sponge (fractals) using Processing.
29-

_CodingChallenges/003-snake-game-p5.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,14 @@ contributions:
1616
name: "Bob Voorneveld"
1717
url: https://www.bobvoorneveld.nl
1818
source: https://github.com/bobvoorneveld/Coding-Challenges/tree/master/CC003-The%20Snake%20Game"
19-
19+
2020
- title: "Snake Game"
2121
author:
2222
name: "Bruce Chen"
2323
url: https://github.com/BruceChen034020
2424
url: https://brucechen034020.github.io/SnakeGame/
2525
source: https://github.com/BruceChen034020/SnakeGame
26-
27-
26+
2827
- title: "Snake Game"
2928
author:
3029
name: "Vignesh Joglekar"

_CodingChallenges/004-purplerain.md

-6
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ date: 2016-04-25
66
video_id: KkyIDI6rQJI
77
repository: /CC_004_PurpleRain
88
live_example: /CC_004_PurpleRain_p5.js
9-
10-
11-
12-
13-
149
---
1510

1611
In this viewer submitted coding challenge, I attempt to code a Purple Rain Simulator in Processing.
17-

_CodingChallenges/005-space-invaders-p5.md

-6
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@ video_number: 5
55
date: 2016-04-26
66
video_id: biN3v3ef-Y0
77
repository: /CC_005_Space_invaders_p5.js
8-
9-
10-
11-
12-
138
---
149

1510
In this viewer submitted coding challenge, I take on the task of coding a Space Invaders game to play in browser in JavaScript/HTML and the p5.js library.
16-

_CodingChallenges/006-mitosis-p5.md

-6
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@ video_number: 6
55
date: 2016-04-27
66
video_id: jxGS3fKPKJA
77
repository: /CC_006_Mitosis_p5.js
8-
9-
10-
11-
12-
138
---
149

1510
In this viewer submitted coding challenge, I program a cellular mitosis simulation in p5.js.
16-

_CodingChallenges/007-solarsystemgenerator.md

+7-10
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,14 @@ repository: /CC_007_SolarSystemGenerator
88
live_example: /CC_007_SolarSystemGenerator_p5.js
99

1010
videos:
11-
- title: "My Video about Gravitational Attraction"
12-
video_id: "fML1KpvvQTc"
13-
11+
- title: "My Video about Gravitational Attraction"
12+
video_id: "fML1KpvvQTc"
1413

1514
parts:
16-
- title: "Solar System in Processing - Part 2 (3D)"
17-
url: "/CodingChallenges/008-solarsystemgenerator3d"
18-
- title: "Solar System in Processing - Part 3 (3D textures)"
19-
url: "/CodingChallenges/009-solarsystemgenerator3d-texture"
20-
15+
- title: "Solar System in Processing - Part 2 (3D)"
16+
url: "/CodingChallenges/008-solarsystemgenerator3d"
17+
- title: "Solar System in Processing - Part 3 (3D textures)"
18+
url: "/CodingChallenges/009-solarsystemgenerator3d-texture"
2119
---
2220

23-
In this viewer submitted coding challenge, I make a 2D Solar System Generator in Processing.
24-
21+
In this viewer submitted coding challenge, I make a 2D Solar System Generator in Processing.

_CodingChallenges/008-solarsystemgenerator3d.md

+7-9
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,15 @@ video_id: dncudkelNxw
77
repository: /CC_008_SolarSystemGenerator3D
88
live_example: false
99
links:
10-
- title: "PeasyCam library"
11-
url: "http://mrfeinberg.com/peasycam/"
12-
author: "Jonathan Feinberg"
10+
- title: "PeasyCam library"
11+
url: "http://mrfeinberg.com/peasycam/"
12+
author: "Jonathan Feinberg"
1313

1414
parts:
15-
- title: "Solar System in Processing - Part 1 (2D)"
16-
url: "/CodingChallenges/007-solarsystemgenerator"
17-
- title: "Solar System in Processing - Part 3 (3D textures)"
18-
url: "/CodingChallenges/009-solarsystemgenerator3d-texture"
19-
15+
- title: "Solar System in Processing - Part 1 (2D)"
16+
url: "/CodingChallenges/007-solarsystemgenerator"
17+
- title: "Solar System in Processing - Part 3 (3D textures)"
18+
url: "/CodingChallenges/009-solarsystemgenerator3d-texture"
2019
---
2120

2221
In the second part of this coding challenge, using Processing, I take the code from the [2D Solar System (Part 1)](https://youtu.be/l8SiJ-RmeHU) and turn it three-dimensional.
23-

_CodingChallenges/009-solarsystemgenerator3d-texture.md

+9-12
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,17 @@ video_id: FGAwi7wpU8c
77
repository: /CC_009_SolarSystemGenerator3D_texture
88
live_example: false
99
links:
10-
- title: "PeasyCam library"
11-
url: "http://mrfeinberg.com/peasycam/"
12-
author: "Jonathan Feinberg"
13-
- title: "Planet texture maps"
14-
url: "http://planetpixelemporium.com"
15-
10+
- title: "PeasyCam library"
11+
url: "http://mrfeinberg.com/peasycam/"
12+
author: "Jonathan Feinberg"
13+
- title: "Planet texture maps"
14+
url: "http://planetpixelemporium.com"
1615

1716
parts:
18-
- title: "Solar System in Processing - Part 1 (2D)"
19-
url: "/CodingChallenges/007-solarsystemgenerator"
20-
- title: "Solar System in Processing - Part 2 (3D)"
21-
url: "/CodingChallenges/008-solarsystemgenerator3d"
22-
17+
- title: "Solar System in Processing - Part 1 (2D)"
18+
url: "/CodingChallenges/007-solarsystemgenerator"
19+
- title: "Solar System in Processing - Part 2 (3D)"
20+
url: "/CodingChallenges/008-solarsystemgenerator3d"
2321
---
2422

2523
In part 3 of this coding challenge, using Processing, I add texture to the 3D objects created in [part 2](https://youtu.be/dncudkelNxw). The PShape class and createShape() functions are covered.
26-

_CodingChallenges/010.1-maze-dfs-p5.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,24 @@ date: 2016-05-03
66
video_id: HyK_Q5rrcr4
77
repository: /CC_010_Maze_DFS_p5.js
88
links:
9-
- title: "Algorithm for Maze Generators on Wikipedia"
10-
url: "https://en.wikipedia.org/wiki/Maze_generation_algorithm#Recursive_backtracker"
9+
- title: "Algorithm for Maze Generators on Wikipedia"
10+
url: "https://en.wikipedia.org/wiki/Maze_generation_algorithm#Recursive_backtracker"
1111

1212
parts:
13-
- title: "Maze Generator with p5.js - Part 2"
14-
url: "/CodingChallenges/010.2-maze-dfs-p5"
15-
- title: "Maze Generator with p5.js - Part 3"
16-
url: "/CodingChallenges/010.3-maze-dfs-p5"
17-
- title: "Maze Generator with p5.js - Part 4"
18-
url: "/CodingChallenges/010.4-maze-dfs-p5"
13+
- title: "Maze Generator with p5.js - Part 2"
14+
url: "/CodingChallenges/010.2-maze-dfs-p5"
15+
- title: "Maze Generator with p5.js - Part 3"
16+
url: "/CodingChallenges/010.3-maze-dfs-p5"
17+
- title: "Maze Generator with p5.js - Part 4"
18+
url: "/CodingChallenges/010.4-maze-dfs-p5"
1919

2020
contributions:
2121
- title: "Maze generator from all four corners of the canvas"
2222
author:
2323
name: "Ben Wegener"
2424
url: "https://codepen.io/ZwergB/"
2525
url: "https://codepen.io/ZwergB/full/OQQgdY"
26-
source: "https://codepen.io/ZwergB/pen/OQQgdY/"
26+
source: "https://codepen.io/ZwergB/pen/OQQgdY/"
2727
---
2828

2929
In Part 1 of this coding challenge, using p5.js, I create the cells which are going to become our maze.

_CodingChallenges/010.2-maze-dfs-p5.md

+8-10
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,16 @@ date: 2016-05-03
66
video_id: D8UgRyRnvXU
77
repository: /CC_010_Maze_DFS_p5.js
88
links:
9-
- title: "Algorithm for Maze Generators on Wikipedia"
10-
url: "https://en.wikipedia.org/wiki/Maze_generation_algorithm#Recursive_backtracker"
9+
- title: "Algorithm for Maze Generators on Wikipedia"
10+
url: "https://en.wikipedia.org/wiki/Maze_generation_algorithm#Recursive_backtracker"
1111

1212
parts:
13-
- title: "Maze Generator with p5.js - Part 1"
14-
url: "/CodingChallenges/010.1-maze-dfs-p5"
15-
- title: "Maze Generator with p5.js - Part 3"
16-
url: "/CodingChallenges/010.3-maze-dfs-p5"
17-
- title: "Maze Generator with p5.js - Part 4"
18-
url: "/CodingChallenges/010.4-maze-dfs-p5"
19-
13+
- title: "Maze Generator with p5.js - Part 1"
14+
url: "/CodingChallenges/010.1-maze-dfs-p5"
15+
- title: "Maze Generator with p5.js - Part 3"
16+
url: "/CodingChallenges/010.3-maze-dfs-p5"
17+
- title: "Maze Generator with p5.js - Part 4"
18+
url: "/CodingChallenges/010.4-maze-dfs-p5"
2019
---
2120

2221
In the second part of this coding challenge, using p5.js, I move through the grid created in Part 1 by evaluating which neighbouring cell will be the next one to be visited.
23-

_CodingChallenges/010.3-maze-dfs-p5.md

+8-10
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,16 @@ date: 2016-05-03
66
video_id: 8Ju_uxJ9v44
77
repository: /CC_010_Maze_DFS_p5.js
88
links:
9-
- title: "Algorithm for Maze Generators on Wikipedia"
10-
url: "https://en.wikipedia.org/wiki/Maze_generation_algorithm#Recursive_backtracker"
9+
- title: "Algorithm for Maze Generators on Wikipedia"
10+
url: "https://en.wikipedia.org/wiki/Maze_generation_algorithm#Recursive_backtracker"
1111

1212
parts:
13-
- title: "Maze Generator with p5.js - Part 1"
14-
url: "/CodingChallenges/010.1-maze-dfs-p5"
15-
- title: "Maze Generator with p5.js - Part 2"
16-
url: "/CodingChallenges/010.2-maze-dfs-p5"
17-
- title: "Maze Generator with p5.js - Part 4"
18-
url: "/CodingChallenges/010.4-maze-dfs-p5"
19-
13+
- title: "Maze Generator with p5.js - Part 1"
14+
url: "/CodingChallenges/010.1-maze-dfs-p5"
15+
- title: "Maze Generator with p5.js - Part 2"
16+
url: "/CodingChallenges/010.2-maze-dfs-p5"
17+
- title: "Maze Generator with p5.js - Part 4"
18+
url: "/CodingChallenges/010.4-maze-dfs-p5"
2019
---
2120

2221
In part 3 of the Maze Generator challenge, using p5.js, I cover steps 3 and 4 of the recursive backtracker algorithm to generate a maze: Removing walls and marking current cell as visited.
23-

_CodingChallenges/010.4-maze-dfs-p5.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ date: 2016-05-03
66
video_id: _p5IH0L63wo
77
repository: /CC_010_Maze_DFS_p5.js
88
links:
9-
- title: "Algorithm for Maze Generators on Wikipedia"
10-
url: "https://en.wikipedia.org/wiki/Maze_generation_algorithm#Recursive_backtracker"
9+
- title: "Algorithm for Maze Generators on Wikipedia"
10+
url: "https://en.wikipedia.org/wiki/Maze_generation_algorithm#Recursive_backtracker"
1111

1212
parts:
13-
- title: "Maze Generator with p5.js - Part 1"
14-
url: "/CodingChallenges/010.1-maze-dfs-p5"
15-
- title: "Maze Generator with p5.js - Part 2"
16-
url: "/CodingChallenges/010.2-maze-dfs-p5"
17-
- title: "Maze Generator with p5.js - Part 3"
18-
url: "/CodingChallenges/010.3-maze-dfs-p5"
13+
- title: "Maze Generator with p5.js - Part 1"
14+
url: "/CodingChallenges/010.1-maze-dfs-p5"
15+
- title: "Maze Generator with p5.js - Part 2"
16+
url: "/CodingChallenges/010.2-maze-dfs-p5"
17+
- title: "Maze Generator with p5.js - Part 3"
18+
url: "/CodingChallenges/010.3-maze-dfs-p5"
1919
---
2020

2121
In the final part of the Maze Generator challenge, using p5.js, I cover the concept of a "stack" and how it's going to help us generate a maze using the Depth-First Search Recursive algorithm

_CodingChallenges/011-perlinnoiseterrain.md

+6-11
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,13 @@ video_id: IKB1hWWedMk
77
repository: /CC_011_PerlinNoiseTerrain
88
live_example: /CC_011_PerlinNoiseTerrain_p5.js
99
links:
10-
- title: "beginShape() reference"
11-
url: "https://processing.org/reference/beginShape_.html"
12-
- title: "noise() reference"
13-
url: "https://processing.org/reference/noise_.html"
10+
- title: "beginShape() reference"
11+
url: "https://processing.org/reference/beginShape_.html"
12+
- title: "noise() reference"
13+
url: "https://processing.org/reference/noise_.html"
1414
videos:
15-
- title: "My Video on Perlin Noise"
16-
video_id: "8ZEMLCnn8v0"
17-
18-
19-
20-
15+
- title: "My Video on Perlin Noise"
16+
video_id: "8ZEMLCnn8v0"
2117
---
2218

2319
In this coding challenge, I create a 3D procedural terrain using Perlin Noise and the beginShape() function in Processing.
24-

_CodingChallenges/012-lorenzattractor.md

+12-17
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,18 @@ video_id: f0lkz2gSsIk
77
repository: /CC_012_LorenzAttractor
88
live_example: /CC_012_LorenzAttractor_p5.js
99
links:
10-
- title: "PeasyCam library"
11-
url: "http://mrfeinberg.com/peasycam/"
12-
author: "Jonathan Feinberg"
13-
- title: "Lorenz System on Wikipedia"
14-
url: "https://en.wikipedia.org/wiki/Lorenz_system"
15-
- title: "Lorenz Attractor"
16-
url: http://paulbourke.net/fractals/lorenz/"
17-
author: "Paul Bourke"
18-
- title: "beginShape() reference"
19-
url: "https://processing.org/reference/beginShape_.html"
20-
- title: "What is a differential equation?"
21-
url: "https://www.myphysicslab.com/explain/what-is-a-diff-eq-en.html"
22-
23-
24-
25-
10+
- title: "PeasyCam library"
11+
url: "http://mrfeinberg.com/peasycam/"
12+
author: "Jonathan Feinberg"
13+
- title: "Lorenz System on Wikipedia"
14+
url: "https://en.wikipedia.org/wiki/Lorenz_system"
15+
- title: "Lorenz Attractor"
16+
url: http://paulbourke.net/fractals/lorenz/"
17+
author: "Paul Bourke"
18+
- title: "beginShape() reference"
19+
url: "https://processing.org/reference/beginShape_.html"
20+
- title: "What is a differential equation?"
21+
url: "https://www.myphysicslab.com/explain/what-is-a-diff-eq-en.html"
2622
---
2723

2824
In this coding challenge, I show you how to visualization the Lorenz Attractor in Processing (Java).
29-

_CodingChallenges/013-reactiondiffusion-p5.md

+4-9
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,10 @@ date: 2016-05-26
66
video_id: BV9ny785UNc
77
repository: /CC_013_ReactionDiffusion_p5.js
88
links:
9-
- title: "Karl Sims' Reaction Diffusion Tutorial"
10-
url: "http://karlsims.com/rd.html"
11-
- title: "2D Array Tutorial"
12-
url: "https://processing.org/tutorials/2darray/"
13-
14-
15-
16-
9+
- title: "Karl Sims' Reaction Diffusion Tutorial"
10+
url: "http://karlsims.com/rd.html"
11+
- title: "2D Array Tutorial"
12+
url: "https://processing.org/tutorials/2darray/"
1713
---
1814

1915
In this coding challenge, I use the p5.js library to make a visual representation of the Reaction Diffusion Algorithm.
20-

0 commit comments

Comments
 (0)