create-creative-base
v0.5.0
Published
Creative coding starter — 3D, audio, camera, web. Vite + React + TypeScript.
Downloads
684
Maintainers
Readme
create-creative-base
Creative coding starter. One command, working project. Vite + React + TypeScript with 3D, audio, and camera experiences wired in.
Usage
npm create creative-base@latest my-project
# or
pnpm create creative-base my-projectThen:
cd my-project
pnpm devWhat's inside
- Vite 6 + React 19 + TypeScript (strict)
- Tailwind CSS v4 with a token-based design system (dark-mode first)
- React Three Fiber + Drei for 3D / WebGL
- Tone.js for audio synthesis
- getUserMedia wrapped in a
useCamerahook - Framer Motion, cva, tailwind-merge, lucide-react
Structure
src/
App.tsx Experience launcher (replace it)
experiences/ ThreeD, Audio, Camera starters
lib/
tokens.ts Design tokens (CSS vars + hex)
hooks/ useCamera, useAudio, useReducedMotion
components/
ui/button.tsx cva-based button
canvas/scene.tsx R3F Canvas wrapperCLAUDE.md and .cursorrules ship inside the template so your AI assistant knows the conventions.
License
MIT
