add gif in README.md

This commit is contained in:
Simon Gardling 2021-04-01 13:19:15 -04:00
parent d09c8e9c9a
commit d887b13579
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
![Physarum distribution](assets/frame.png) ![Physarum distribution](assets/example.gif)
I recently came across [this repo](https://github.com/fogleman/physarum) that uses Go to implement an extended version of the Physarum transport networks model, first described in: I recently came across [this repo](https://github.com/fogleman/physarum) that uses Go to implement an extended version of the Physarum transport networks model, first described in:

BIN
assets/example.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 MiB

View File

@ -2,8 +2,8 @@ use physarum::model;
fn main() { fn main() {
// # of iterations to go through // # of iterations to go through
// let n_iterations = 1024; let n_iterations = 1024;
let n_iterations = 2048; // let n_iterations = 2048;
// Size of grid and pictures // Size of grid and pictures
let (width, height) = (256, 256); let (width, height) = (256, 256);