one_point_perspective from Fengyuan Zhu on Vimeo.
For this week’s homework, when I picked up my pen, I realized that rather than just draw something with my awkward hand, why not just try to write a easy program to generate some one point perspective cubes for me.
After some simple math, we found it is really easy to calculate method of a cube, only need some information like length, ratio, and location relations between vanish point and front surface.
The code can be found here