Need better and simpler understanding of CATransform3D

后端 未结 3 946
北恋
北恋 2021-01-30 09:27

Please go through the images.

\"Initial \"After

3条回答
  •  星月不相逢
    2021-01-30 10:15

    Here is my project in Swift https://github.com/paulz/PerspectiveTransform that helps to calculate CATransform3D and includes Example app and playgrounds.

    it can be used to animate CALayer transform property.

    See wiki: https://github.com/paulz/PerspectiveTransform/wiki for details on constructing the matrix and other possible solutions.

    Thank you for this question, it helped me to get started on my project knowing not only me have that problem!

提交回复
热议问题