Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rrrnld/poisson
https://www.youtube.com/watch?v=flQgnCUxHlw w/ quil-cljs
https://github.com/rrrnld/poisson
Last synced: 27 days ago
JSON representation
https://www.youtube.com/watch?v=flQgnCUxHlw w/ quil-cljs
- Host: GitHub
- URL: https://github.com/rrrnld/poisson
- Owner: rrrnld
- License: wtfpl
- Created: 2018-06-25T12:22:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-06T08:31:45.000Z (over 6 years ago)
- Last Synced: 2024-11-06T06:42:47.260Z (3 months ago)
- Language: Clojure
- Homepage: https://heyarne.github.io/poisson
- Size: 910 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# poisson
A Quil sketch implementing poisson disk sampling as described by the always wonderful Daniel Shiffman on [Coding Train](https://www.youtube.com/watch?v=flQgnCUxHlw).
## Usage
Run `lein figwheel` in your terminal. Wait for a while until you see `Successfully compiled "resources/public/js/main.js"`. Open [localhost:3449](http://localhost:3449) in your browser.
You can use this while developing your sketch. Whenever you save your source files the browser will automatically refresh everything, providing you with quick feedback. For more information about Figwheel, check the [Figwheel repository on GitHub](https://github.com/bhauman/lein-figwheel).
## Publishing your sketch
Before you publish your sketch, run `lein do clean, cljsbuild once optimized`. This will compile your code and run Google Closure Compiler with advanced optimizations. Take `resources/public/index.html` and `resources/public/js/main.js` and upload them to server of your choice.
You can publish the build via `gh-pages` with `lein github-cdn $optional-commit-msg`.
## License
Copyright © 2018 Arne Schlüter
This work is free. You can redistribute it and/or modify it under the
terms of the Do What The Fuck You Want To Public License, Version 2,
as published by Sam Hocevar. See the COPYING file for more details.