11:42Coding Challenge #127: Brownian Tree Snowflake
From the creator
In this holiday coding challenge, I create a "Brownian Tree Snowflake" in Processing (Java). This video was recorded as part of a fundraiser for the Processing Foundation. Code: https://thecodingtrain.com/challenges/127-brownian-tree-snowflake 🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/SJcAeCpgE 🎥 Previous video: https://youtu.be/-OL_sw2MiYw?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH 🎥 Next video: https://youtu.be/pdaNttb7Mr8?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH 🎥 All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH References: 💰 Support the Processing Foundation: https://processingfoundation.org/support/ 💾 Code Golf - Draw a Snowflake: https://codegolf.stackexchange.com/questions/42506/draw-a-snowflake ❄️ Snowflake: https://www.flickr.com/photos/golanlevin/sets/72157594387404319 Live Stream Archive: 🔴 Coding Train Live Holiday Telethon 2018: https://youtu.be/WACLmPBxMaw?t=2392s Related Coding Challenges: 🚂 #34 Diffusion-Limited Aggregation: https://youtu.be/Cl_Gjj80gPE 🚂 #52 Random Walker: https://youtu.be/l__fEY1xanY 🚂 #128 SketchRNN Snowflakes with ml5.js: https://youtu.be/pdaNttb7Mr8 🚂 #129 Koch Fractal Snowflake: https://youtu.be/X8bXDKqMsXE 🚂 #155 Kaleidoscope Snowflake #SupportP5: https://youtu.be/R3C2giDfmO8 Timestamps: 0:00 Introduction 0:51 Brownian tree 1:46 Diffusion Limited Aggregation 2:18 Snowflakes have a hexagonal pattern 3:52 Create a Particle class 4:52 Add a random walk to the particle 6:1
Published 2018-12-24 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.





