P5.js project template with Bun, TypeScript and Biome (linter) set up.
Based on the new project created by the p5.vscode Visual Studio Code extension.
Copy this repository to a new folder.
bun install
Start development server:
bun run watch
Open index.html
with a Web server (Right click index.html
-> "Open with Live Server" for VS Code).
The entry point is src/index.ts
.
bun run build
The output will be written to dist/index.js
. See index.html
for how the
bundled script is loaded.