summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-08-25(main|file-handler)~fixed some stuffAryadev Chavali
Big bug with file handler: I can write data well, but reading it causes some trace error which I cannot be bothered to fix. So I'll just work on making the step function way more efficient.
2023-08-25(file-handler)+implemented write_to_fileAryadev Chavali
First line is the data width, then the sand particles of each cell per row.
2023-08-25(file-handler)+impl file for file handlingAryadev Chavali
In particular I've implemented a standardised complete FILE * reader without relying on fseek (which may not work for pipes).
2023-08-25(main~>lib.h)+header for data structures,~migrate lib.hAryadev Chavali
+some file handlers for writing and reading (may help with very large renders by doing them piecemeal when I can)
2023-08-25(main)+threading for stepsAryadev Chavali
Doing this experiment with threads shows a strong improvement in render speed by separating "steps" from the direct render.
2023-08-25(main)~fixed bug with zooming out too farAryadev Chavali
Stopped presenting the simulation after a while.
2023-08-25(main)+zoom in and out by keyboard,+translation by mouseAryadev Chavali
2023-08-25(main)+cameraAryadev Chavali
This will be useful for zooming in.
2023-08-25(main)+colouring for differing sandpile proportionsAryadev Chavali
Based on Wikipedia page colouring.
2023-08-25(main)+state data structure and iteration logicAryadev Chavali
Per iteration, increment the centre of the grid, and perform any collapsing necessary (if >= 4 then sand pile "collapses" onto its cardinal directions).
2023-08-25INITIALAryadev Chavali
Simple hello world in raylib, with a Makefile to do the compilation for me!