r/WatchPeopleCode • u/ignotos Streamer • Sep 07 '20
Coding From Scratch - Falling Sand Simulation
4
u/ignotos Streamer Sep 07 '20
This week's project was a falling sand simulation. You can place down the materials with the mouse (water, sand, gasoline, and fire), and play around with them as they react according to a cellular automata / physics simulation. The code is quite simple, but it produces some really neat effects, and is quite satusfying to mess around with.
The whole development process was recorded here: https://www.twitch.tv/videos/733171295 (code is also linked there)
You can also check us out over on Twitch (https://twitch.tv/StrayBasilisk) if you'd like to participate in future streams. Let me know if there are any other projects you'd like us to try and put together on-stream!
Made with Processing/Java.
2
u/seriouslulz Sep 07 '20
Couldn't find a link to the code, could you share it here?
1
2
2
12
u/Eilavamp Sep 07 '20
I used to spend hours playing with these sorts of games as a kid, so much fun. Nice work, thanks for sharing!