Coding Challenge #36: Blobby!
In this coding challenge, I simulate a blob-like shape with wobbly edges using beginShape(), endShape(), polar coordinates, and perlin noise. Code: https://thecodingtrain.com/challenges/36-blobby
πΉοΈ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/L_ME8qKmQ
π₯ Previous video: https://youtu.be/BAejnwN4Ccw?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
π₯ Next video: https://youtu.be/u-HUtrpyi1c?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
π₯ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
References:
ποΈ Perlin noise Wikipedia article: https://en.wikipedia.org/wiki/Perlin_noise
π Superellipse Wikipedia article: https://en.wikipedia.org/wiki/Superellipse
Videos:
π₯ Supershapes track: https://thecodingtrain.com/tracks/supershapes
π΄ Live Stream Archive #58: https://youtu.be/_cDPN2Ief6Q?t=7399s
Related Coding Challenges:
π #19 Superellipse: https://youtu.be/z86cx2A4_3E
π #32 Agar.io: https://youtu.be/JXuxYMGe4KI
π #60 Butterfly Generator: https://youtu.be/O_0fRV4MTZo
π #136 Polar Noise Loops: https://youtu.be/ZI1dmHv3MeM
Timestamps:
0:00 Introduction to the Blobby challenge
0:30 Whiteboard explanation of ellipse vs beginShape/endShape
2:10 Into the code...using the Blob class and creating an ellipse using beginShape/endShape
4:09 Random r value to create a noisy random ellipse
5:30 Getting a blobby shape via a sine wave using the 'offset' variable
6:35 Starting to use Perlin noise
7:30 Adding in the y offset
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
#superformulas #superellipse #beginshape #endshape #vertex #perlinnoise #p5js #javascript #processing #java