Canvas 3d perspective code performance comparison
left side: drawing with code from
https://github.com/wanadev/perspective.js/
right side: drawing with alternative code from
http://www.lutanho.net/goodies/
       
perspective.js is a JavaScript library which allows you
to transform a rectangle image into an arbitrary form
of quadrilateral on a canvas element. It is used to draw
an image using perspective on a canvas.
Image: firefox.jpg grid.jpg
Subdivisions: 0 1 2 3 4
Smoothness: 0 1 2 3