brentvatne / cube-transition-example

8 stars 7 forks source link

How does the 2.39 value from the purejs implementation is computed? #2

Open wcandillon opened 5 years ago

wcandillon commented 5 years ago

I'm looking at the https://github.com/underscopeio/cube-transition-example branch which works great but I'm curious to know the 2.39 for the last translateX is computed. It seems that this value depends on the value of perspective but I don't know how.

zohaib-ahmad1020 commented 4 months ago

Hi @wcandillon can you create a an example related to this library i have worked on it when i assign the height 300 their edges can not connect each other.

Please help on this so we assign any height to cube it look nicer and also if you use reanimated without using skia this would help us.

I will be looking for your answer.