Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/braebo/pocket-shader

A lightweight WebGL shader renderer.
https://github.com/braebo/pocket-shader

animation canvas glsl javascript shaders typescript webgl webgl2

Last synced: 3 months ago
JSON representation

A lightweight WebGL shader renderer.

Awesome Lists containing this project

README

        



### _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

```bash
npx jsr add @braebo/pocket-shader
```

## Documentation

[https://pocket-shader.braebo.dev/](https://pocket-shader.braebo.dev/)

## RoadMap

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

## Contributing

Just remember to include a changeset with your pr:

```bash
pnpm changeset
```