figure out the 3d clipping offset?

hmm.. thought I could finally achieve the correct 3d clip but clearly the perspective matrix needs the z transform.. I believe the perspective-origin is correct, what would be the "perspective" (assuming it's the z origin) property math? Thanks sm <3 https://codepen.io/Cubiq-ish/pen/KwzgvZX
No description
7 Replies
cubiq
cubiqOP6d ago
updated the demo, still not perfect but figured out it has to do something with tangent.
cubiq
cubiqOP6d ago
No description
cubiq
cubiqOP6d ago
No description
cubiq
cubiqOP2d ago
just figured it out!
cubiq
cubiqOP19h ago
forgot to share how it looks now <3
No description
SkyLimits
SkyLimits19h ago
DAMNNN thats so impressive bro LOVE IT ❤️ how does it work with just CSS???
cubiq
cubiqOP19h ago
Simply said, modern css is incredible ;) but i will actually write a blogpost about this one <3 i wanted to revamp my main website either way so it's a perfect timing :)

Did you find this page helpful?