Skip to main content
2 votes

Optimizing falling sand simulation

This is how I parallelized falling sand: The screen is divided into cells, 1 per pixel The first kernel computes the direction each sand cell wants to go. Let's call this "push". The second ...
huseyin tugrul buyukisik's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible