summaryrefslogtreecommitdiff
path: root/files.c
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-08-25 22:54:10 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-08-25 22:57:33 +0100
commit0a5d5fc87cc452e9c82ff8ef91662686f9ffe283 (patch)
tree559ce98af7f10aa03578e577bc7579cdb02f00eb /files.c
parent21c03264e65042db3b5856fba8a6cd1099438f96 (diff)
downloadabelian-sandpile-0a5d5fc87cc452e9c82ff8ef91662686f9ffe283.tar.gz
abelian-sandpile-0a5d5fc87cc452e9c82ff8ef91662686f9ffe283.tar.bz2
abelian-sandpile-0a5d5fc87cc452e9c82ff8ef91662686f9ffe283.zip
~modified step,~state data is now unsigned 64 bit integer
Stopped adding a grain of sand per step. Collapsing should work properly for any amount of sand grains, regardless of whether it's 4 or 4000. Previous code fixed it at 4 always, and how it distributed was so as well. Now we distribute as much sand as we can. This comes from the idea that, instead of incrementing while rendering, let's just set some n pixels in the centre and see how the model distributes them.
Diffstat (limited to 'files.c')
0 files changed, 0 insertions, 0 deletions