canvas.html 1.1 KB

12345678910111213141516171819202122232425262728
  1. <html>
  2. <head>
  3. <meta charset="utf-8">
  4. <meta name="viewport" content="width=device-width">
  5. <title>MyEval</title>
  6. <link rel="stylesheet" href="./style.css">
  7. <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
  8. <script src="https://cdnjs.cloudflare.com/ajax/libs/PapaParse/4.1.3/papaparse.min.js"></script>
  9. <script src="http://gitlab.a-level.com.ua/gitgod/nanobind/raw/master/static/nb.js"></script>
  10. </head>
  11. <body>
  12. <canvas id='canvas' width=400 height=400></canvas>
  13. <button id='undo'>UNDO</button>
  14. <input type='color' id='color'>
  15. <select id='tool'>
  16. <option value='graffity'>Graffity</option>
  17. <option value='circle'>Circle</option>
  18. <option value='line'>Line</option>
  19. <option value="rectangle">Rectangle</option>
  20. <option value="ellipse">Ellipse</option>
  21. <option value='select'>Select</option>
  22. </select>
  23. <input type='number' id='size' value=10>
  24. <button id='delete'>Delete...</button>
  25. <script src="./script.js"></script>
  26. </body>
  27. </html>