Skip to content

manthanabc/borderland

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •