-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
735e7d6
commit a376156
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
# spinny 3d objects using css borders | ||
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](https://manthanabc.github.io/borderland/) | ||
|
||
utah teapot \ | ||
![](https://github.com/manthanabc/borderland/blob/main/video/teapot.gif) \ | ||
w pong lighting \ | ||
![](https://github.com/manthanabc/borderland/blob/main/video/shading.gif) \ | ||
teddwy bear \ | ||
![](https://github.com/manthanabc/borderland/blob/main/video/teddy.gif) \ | ||
[try it](https://manthanabc.github.io/borderland/) \ | ||
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. | ||
car (by printable_models at free3d.com) \ | ||
![](https://github.com/manthanabc/borderland/blob/main/video/car.jpg) \ |