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.

main.js 302B

7 years ago
7 years ago
123456789101112131415
  1. console.log("abp v0.4.27");
  2. window.onload = function() {
  3. graph.prepare();
  4. materials.prepare();
  5. gui.prepare();
  6. mouse.prepare();
  7. editor.prepare();
  8. api.poll();
  9. gui.loop();
  10. };
  11. share = function() {
  12. alert("Copy/paste this link to collaborate:\n\n"+window.location.href);
  13. };