Skip to content

braebo/pocket-shader

Repository files navigation

This project is still early-alpha, so the API is unstable. I'd love to hear your feedback / ideas!


  • 📦 Simple API
  • 🐭 Lightweight - 2.63 kB
  • ✅ Typesafe
  • 👌 Zero Dependencies
  • 🌐 ESM

Installation

npx jsr add @braebo/pocket-shader

Documentation

https://pocket-shader.braebo.dev/

RoadMap

  • Fragment / Vertex Shaders
  • Responsive / Automatic Resizing
  • (Reactive) Custom Uniforms
  • Render Loop
  • Playback Controls
  • Mouse Input
  • Mouse Smoothing
  • Render Hook
  • Texture Support
  • WebGPU
  • Auto Pause/Resume (Intersection Observer)

Contributing

Just remember to include a changeset with your pr:

pnpm changeset