Skip to content

fal-works/p5js-template-pet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

p5.js Template PET

Other languages (wiki): [ ja ]

Template project for creating p5.js sketches using the following tools:

See also other templates.

Usage

  1. Install the two below if not yet installed:

  2. Create your project folder by copying this template, then open it with VS Code.

  3. Run the command-line below, which will install several dependencies:

    npm install
  4. Install the VS Code extensions:

    Now ESLint and Prettier works automatically every time you save your code.

  5. Feel free to edit src/script.ts.

  6. Run the command-line below to build dist/script.js:

    npm run build
  7. Open dist/index.html to see the result.

Dependencies (npm)

Important ones

Type definitions

For ESLint

About

Template project for p5.js sketches using VSCode, ESLint, Prettier and TypeScript.

Topics

Resources

License

Stars

Watchers

Forks