More Code tools →74 free dev tools →
GSS compiles CSS-like selectors, cascade and @keyframes into a single GPU raymarching shader.
- for
- Web developers and graphics programmers who want CSS styling for 3D GPU scenes.
- pricing
- open source
- license
- Apache-2.0
- v0.0.6GSS 0.0.6a month ago
Key features
- CSS-style selectors — Style thousands of objects with a single selector using familiar CSS syntax.
- Cascade handling — The cascade resolves conflicts just like on a web page.
- Single fragment shader output — The compiler emits one GLSL fragment shader that ray-marches the whole scene.
- Keyframe animations — Define @keyframes in GSS to animate properties over time.
- NPM package with TypeScript types — Install via npm and integrate GSS directly into Node/TS projects.
- Vite plugin — Import .gss files in Vite builds and ship the compiled runtime automatically.
- CDN embed — Load the library from a CDN and use <gss-scene> tags in plain HTML.
- Live playground — Interactive playground to experiment with GSS code and see the shader instantly.
Use cases
- Apply consistent styling to large 3D scenes without writing manual GLSL.
- Create CSS-driven animations for GPU-rendered objects.
- Prototype 3D visualizations quickly using familiar web styling syntax.
- Integrate shader generation into a Vite-based web app with zero build steps.
GSS - GPU Style Sheets vs alternatives
Bun | Deno | Gitea | Penpot | ||
|---|---|---|---|---|---|
| Best for | CSS-based GPU shader generation | Fast JavaScript runtime | Secure JS/TS runtime | Self-hosted Git hosting | Open-source UI design |
| Pricing | Open source | Free | Free | Free | Free |
| DevHunt upvotes | 1 | 0 | 0 | 0 | 0 |
| Launched | Jun 2030 | — | — | — | — |
- GSS - GPU Style Sheets vs Bun: Bun is a JavaScript runtime, not a CSS-to-shader compiler.
- GSS - GPU Style Sheets vs Deno: Deno provides a secure runtime for JS/TS, unrelated to GPU shader generation.
- GSS - GPU Style Sheets vs Gitea: Gitea is a self-hosted Git service, not a graphics styling tool.
- GSS - GPU Style Sheets vs Penpot: Penpot is a design/prototyping platform, not a code-level shader language.
GSS - GPU Style Sheets FAQ
Do I need Three.js or other 3D libraries to use GSS?+
No, GSS compiles directly to a single GLSL fragment shader and does not require Three.js or meshes.
How is the GSS code compiled to a shader?+
The GSS source is parsed into an AST, processed through the cascade, and then emitted as GLSL.
Can I use GSS in a Vite project?+
Yes, the library includes a Vite plugin that lets you import .gss files and bundles the runtime automatically.
Is there a way to try GSS without installing anything?+
You can load the library from a CDN and add a <gss-scene> tag to an HTML page, or use the online playground.
What language features does GSS support?+
GSS supports selectors, the cascade, @keyframes, material definitions, transforms, and custom properties similar to CSS.
Summarized by DevHunt from gss-lang.dev · Nov 3, 2026. Details may change; check the official site.
Bun
Deno
Gitea
Penpot







