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