Coding Challenge #88: Snowfall

Subscribers:
1,750,000
Published on ● Video Link: https://www.youtube.com/watch?v=cl-mHFCGzYk



Duration: 52:33
166,519 views
3,653


Let's attempt to create a snowfall simulation using p5.js, sprite sheets and Perlin noise wind! Code: https://thecodingtrain.com/challenges/88-snowfall

๐Ÿ•น๏ธ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/UMUPBVuH5

๐ŸŽฅ Previous video: https://youtu.be/r6YMKr1X0VA?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
๐ŸŽฅ Next video: https://youtu.be/G1EgjgMo48U?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
๐ŸŽฅ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH

References:
๐Ÿ–Š๏ธ Alca's Snowflakes Codepen: https://codepen.io/Alca/pen/ppEgxb
๐Ÿ“– p5.js reference: https://p5js.org/reference/

Videos:
๐Ÿ”ด Coding Train Live 112: https://www.youtube.com/watch?v=dEWmwQMKgIk?t=2192s

Related Coding Challenges:
๐Ÿš‚ #128 SketchRNN Snowflakes with ml5.js: https://youtu.be/pdaNttb7Mr8
๐Ÿš‚ #155 Kaleidoscope Snowflake #SupportP5: https://youtu.be/R3C2giDfmO8
๐Ÿš‚ #127 Brownian Tree Snowflake: https://youtu.be/XUA8UREROYE
๐Ÿš‚ #129 Koch Fractal Snowflake: https://youtu.be/X8bXDKqMsXE
๐Ÿš‚ #111 Animated Sprites: https://youtu.be/3noMeuufLZY

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: 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

#snowfall #snowflake #perlinnoise #wind #christmas #p5js #javascript







Tags:
JavaScript (Programming Language)
live
programming
daniel shiffman
creative coding
coding challenge
tutorial
coding
challenges
coding train
the coding train
live stream
itp nyu
class
3d animation javascript
p5.js
p5.js tutorial
snow
snow simulation
snowflakes
nature of code
spritesheet
sprite sheet