Coding Challenge #28: Metaballs

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



Category:
Tutorial
Duration: 23:48
163,406 views
3,457


Let's code some Metaballs (aka Isosurfaces) in Processing and how to control them using the Blob Detection methodology from my computer vision tutorial! Code: https://thecodingtrain.com/challenges/28-metaballs

đŸ•šī¸ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/ISPozOLXW

đŸŽĨ Previous video: https://youtu.be/CKeyIbT3vXI?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
đŸŽĨ Next video: https://youtu.be/bGz7mv2vD6g?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
đŸŽĨ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH

References:
📰 Exploring Meta-balls and Isosurfaces in 2D: https://www.gamedev.net/articles/programming/graphics/exploring-metaballs-and-isosurfaces-in-2d-r2556

Videos:
🔴 Livestream Archive: https://youtu.be/3xNv10FglGc

Related Coding Challenges:
🚂 #C4 - Coding in the Cabana Worley Noise: https://youtu.be/4066MndcyCk
🚂 #C5 - Coding in the Cabana Marching Squares: https://youtu.be/0ZONMNUKTfU

Timestamps:
00:00 Introduction
00:46 What is an Isosurface?
01:33 Code! Working with Pixels
02:35 Make a simple Isosurface
02:58 How to make Metaballs?
04:36 Code! Create a Blob class
07:43 Make the Blob move around
09:03 Create an Array of Blobs
10:37 Color pixels using all the Blobs
12:19 Add more Blobs
13:07 Make the Blobs Rainbow colored
14:14 Example of Blob Tracking
15:12 Combine Blob Tracking with Metaballs
19:32 Making some adjustments
21:07 Other ways to Move these Metaballs
21:51 Fixing a Bug

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://discord.gg/hPuGy2g
💖 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

#computervision #blobdetection #loadpixels #pixelanalysis #objecttracking #metaballs #isosurfaces #processing







Tags:
coding
challenge
processing
coding challenge
tutorial
creative coding
programming challenge
daniel shiffman
code
computer
processing tutorial
programming
java
computer vision
blob detection
image processing
loadpixels
pixel analysis
object tracking
metaballs
meta-balls
metaball
meta-ball
isosurfaces