https://github.com/solarliner/purescript-p5
Idiomatic PureScript wrapper over p5.js
https://github.com/solarliner/purescript-p5
Last synced: 4 months ago
JSON representation
Idiomatic PureScript wrapper over p5.js
- Host: GitHub
- URL: https://github.com/solarliner/purescript-p5
- Owner: SolarLiner
- License: mit
- Created: 2020-08-12T21:37:52.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-16T08:43:15.000Z (almost 6 years ago)
- Last Synced: 2025-07-22T08:24:05.231Z (11 months ago)
- Language: PureScript
- Size: 133 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# purescript-p5
Idiomatic PureScript wrapper over p5.js. [GitHub starter template](https://github.com/SolarLiner/purescript-p5-template)
This project attempts to provide easy-to-use bindings to the `p5.js` project, in a way that remains easy to learn but still is idiomatic.
Instead of wrapping every `p5` function 1:1, this library wires in existing libraries (e.g. `purescript-color` and `purescript-sized-vectors`) instead of wrapping p5 implementations.
## Running the examples
First, build the example with spago (`spago build`), and then bundle the `index.html` file using any compatible bundler (for example Parcel).