From 0e70175f2dfd77f2c90ea4588ea363df8f9ca228 Mon Sep 17 00:00:00 2001 From: daniel Date: Fri, 26 Mar 2021 11:53:19 +0100 Subject: [PATCH 1/2] add setup steps --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8a7597e..9c2c6ea 100644 --- a/README.md +++ b/README.md @@ -12,9 +12,15 @@ https://sagejenson.com/physarum The algorithm is surprisingly simple given how complex its outputs appear. That's the magic of generative algorithms! +## Setup + + Init the module: `go mod init github.com/fogleman/physarum` + + Install the stat module : `go get github.com/gonum/stat` + ## Usage - go run cmd/physarum/main.go + `go run cmd/physarum/main.go` ## Examples From b427e7f6900e7c84f552a6af54141bdcb6247d8d Mon Sep 17 00:00:00 2001 From: H4sh3 <41166489+H4sh3@users.noreply.github.com> Date: Fri, 26 Mar 2021 11:55:09 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9c2c6ea..f09eefd 100644 --- a/README.md +++ b/README.md @@ -14,13 +14,13 @@ That's the magic of generative algorithms! ## Setup - Init the module: `go mod init github.com/fogleman/physarum` +Init the module: `go mod init github.com/fogleman/physarum` - Install the stat module : `go get github.com/gonum/stat` +Install the stat module : `go get github.com/gonum/stat` ## Usage - `go run cmd/physarum/main.go` +`go run cmd/physarum/main.go` ## Examples