Skip to content

rcoleworld/vite-p5-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vite P5 Starter

This is a straightforward configuration of P5.js, TypeScript, and Vite. Will mostly be used by me to make a few hobby projects and to teach younger family members how to code without the added overhead of setup.

Installation

You can follow the below steps to get started or you can just select "Use this template" on the repository's page.

git clone https://github.com/rcoleworld/vite-p5-starter.git 
npm install

Running

To start vite dev server:

npm run dev

Deploying

For production builds and deploying please refer to the vite documentation.

Coding

Inside of /src/main.ts, add your code to the provided draw() and setup() methods. For more information about how these methods work or for more documentation on P5.js refer to the docs.

About

My configuration for a P5.js project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published