Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我们有一个 50 像素宽的正方形。而 -webkit-perspective 是1000px*.
1000px*
确定正方形在距观看者给定距离(实际显示在屏幕上的宽度)处看起来有多大的公式是什么?
*这意味着查看者的位置距离该z=0点 1000px。
*
z=0
从 x 个单位的距离看,一个 50 个单位宽的正方形的角宽度是2 atan(25/x)(以弧度为单位)。
2 atan(25/x)