implement sin and cos table

This commit is contained in:
Simon Gardling
2021-04-22 02:36:45 -04:00
committed by Simon Gardling
parent 1a7912204a
commit 650edff95c
4 changed files with 67 additions and 9 deletions

View File

@@ -2,14 +2,14 @@ use physarum::model;
fn main() {
// # of iterations to go through
let n_iterations = 1024;
let n_iterations = 128;
// let n_iterations = 2048;
// let n_iterations = 1 << 14;
// Size of grid and pictures
// let (width, height) = (256, 256);
let (width, height) = (256, 256);
// let (width, height) = (512, 512);
let (width, height) = (1024, 1024);
// let (width, height) = (1024, 1024);
// # of agents
// let n_particles = 1 << 10;