45 Commits

Author SHA1 Message Date
492c527498
combine: improve pointer handling 2025-03-28 17:33:26 -04:00
b8f1e28eed
tick: simplify parameter passing 2025-03-28 17:27:53 -04:00
0b3abe71ae
update deps 2025-03-28 10:41:23 -04:00
e3fff76792
Grid: inline deposit 2025-03-28 10:22:28 -04:00
b4e2390690
PopulationConfig: make fields private 2025-03-28 00:17:31 -04:00
b0c9d3888e
inline decay_factor 2025-03-28 00:17:05 -04:00
f32315cb5d
cleanup imports 2025-03-27 23:52:23 -04:00
d7284fcd37
Grid: remove unneeded test 2025-03-27 14:58:42 -04:00
eee266979c
proper doc comments 2025-03-27 14:53:36 -04:00
50e85dec90
Grid: remove unneeded power of two restriction 2025-03-27 14:51:14 -04:00
ab70ce7f53
Grid: move around unsafe block 2025-03-27 14:45:14 -04:00
985fb73042
Grid: make buf and blur private 2025-03-27 14:40:22 -04:00
a8fc644d6c
replace common index code 2025-03-27 14:37:36 -04:00
d1f515b17d
cleanup Buf struct 2025-03-27 14:35:54 -04:00
75fab93907
cleanup 2025-03-27 14:25:42 -04:00
9881502002
grid: avoid clone of buffer 2025-03-27 14:19:01 -04:00
735a820799
rely on deriving traits instead 2025-03-24 16:43:03 -04:00
f0d4e883f6
cargo fmt 2025-03-24 16:27:11 -04:00
3a9940dfba
grid: fix test 2025-03-24 16:27:02 -04:00
c097446df4
Revert "implement sin and cos table"
This reverts commit 650edff95cef8b44e2c94489fa0d40e0c51ad3d2.
2025-03-24 16:23:07 -04:00
Simon Gardling
650edff95c
implement sin and cos table 2025-03-24 16:22:33 -04:00
Simon Gardling
1a7912204a update 2021-04-22 01:25:49 -04:00
Simon Gardling
bff0f8faf1 things 2021-04-05 12:55:06 -04:00
Simon Gardling
af0b9f9222 make seperate struct for buffer 2021-04-01 13:56:10 -04:00
Simon Gardling
d09c8e9c9a things 2021-04-01 13:02:37 -04:00
Simon Gardling
4864ccae75 BIG rewrite and changes (too many to list) 2021-04-01 11:24:29 -04:00
Simon Gardling
29d3b387dc cleanup and comment out unused functions 2021-04-01 10:45:09 -04:00
Simon Gardling
41ba5f248c restructuring 2021-04-01 10:33:05 -04:00
Simon Gardling
953c540263 store agents in grids, not model 2021-04-01 09:28:43 -04:00
Simon Gardling
c25b0d1795 well that didn't work 2021-04-01 01:44:54 -04:00
Simon Gardling
e163387755 this isn't good 2021-03-31 20:01:30 -04:00
Simon Gardling
99960c9523 parallel grid deposit 2021-03-31 15:48:58 -04:00
Simon Gardling
b5bc14faa3 clippy 2021-03-31 13:36:46 -04:00
Simon Gardling
32bfd1b27e fmt 2021-03-31 10:24:56 -04:00
Simon Gardling
bec6340607 cleanup 2021-03-31 10:13:06 -04:00
Simon Gardling
ef9346c701 cleanup 2021-03-29 14:31:23 +00:00
Simon Gardling
50b3f35059 a TON of stuff and changes 2021-03-26 13:44:58 +00:00
mindv0rtex
9dbe6144f0 Support multiple populations. 2021-03-02 14:40:12 -05:00
mindv0rtex
82833748f4 Bug in grid indexing. 2021-03-01 11:29:32 -05:00
mindv0rtex
5f5d198e04 First image has been generated! 2021-02-27 00:46:51 -05:00
mindv0rtex
51f10723ed Add trail deposition, diffusion and decay. 2021-02-26 20:39:27 -05:00
mindv0rtex
241e6ba6bf Parallel agents movement. 2021-02-26 14:19:05 -05:00
mindv0rtex
cbc3fcbe06 Fun with benchmarking. Reverted to using built-in trigonometric functions! 2021-02-26 11:25:54 -05:00
mindv0rtex
bb1b5ddac0 Optimize vertical box filter to iterate over rows for cache friendliness. 2021-02-25 15:17:06 -05:00
mindv0rtex
e21a61250e Initial commit. WIP blur implementation. Grid struct is tentatively ready. Model struct is in its nascency. 2021-02-24 22:26:37 -05:00