https://github.com/edap/boilerplate-paperjs
webpack + paperjs
https://github.com/edap/boilerplate-paperjs
Last synced: 11 months ago
JSON representation
webpack + paperjs
- Host: GitHub
- URL: https://github.com/edap/boilerplate-paperjs
- Owner: edap
- Created: 2017-09-26T15:18:18.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-26T17:32:35.000Z (over 8 years ago)
- Last Synced: 2025-04-06T21:43:56.626Z (about 1 year ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This boilerplate combines [webpack](https://webpack.js.org/) and [paperjs](http://paperjs.org/) through [paperJS loader](https://github.com/aprowe/paper-loader)
### Installation
clone this respository, then run `yarn install`
### Usage
Edit the file `src/file.paper.js`. This file contains an example copied from the Paper.js website.
Delete its content, add your paperscript code and save it.
`npm start` starts a server on the port 8000. If everything went good you should see your code example running.
If you want to save your sketch and upload it on your website, run `webpack`. This command compiles a bundle.js file and an html file in the folder `www`.