Interactive demo pages for @threeaio libraries.
A visual demonstration of the @threeaio/oscillator
package showing different waveform types and their parameters in real-time.
Features:
- 11 different waveform types (sine, triangle, sawtooth, etc.)
- Configurable parameters for each waveform type
- Real-time visualization
- BPM and phase shift controls
- Dark theme interface
- Node.js >= 16
- pnpm >= 7
# Install dependencies
pnpm install
# Start development server
pnpm dev
# Build for production
pnpm build
The development server will be available at:
- Oscillator Demo: http://localhost:3000/oscillator.html
demos/
├── public/ # Static files and built JS
│ ├── js/ # Built JavaScript files
│ └── *.html # Demo pages
├── src/ # Source files
│ └── oscillator/ # Oscillator demo source
└── package.json
- Create a new directory in
src/
for your demo - Add your TypeScript files
- Update
tsup.config.ts
with new entry point - Create HTML file in
public/
- Add demo to this README
ISC © Nikolaj Sokolowski