Launching June 11, 2030
GSS - GPU Style Sheets

GSS - GPU Style Sheets

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

FreeCodeLanguageDesign0 impressionslaunches Jun 111 comment

Comments

>log in to comment
  • Lucas Bonomi[maker]· 8d 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.