Coding Challenge #86: Cube Wave by Bees and Bombs
The artist BeesandBombs makes amazing algorithmic looping GIFs! Here's my attempt to recreate one of my favorite GIFs in JavaScript with p5.js and the WEBGL renderer. Code: https://thecodingtrain.com/challenges/86-cube-wave-by-bees-and-bombs
π€GIF: https://twitter.com/beesandbombs/status/940639806522085376
πΉοΈ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/lCDER-xsu
π₯ Previous video: https://youtu.be/FWSR_7kZuYg?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
π₯ Next video: https://youtu.be/r6YMKr1X0VA?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
π₯ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
References:
πΎ p5.js reference: https://p5js.org/reference/
π Bees and Bombs: https://beesandbombs.tumblr.com/
Videos:
π Simple Harmonic Motion: https://youtu.be/m463X1cqV6s
π₯ Back to School on the Coding Train: https://youtu.be/EiYhMpZ_43M
π΄ Coding Train Live 109: https://youtu.be/Gi9PuLHlzzI?t=6696s
Related Coding Challenges:
π #87 3D Knots: https://youtu.be/r6YMKr1X0VA
π #135 Making a GIF Loop in Processing: https://youtu.be/nBKwCCtWlUg
Timestamps:
0:00:00 Coding Cube Wave by Bees and Bombs
0:02:41 Applying Oscillation
0:07:43 Moving to 3D
0:11:33 Adding Perspectives and Movement
0:23:25 Applying an Offset
0:28:32 Final wave and suggestion for improvements
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
#webgl #simpleharmonicmotion #3d #beesandbombs #javascript #p5js