daily pastebin goal
59%
SHARE
TWEET

Untitled

a guest Jan 19th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <!--
  3. To change this license header, choose License Headers in Project Properties.
  4. To change this template file, choose Tools | Templates
  5. and open the template in the editor.
  6. -->
  7. <html>
  8.     <head>
  9.        
  10.         <meta charset="UTF-8">
  11.         <meta name="viewport" content="width=device-width, initial-scale=1.0">
  12.         <script>
  13.            
  14.         </script>
  15.     </head>
  16.     <body>
  17.         <script>
  18.             var canvasElem = document.getElementById('canvas');
  19.             var ctx = canvasElem.getContext('2d');
  20.            
  21.             ctx.moveTo(150,150);
  22.             ctx.lineTo(200,200);
  23.             ctx.stroke();
  24.         </script>
  25.            
  26.         <canvas width="200" height="200" id="canvas">
  27.                
  28.         </canvas>
  29.        
  30.     </body>
  31. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top