Start developing with p5 in seconds ✨
Readymade project creator for p5 with parcel bundler.
Happy hacking =)
- Parcel - Preconfigured with Parcel for zero config imports and hot reload.
- TSLint - Static analysis tool that checks your code for readability, maintainability, and functionality errors.
- P5 Reference - Autocomplete and p5 references included.
p5qs <name>
- Create a project with the specified namep5qs <name> [-i | --install]
- Install dependencies after creating projectp5qs <name> [-o | --open]
- Open Visual Studio Code after creating project
With [email protected] or later there is no need to install anything, just run npx p5qs my-p5-project --install --open
to create a project, install dependencies and open it in vscode.
Open sketch.js on the project's folder and edit it to test the features
// Export the functions that are used by p5
export function setup () {
createCanvas(windowWidth, windowHeight)
background(52)
}
export function draw () {
}
After creating a project, all you need to do is run it with npm start
to start the server
MIT © Iury Piva