Coding Marching Squares

Coding Marching Squares

Subscribers:
1,740,000
Published on ● Video Link: https://www.youtube.com/watch?v=0ZONMNUKTfU



Duration: 26:28
155,737 views
6,787


In this episode of Coding in the Cabana, Gloria Pickle and I investigate the Marching Squares algorithm and apply it to Open Simplex Noise in Processing. Code: https://thecodingtrain.com/challenges/c5-marching-squares

p5.js Web Editor Sketches:
πŸ•ΉοΈ Color: https://editor.p5js.org/codingtrain/sketches/hERGV3q_u
πŸ•ΉοΈ Worley Noise: https://editor.p5js.org/codingtrain/sketches/JzvYF8WwT
πŸ•ΉοΈ Image: https://editor.p5js.org/codingtrain/sketches/qThqi4OfJ
πŸ•ΉοΈ Webcam: https://editor.p5js.org/codingtrain/sketches/0XAj0DRD2
πŸ•ΉοΈ Metaballs: https://editor.p5js.org/codingtrain/sketches/wwB-AA4i-
πŸ•ΉοΈ Cave Generation: https://editor.p5js.org/codingtrain/sketches/z4U3Luf7o
πŸ•ΉοΈ Metaballs Interpolation: https://editor.p5js.org/codingtrain/sketches/hEB4588QC
πŸ•ΉοΈ OpenSimplex Interpolation: https://editor.p5js.org/codingtrain/sketches/18cjVoAX1

πŸŽ₯ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH

References:
πŸ““ Marching cubes: A high resolution 3D surface construction algorithm: https://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.132.3930
πŸ““ Metaballs and Marching Squares: http://jamie-wong.com/2014/08/19/metaballs-and-marching-squares/
πŸ—„ Marching squares (Wikipedia): https://en.wikipedia.org/wiki/Marching_squares
πŸ’Ύ OpenSimplexNoise-for-Processing (GitHub Repo): https://github.com/CodingTrain/OpenSimplexNoise-for-Processing
πŸ’Ύ Open Simplex Noise in Java: https://gist.github.com/KdotJPG/b1270127455a94ac5d19

Videos:
πŸŽ₯ Coding Adventure: Marching Cubes: https://youtu.be/M3iI2l0ltbE
πŸŽ₯ [Unity] Procedural Cave Generation (E02. Marching Squares): https://youtu.be/yOgIncKp0BE
πŸŽ₯ Coding Challenge #28 - Metaballs: https://www.youtube.com/watch?v=ccYLb7cLB1I
πŸŽ₯ What is OpenSimplex Noise?: https://www.youtube.com/watch?v=Lv9gyZZJPE0
πŸŽ₯ Coding in the Cabana #4 - Worley Noise: https://thecodingtrain.com/challenges/c4-worley-noise
πŸŽ₯ 2D Noise - Perlin Noise and p5.js Tutorial: https://thecodingtrain.com/tracks/the-nature-of-code-2/noc/perlin/perlin-noise-and-p5js-tutorial-intro

Related Coding Challenges:
πŸš‚ #28 Metaballs: https://youtu.be/ccYLb7cLB1I
πŸš‚ #C4 Worley Noise: https://youtu.be/4066MndcyCk

Timestamps:
0:00 Marching Squares
3:35 Creating a 2D Grid
6:18 Visualizing Isolines
13:46 Adding Lines
17:29 Using Noise to Generate Points
21:18 OpenSimplex Noise in 3D
23:32 Next Ideas and Linear Interpolation
25:38 Goodbyes

Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound

πŸš‚ Website: http://thecodingtrain.com/
πŸ‘Ύ Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide
🚩 Suggest Topics: https://github.com/CodingTrain/Suggestion-Box
πŸ’‘ GitHub: https://github.com/CodingTrain
πŸ’¬ Discord: https://thecodingtrain.com/discord
πŸ’– Membership: http://youtube.com/thecodingtrain/join
πŸ›’ Store: https://standard.tv/codingtrain
πŸ–‹οΈ Twitter: https://twitter.com/thecodingtrain
πŸ“Έ Instagram: https://www.instagram.com/the.coding.train/

πŸŽ₯ Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
πŸŽ₯ Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

πŸ”— p5.js: https://p5js.org
πŸ”— p5.js Web Editor: https://editor.p5js.org/
πŸ”— Processing: https://processing.org

πŸ“„ Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct

This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecodingtrain.com/issues/new

#marchingsquares #metaballs #worleynoise #isolines #noise #grid #processing

Sebastian Lague cave code ported by David Snyder
Music by Epidemic Sound: http://epidemicsound.com/creator







Tags:
marching squares
marching cubes
perlin noise
open simplex noise
metaballs
processing
java
JavaScript
p5.js
algorithm
marching squares algorithm
coding in the cabana
coding train
daniel shiffman
dan shiffman
coding tutorial
creative coding