This is the Coding Challenge #24: Perlin Noise Flow Field written in Reasonml + Reprocessing.
- G: Toggle grid view on and off
- C: Toggle drawing with colors
- R: Restart the particles and generate a new field
git clone https://github.com/ekosz/reprocessing-example-flow-field.git
npm install
npm run build
npm start
To build to JS run npm run build:web
and then run a static server, like python -m SimpleHTTPServer
and go to localhost:8000
. If you're using safari you can simply open the index.html
and tick Develop > Disable Cross-Origin Restrictions
.
To build to native run npm run build:native
and run npm run start:native
The build system used is bsb-native.