index.vwf.html 892 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <script type="text/javascript">
  5. vwf_view.satProperty = function (nodeID, propertyName, propertyValue) {
  6. if (propertyValue === undefined || propertyValue == null) {
  7. return;
  8. }
  9. let props = ["angle", "iteration", "stepLength", "rule", "axiomF", "axiomG"]
  10. if (props.includes(propertyName)) {
  11. vwf_view.kernel.callMethod(nodeID, "makeLSys");
  12. //console.log(propertyName +' - '+ propertyValue);
  13. }
  14. // switch ( propertyName ) {
  15. // case "iteration":
  16. // vwf_view.kernel.callMethod(nodeID, "makeLSys");
  17. // console.log("here!!")
  18. // break;
  19. // default:
  20. // break;
  21. // }
  22. }
  23. </script>
  24. </head>
  25. <body>
  26. </body>
  27. </html>