This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Niels van Hoorn
Posted Dec 09 - Read on Facebook

Hey everyone! I was wondering how perspective worked exactly, so I created this prototype: http://share.framerjs.com/k44wfwqgs73z/
It changes perspective base on mouse position or device rotation, and you can drag the cube around.

Turns out I had to implement originZ first: https://github.com/koenbok/Framer/pull/255

5 Comments

Leeves Chou

Thanks very much.

Niels van Hoorn

I've updated it according to Jonas Treub's comments: http://share.framerjs.com/tqjvam32szkf/

Jonas Treub

Cool! I'll dive in tomorrow

Jordan Robert Dobson

So... how are you using OriginZ in regards to how it differs from using translate?

Marc Krenn
Read the entire post on Facebook