Simulate graph states in the browser
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 anni fa
7 anni fa
7 anni fa
7 anni fa
7 anni fa
7 anni fa
7 anni fa
7 anni fa
7 anni fa
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title>abp</title>
  5. <meta charset="utf-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1" />
  7. <link rel="stylesheet" href="{{ url_for("static", filename="main.css") }}">
  8. <script src="{{ url_for("static", filename="scripts/three.js") }}"></script>
  9. <script src="{{ url_for("static", filename="scripts/orbitcontrols.js") }}"></script>
  10. <script src="{{ url_for("static", filename="scripts/anders_briegel.js") }}"></script>
  11. <script src="{{ url_for("static", filename="scripts/mouse.js") }}"></script>
  12. <script src="{{ url_for("static", filename="scripts/materials.js") }}"></script>
  13. <script src="{{ url_for("static", filename="scripts/graph.js") }}"></script>
  14. <script src="{{ url_for("static", filename="scripts/gui.js") }}"></script>
  15. <script src="{{ url_for("static", filename="scripts/editor.js") }}"></script>
  16. <script src="{{ url_for("static", filename="scripts/api.js") }}"></script>
  17. <script src="{{ url_for("static", filename="scripts/main.js") }}"></script>
  18. </head>
  19. <body>
  20. <img id=ball src="{{url_for("static", filename="img/ball.png") }}" style=display:none;>
  21. <img id=tip src="{{url_for("static", filename="img/tip.png") }}" style=display:none;>
  22. <div id=node_info class=hidden> </div>
  23. <div class="block hidden" id=server_info> </div>
  24. <div id=node_data class="block hidden">
  25. <h3 id=node_name></h3>
  26. <ul>
  27. <li id=node_vop></li>
  28. <li>Measure in
  29. <a onclick="editor.measureX()">X</a> /
  30. <a onclick="editor.measureY()">Y</a> /
  31. <a onclick="editor.measureZ()">Z</a></li>
  32. <li>
  33. <a onclick="editor.hadamard()">Hadamard</a> /
  34. <a onclick="editor.phase()">Phase</a></li>
  35. <li><a onclick="editor.localComplementation()">Invert</a> /
  36. <a onclick="editor.deleteNode()">Delete</a></li>
  37. </ul>
  38. </div>
  39. <div class="block" id=controls>
  40. <ul>
  41. <li><a onclick="editor.clear()">Clear</a></li>
  42. <li><a onclick="editor.raussendorf()">Raussendorf</a></li>
  43. <li><a onclick="share()">Share</a></li>
  44. <li><a href="/{{uuid}}/download">Download</a></li>
  45. <li><input id=curvy type="checkbox" checked></input> Curved edges</li>
  46. <li><input id=big type="checkbox"></input> Big nodes</li>
  47. <li><a href="/doc" id=help>Documentation</a></li>
  48. </ul>
  49. </div>
  50. </body>
  51. </html>