create-three-bun-ox
v0.2.0
Published
A minimal Bun + Three.js template with oxlint and oxfmt.
Readme
create-three-bun-ox
A minimal Three.js template for Bun.
It includes:
- a plane
- a sphere resting on the plane
- one directional light
OrbitControls- a tiny on-screen slider panel for the sphere position and light intensity
Requirements
- Bun
Setup
bun installRun
bun run devThe server listens on PORT if it is set, otherwise it uses 3000.
Quickstart:
bunx create-three-bun-ox my-appOr with npm:
npm create three-bun-ox my-appYou can also use the GitHub repo directly:
bun create github.com/spinualexandru/create-three-bun-ox my-appScripts
bun run start
bun run dev
bun run fmt
bun run fmt:fix
bun run fmt:check
bun run lint
bun run lint:fix
bun run typecheck