Let's attempt to create a snowfall simulation using p5.js, sprite sheets and Perlin noise wind! Code: thecodingtrain.com/challenges...
🕹️ p5.js Web Editor Sketch: editor.p5js.org/codingtrain/s...
🎥 Previous video: • Coding Challenge #87: ...
🎥 Next video: • Coding Challenge #89: ...
🎥 All videos: • Coding Challenges
References:
🖊️ Alca's Snowflakes Codepen: codepen.io/Alca/pen/ppEgxb
📖 p5.js reference: p5js.org/reference/
Videos:
🔴 Coding Train Live 112: • Coding Train Live 112:...
Related Coding Challenges:
🚂 #128 SketchRNN Snowflakes with ml5.js: • Coding Challenge #128:...
🚂 #155 Kaleidoscope Snowflake #SupportP5: • Coding Challenge #155:...
🚂 #127 Brownian Tree Snowflake: • Coding Challenge #127:...
🚂 #129 Koch Fractal Snowflake: • Coding Challenge #129:...
🚂 #111 Animated Sprites: • Coding Challenge #111:...
Timestamps:
0:00 Intro
1:00 Snowflake class
2:30 Snowflake array
5:30 Gravity
10:30 Offscreen
17:15 Pick 2 Random Numbers
25:00 Pick 1 Random Number
36:57 Change Angle
40:12 Noise Wind
Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound
🚂 Website: thecodingtrain.com/
👾 Share Your Creation! thecodingtrain.com/guides/pas...
🚩 Suggest Topics: github.com/CodingTrain/Sugges...
💡 GitHub: github.com/CodingTrain
💬 Discord: thecodingtrain.com/discord
💖 Membership: ru-vid.comjoin
🛒 Store: standard.tv/codingtrain
🖋️ Twitter: / thecodingtrain
📸 Instagram: / the.coding.train
🎥 Coding Challenges: • Coding Challenges
🎥 Intro to Programming: • Start learning here!
🔗 p5.js: p5js.org
🔗 p5.js Web Editor: editor.p5js.org/
🔗 Processing: processing.org
📄 Code of Conduct: github.com/CodingTrain/Code-o...
This description was auto-generated. If you see a problem, please open an issue: github.com/CodingTrain/thecod...
#snowfall #snowflake #perlinnoise #wind #christmas #p5js #javascript
31 июл 2024