Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spinny 3d objects using css borders

why

why not

Todo

[ ] Add imgui based fps counter
[ ] Add option to load obj

how

CSS borders can be used to draw shapes by making one or more borders transparent (e.g., border-left: 50px solid transparent). One such shape is the triangle. By using the transform and rotate properties, you can create various triangles. To build a 3D scene, you just need some math and trigonometry.
try it

utah teapot

w pong lighting

teddwy bear

car (by printable_models at free3d.com)
\

About

Render 3d Geometry using css borders only, cuz why not

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages