UNPKG

alloytouch

Version:

super tiny size touch and physical motion library for the web

23 lines (21 loc) 572 B
<!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> </head> <body> <a href="https://github.com/AlloyTeam/AlloyTouch/tree/master/transformjs" target="_blank" style="position: absolute; right: 0; top: 0;"> <img src="//alloyteam.github.io/github.png" alt="" /> </a> <script src="../transform.js" ></script> <script> var matrix3d = Transform.getMatrix3D({ translateX: 0, translateY: 100, scaleX:2 }); console.log(matrix3d) </script> </body> </html>