r/WatchPeopleCode • Streamer • Sep 07 '20

Coding From Scratch - Falling Sand Simulation

118 Upvotes

8 comments sorted by

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!

4

u/ignotos Streamer Sep 07 '20

Same - this was super nostalgic for me. Glad you enjoyed it!

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?

5

u/anti-gif-bot Sep 07 '20

mp4 link


This mp4 version is 77.64% smaller than the gif (1.66 MB vs 7.44 MB).


Beep, I'm a bot. FAQ | author | source | v1.1.2

2

u/jpobiglio Sep 08 '20

Lookup how noita was made. You'll like it.

2

u/[deleted] Jan 06 '24

So much nostalgia