MENU

Fun & Interesting

Coding Marching Squares

The Coding Train 187,073 5 years ago
Video Not Working? Fix It Now

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

Comment