Launching June 11, 2030
GSS - GPU Style Sheets

GSS - GPU Style Sheets

Selectors, the cascade and @keyframes, compiled into a single raymarching shader.

FreeCodeLanguageDesign1 impressionslaunches Jun 111 comment

Comments

>log in to comment
  • Lucas Bonomi[maker]· 29d ago

    I built GSS to let developers write 3D scenes using familiar CSS syntax—selectors, cascade, and @keyframes—then compile everything into a single ray‑marching shader. It works without Three.js or meshes, and you can use it via npm, a Vite plugin, or a CDN. I'd love your feedback on the API and docs.

Selectors, the cascade and @keyframes, compiled into a single raymarching shader. The 3D language designers and AIs already speak. Selectors, the cascade and @keyframes, compiled into a single raymarching shader. No Three.js. No meshes. Just CSS you already know. Style a thousand objects with one selector. The cascade decides, like on a web page. The compiler writes the GLSL: the whole scene becomes one fragment shader, raymarched on the GPU. Every model knows CSS by heart. It writes the style sheet; the compiler writes the shader.

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
LukyVj/GSS 125 6TypeScriptupdated 11 days ago
works withnpmTypeScriptVite

Key features

8 features of GSS - GPU Style Sheets
  • 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

GSS - GPU Style SheetsBunDenoGiteaPenpot
Best forCSS-based GPU shader generationFast JavaScript runtimeSecure JS/TS runtimeSelf-hosted Git hostingOpen-source UI design
PricingOpen sourceFreeFreeFreeFree
DevHunt upvotes10000
LaunchedJun 2030————

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.