Log In  


Cart #sandpiles-0 | 2021-05-11 | Code ▽ | Embed ▽ | No License
2


Play with sandpiles, mathematical constructs that have simple rules and odd properties.
Use a brush to pour sand on, or go by singular grains. Flatten to any height with the brush or using the menu. Swap out colors with the built-in palette.

Options:
❎: to brush
🅾️: to palette
arrows: select options
Brush:
❎: paint
🅾️: back
arrows: move brush
Palette:
❎: switch theme
🅾️: to options
arrows: select options

Feedback appreciated!
inspired by Numberphile

2


I'm guessing you'v watched this considering you'r interested in sand simulation but
https://www.youtube.com/watch?v=VLZjd_Y1gJ8


actually it was a numberphile video about mathematical sandpiles https://www.youtube.com/watch?v=1MtEUErz7Gg. they can end up creating neat fractal shapes. that and i think i had figured out using memcpy() to enable the whole screen to be simulated.



[Please log in to post a comment]