Commit Graph

13 Commits

Author SHA1 Message Date
Aryadev Chavali
0bba1894dc neighbour based algorithm for threads
It does seem to affect since sim falls into a "stable" configuration
where cells rarely change quite quickly.  I'm thinking of making a
better colouring algorithm to see if I can get better images.
2026-03-10 22:50:38 +00:00
Aryadev Chavali
0e1229569a simulation: added TODO regarding choosing neighbours for p2 2026-03-10 22:21:43 +00:00
Aryadev Chavali
fabd593eff main: threaded simulation
The actual computation is embarrassingly parallelised - the only part
that requires a mutex is the picking of any two programs due to the
fact that both programs may be affected following a compute block.
This is why we do a uniqueness check in thread_pick.
2026-03-10 22:19:34 +00:00
Aryadev Chavali
30f8e65cc2 main: added pause (KEY_SPACE) and "inspect this cell" (MOUSE_BUTTON_LEFT) 2026-03-10 21:37:00 +00:00
Aryadev Chavali
6039ab720f simulation split out from main 2026-03-10 21:20:25 +00:00
Aryadev Chavali
2b8a3cbda2 main: split off program iteration to its own unit 2026-03-10 21:12:10 +00:00
Aryadev Chavali
07d9de99d7 move to src folder 2026-03-10 21:09:10 +00:00
Aryadev Chavali
24f4962d8c extracted prick into their own header files and deleted lib 2026-03-10 21:08:24 +00:00
Aryadev Chavali
f811665ae9 Basic computational life as a single file done! 2026-03-10 21:03:19 +00:00
Aryadev Chavali
87e84587d8 simulated life paper 2026-03-10 21:03:13 +00:00
Aryadev Chavali
9781384d30 added some prick libraries for useful data structures 2026-03-09 07:19:47 +00:00
Aryadev Chavali
c26e462429 basic raylib boilerplate 2026-03-09 07:19:01 +00:00
Aryadev Chavali
2d75874423 hello world 2026-03-09 07:18:48 +00:00