r/WatchPeopleCode • Streamer • Sep 07 '20

Coding From Scratch - Falling Sand Simulation

118 Upvotes

8 comments sorted by

View all comments

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?