Skip to content

Repository files navigation

cssGraphics

cssGraphics packages animated and interactive 3D models as real HTML and CSS, without a WebGL or canvas renderer. Powered by the PolyCSS engine.

Colorful prepared PolyCSS pipes growing across the viewport A red cube at 30 degrees yaw and 20 degrees downward pitch morphing into a sphere, twisting, and returning to a cube An animated prepared sphere completing its full morph and spin loop

Run locally

pnpm install
pnpm dev

Adapters

3D Pipes

src/adapters/3dpipes is an original generative PolyCSS scene inspired by XScreenSaver pipes.c and Windows 3D Pipes. It uses prepared connected tube meshes, lighting, and playback with stable retained DOM.

pnpm install
pnpm build:3dpipes:full
pnpm dev:3dpipes

License

cssGraphics source code is MIT licensed. Third-party models retain their original licenses and attribution, listed in site/public/catalog.json.

About

A DOM-ready 3D asset library powered by PolyCSS.

Resources

Stars

24 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages