kaltwrk/spektral
소개
Minimalist framework for modern WebGPU visuals.
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalSpektral
Spektral is a focused WebGPU library for fullscreen WGSL shaders. It gives you a framework-neutral runtime and first-class adapters for Svelte, React, and Vue, without the scene graph and 3D tooling of a general-purpose engine.
Use it for shader-driven visuals, generative art, procedural textures, post-processing, feedback effects, and GPU compute. Spektral handles the canvas, render loop, scheduling, and GPU resources while your application owns the shaders and interaction.
Install
npm install spektral
Import from the entry point that matches your application:
| Application | Entry point |
|---|---|
| Framework-independent | spektral |
| Svelte | spektral/svelte |
| React | spektral/react |
| Vue | spektral/vue |
What you get
- Validated WGSL materials for fullscreen rendering
- Runtime updates for uniforms, textures, and storage buffers
- Render, feedback, and compute passes for multi-step GPU work
- Explicit render modes and a scheduler for frame-level control
- Source-mapped shader diagnostics and inspectable render-graph snapshots
- The same core API across Svelte, React, and Vue
Before you start
Spektral needs WebGPU and a secure context such as HTTPS or localhost. It is built for fullscreen shader and compute workflows. If your project needs meshes, cameras, lighting, or a scene graph, a 3D engine will be a better fit.
Documentation
Start with the installation guide, then use the full documentation for materials, shaders, passes, runtime behavior, and API contracts. You can also explore complete applications in the playground.
AI tools can access the documentation through Context7.
License
Spektral is available under the MIT License.
관련 프로젝트 살펴보기
불러오는 중…