https://github.com/angelogiacco/gaussianrandomwalker
A random walker built with p5.js using a gaussian distribution
https://github.com/angelogiacco/gaussianrandomwalker
p5js random-walk
Last synced: 11 months ago
JSON representation
A random walker built with p5.js using a gaussian distribution
- Host: GitHub
- URL: https://github.com/angelogiacco/gaussianrandomwalker
- Owner: AngeloGiacco
- Created: 2019-03-20T22:26:28.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-21T22:48:59.000Z (over 7 years ago)
- Last Synced: 2025-02-06T13:44:44.528Z (over 1 year ago)
- Topics: p5js, random-walk
- Language: JavaScript
- Homepage: https://angelogiacco.github.io/GaussianRandomWalker/
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GaussianRandomWalker
A random walker built with p5.js using a gaussian distribution
The random walker will have equal chance in going in different directions, but lengths are defined by a gaussian distribution
User should be able to define the distribution's parameters: mean and standard deviation
To expand the project, user could also define probabilites of the random walker going in each of the four directions
Using p5.js, this code will show a screen where a white line will display the walker going around the screen.