Canvas 3d perspective code performance comparison
left side: drawing with code from
right side: drawing with alternative code from
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