0.2.14 • Published 2 years ago

create-p5jsboiler v0.2.14

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

create-p5jsBoiler

Initialise an instance of a stand alone p5js project mirroring:

npx create-p5jsboiler app-name
cd app-name

It will create a directory called app-name inside the current folder. Inside that directory, it will generate the initial project structure.

app-name
├── README.md
├── _require.js
├── fileScraper.js
├── index.html
├── package.json
├── src
    ├── images
        └── p5jsBoiler.ico
    └── css
        └── style.css
└── src
    ├── classes
        └── demo.js
    └── scripts
        ├── index.js
        └── initialise.js
  • Run npm run build after creating new script files to create/remake the _requre.js file that will import the files from your src folder into index.html on load.

  • setup and draw functions both found in ./src/scripts/index.js.

  • Set buildMainFile to true in the package.json to create a main.js file housing all code in the project at the time of npm run build.

0.2.14

2 years ago

0.2.13

2 years ago

0.2.12

2 years ago

0.2.11

2 years ago

0.2.10

2 years ago

0.2.8

2 years ago

0.2.7

2 years ago

0.2.6

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.18

2 years ago

0.1.17

2 years ago

0.1.16

2 years ago

0.1.15

2 years ago

0.1.14

2 years ago

0.1.13

2 years ago

0.1.12

2 years ago

0.1.11

2 years ago

0.1.10

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago