Sand Art in p5.js - Sandpiles Fractal Images

Subscribers:
6,610
Published on ● Video Link: https://www.youtube.com/watch?v=ynBmNteZMw4



Duration: 14:29
672 views
21


Sandpiles makes fractal images with rules similar to Conway's Game of Life. We're back coding in p5.js. I show Dan Shiffman / Coding Train's sandpiles code and modify it to start with a rectangle or a circle. Inspired also by Numberphile's sandpiles video.

Sandpiles original by Shiffman:
https://editor.p5js.org/codingtrain/sketches/47dTVFxuB

Sandpiles with rectangle start:
https://editor.p5js.org/StevesMakerspace/sketches/bfokxDcf6

Sandpiles with circle start:
https://editor.p5js.org/StevesMakerspace/sketches/3GWoAV8pe

Coding Train Sandpiles video:
https://www.youtube.com/watch?v=diGjw5tghYU

Numberphile Sandpiles video:
https://www.youtube.com/watch?v=1MtEUErz7Gg&t=0s

Join my Discord: https://discord.gg/FSW6zzU

Follow me on Twitter: https://twitter.com/SteveMakerspace

Music:
Funk Down (Sting) by MK2 (theme)
Delta by TrackTribe
Blues Infusion by Quincas Moreira
Funk it Up Old School by Media Rights Production
Rhythm Changes by John Deley and the 41 Players
Saturday Groove by John Deley
Hold on a Second by John Deley and the 41 Players







Tags:
p5js
coding in p5js
daniel shiffman
the coding train
pattern maker
kaleidoscope
coding pattern maker
p5js pattern maker
numberphile
numberphile sandpiles
coding train sandpiles
sandpiles
sandpiles art
sandpiles coding
p5js sandpiles
game of life
conway's game of life
game of life coding
conway's game of life coding