{
  "information": {
    "Title": "",
    "Author": [],
    "AuthorLogo": [],
    "Password": "unused",
    "Keywords": "",
    "Abstract": "",
    "Copyright": "",
    "Level": "",
    "Language": "",
    "Logo": [],
    "RunAlways": "true",
    "ModelTab": "",
    "ModelTabTitle": "",
    "ModelName": "",
    "FixedNavigationBar": "false",
    "CSSFile": "",
    "DetectedFiles": [],
    "AuxiliaryFiles": [],
    "HTMLHead": "<script \nasync=\"true\" src=\"https://www.googletagmanager.com/gtag/js?id=G-S9EWRY1CPJ\"></script>\n<script>\n  window.dataLayer = window.dataLayer || [];\n  function gtag(){dataLayer.push(arguments);}\n  gtag('js', new Date());\n\n  gtag('config', 'G-S9EWRY1CPJ');\n</script>",
    "SaveInXMLFormat": "false",
    "IncludeSource": "true",
    "IncludeLibrary": "true",
    "UglifyJS": "false",
    "PreviewFullModel": "false",
    "UseInterpreter": "true",
    "UseDeltaForODE": "false"
  },
  "description": {
    "pages": []
  },
  "model": {
    "variables": {
      "pages": [
        {
          "Name": "Var Table 1",
          "Active": "true",
          "Internal": "false",
          "Type": "undefined",
          "PageComment": "",
          "Variables": [
            {
              "Name": "selectedShape",
              "Value": "\"cube\"",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": ""
            },
            {
              "Name": "graphX",
              "Value": "6",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": ""
            },
            {
              "Name": "graphY",
              "Value": "10",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": ""
            },
            {
              "Name": "plottedPointsX",
              "Value": "[]",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": ""
            },
            {
              "Name": "plottedPointsY",
              "Value": "[]",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": ""
            },
            {
              "Name": "plottedPoints",
              "Value": "[]",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": ""
            },
            {
              "Name": "plottedPointIndex",
              "Value": "-1",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": ""
            },
            {
              "Name": "selectedPointIndex",
              "Value": "-1",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": ""
            },
            {
              "Name": "selectedPlottedPoints",
              "Value": "[]",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": ""
            },
            {
              "Name": "plottedLineX",
              "Value": "[undefined]",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": ""
            },
            {
              "Name": "plottedLineY",
              "Value": "[undefined]",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": ""
            },
            {
              "Name": "plottedSizeX",
              "Value": "[undefined]",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": ""
            },
            {
              "Name": "plottedSizeY",
              "Value": "[undefined]",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": ""
            },
            {
              "Name": "selectedShapePoints",
              "Value": "[]",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": ""
            },
            {
              "Name": "shapeLineX",
              "Value": "[]",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": ""
            },
            {
              "Name": "shapeLineY",
              "Value": "[]",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": ""
            },
            {
              "Name": "shapeSizeX",
              "Value": "[]",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": ""
            },
            {
              "Name": "shapeSizeY",
              "Value": "[]",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": ""
            },
            {
              "Name": "colors",
              "Value": "[]",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": ""
            },
            {
              "Name": "",
              "Value": "",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": ""
            }
          ]
        },
        {
          "Name": "shapes",
          "Active": "true",
          "Internal": "false",
          "Type": "VARIABLE_EDITOR",
          "PageComment": "",
          "Variables": [
            {
              "Name": "cube",
              "Value": "",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": ""
            },
            {
              "Name": "cuboid",
              "Value": "",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": ""
            },
            {
              "Name": "prism",
              "Value": "",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": ""
            },
            {
              "Name": "pyramid",
              "Value": "",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": ""
            },
            {
              "Name": "pyramidDiagonal",
              "Value": "",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": ""
            },
            {
              "Name": "pyramidHorizontal",
              "Value": "",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": ""
            },
            {
              "Name": "shapePointsMap",
              "Value": "",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": ""
            },
            {
              "Name": "",
              "Value": "",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": ""
            }
          ]
        }
      ]
    },
    "initialization": {
      "pages": [
        {
          "Name": "cube",
          "Active": "true",
          "Internal": "false",
          "Type": "CODE_EDITOR",
          "Comment": "",
          "Code": "cube = {\n    points: [\n        {\n            \"x\": 0,\n            \"y\": 0,\n            \"connected\": []\n        },\n        {\n            \"x\": 1.4,\n            \"y\": 0,\n            \"connected\": []\n        },\n        {\n            \"x\": 0.7,\n            \"y\": 0.7,\n            \"connected\": []\n        },\n        {\n            \"x\": 0,\n            \"y\": 1.4,\n            \"connected\": []\n        },\n        {\n            \"x\": 2.8,\n            \"y\": 0,\n            \"connected\": []\n        },\n        {\n            \"x\": 2.1,\n            \"y\": 0.7,\n            \"connected\": []\n        },\n        {\n            \"x\": 1.4,\n            \"y\": 1.4,\n            \"connected\": []\n        },\n        {\n            \"x\": 0.7,\n            \"y\": 2.1,\n            \"connected\": []\n        },\n        {\n            \"x\": 0,\n            \"y\": 2.8,\n            \"connected\": []\n        },\n        {\n            \"x\": 4.2,\n            \"y\": 0,\n            \"connected\": []\n        },\n        {\n            \"x\": 3.5,\n            \"y\": 0.7,\n            \"connected\": []\n        },\n        {\n            \"x\": 2.8,\n            \"y\": 1.4,\n            \"connected\": []\n        },\n        {\n            \"x\": 2.1,\n            \"y\": 2.1,\n            \"connected\": []\n        },\n        {\n            \"x\": 1.4,\n            \"y\": 2.8,\n            \"connected\": []\n        },\n        {\n            \"x\": 0.7,\n            \"y\": 3.5,\n            \"connected\": []\n        },\n        {\n            \"x\": 0,\n            \"y\": 4.2,\n            \"connected\": []\n        },\n        {\n            \"x\": 5.7,\n            \"y\": 0,\n            \"connected\": []\n        },\n        {\n            \"x\": 4.9,\n            \"y\": 0.7,\n            \"connected\": []\n        },\n        {\n            \"x\": 4.2,\n            \"y\": 1.4,\n            \"connected\": []\n        },\n        {\n            \"x\": 3.5,\n            \"y\": 2.1,\n            \"connected\": []\n        },\n        {\n            \"x\": 2.8,\n            \"y\": 2.8,\n            \"connected\": []\n        },\n        {\n            \"x\": 2.1,\n            \"y\": 3.5,\n            \"connected\": []\n        },\n        {\n            \"x\": 1.4,\n            \"y\": 4.2,\n            \"connected\": []\n        },\n        {\n            \"x\": 0.7,\n            \"y\": 4.9,\n            \"connected\": []\n        },\n        {\n            \"x\": 0,\n            \"y\": 5.7,\n            \"connected\": []\n        },\n        {\n            \"x\": 5.7,\n            \"y\": 1.4,\n            \"connected\": []\n        },\n        {\n            \"x\": 4.9,\n            \"y\": 2.1,\n            \"connected\": []\n        },\n        {\n            \"x\": 4.2,\n            \"y\": 2.8,\n            \"connected\": []\n        },\n        {\n            \"x\": 3.5,\n            \"y\": 3.5,\n            \"connected\": []\n        },\n        {\n            \"x\": 2.8,\n            \"y\": 4.2,\n            \"connected\": [\n                {\n                    \"x\": 2.1,\n                    \"y\": 4.9\n                },\n                {\n                    \"x\": 2.8,\n                    \"y\": 5.7\n                },\n                {\n                    \"x\": 3.5,\n                    \"y\": 4.9\n                }\n            ]\n        },\n        {\n            \"x\": 2.1,\n            \"y\": 4.9,\n            \"connected\": [\n                {\n                    \"x\": 2.1,\n                    \"y\": 6.4\n                },\n                {\n                    \"x\": 2.8,\n                    \"y\": 4.2\n                }\n            ]\n        },\n        {\n            \"x\": 1.4,\n            \"y\": 5.7,\n            \"connected\": []\n        },\n        {\n            \"x\": 0.7,\n            \"y\": 6.4,\n            \"connected\": []\n        },\n        {\n            \"x\": 0,\n            \"y\": 7.1,\n            \"connected\": []\n        },\n        {\n            \"x\": 5.7,\n            \"y\": 2.8,\n            \"connected\": []\n        },\n        {\n            \"x\": 4.9,\n            \"y\": 3.5,\n            \"connected\": []\n        },\n        {\n            \"x\": 4.2,\n            \"y\": 4.2,\n            \"connected\": []\n        },\n        {\n            \"x\": 3.5,\n            \"y\": 4.9,\n            \"connected\": [\n                {\n                    \"x\": 2.8,\n                    \"y\": 4.2\n                },\n                {\n                    \"x\": 3.5,\n                    \"y\": 6.4\n                }\n            ]\n        },\n        {\n            \"x\": 2.8,\n            \"y\": 5.7,\n            \"connected\": [\n                {\n                    \"x\": 3.5,\n                    \"y\": 6.4\n                },\n                {\n                    \"x\": 2.1,\n                    \"y\": 6.4\n                },\n                {\n                    \"x\": 2.8,\n                    \"y\": 4.2\n                }\n            ]\n        },\n        {\n            \"x\": 2.1,\n            \"y\": 6.4,\n            \"connected\": [\n                {\n                    \"x\": 2.8,\n                    \"y\": 7.1\n                },\n                {\n                    \"x\": 2.8,\n                    \"y\": 5.7\n                },\n                {\n                    \"x\": 2.1,\n                    \"y\": 4.9\n                }\n            ]\n        },\n        {\n            \"x\": 1.4,\n            \"y\": 7.1,\n            \"connected\": []\n        },\n        {\n            \"x\": 0.7,\n            \"y\": 7.8,\n            \"connected\": []\n        },\n        {\n            \"x\": 0,\n            \"y\": 8.5,\n            \"connected\": []\n        },\n        {\n            \"x\": 5.7,\n            \"y\": 4.2,\n            \"connected\": []\n        },\n        {\n            \"x\": 4.9,\n            \"y\": 4.9,\n            \"connected\": []\n        },\n        {\n            \"x\": 4.2,\n            \"y\": 5.7,\n            \"connected\": []\n        },\n        {\n            \"x\": 3.5,\n            \"y\": 6.4,\n            \"connected\": [\n                {\n                    \"x\": 2.8,\n                    \"y\": 5.7\n                },\n                {\n                    \"x\": 2.8,\n                    \"y\": 7.1\n                },\n                {\n                    \"x\": 3.5,\n                    \"y\": 4.9\n                }\n            ]\n        },\n        {\n            \"x\": 2.8,\n            \"y\": 7.1,\n            \"connected\": [\n                {\n                    \"x\": 2.1,\n                    \"y\": 6.4\n                },\n                {\n                    \"x\": 3.5,\n                    \"y\": 6.4\n                }\n            ]\n        },\n        {\n            \"x\": 2.1,\n            \"y\": 7.8,\n            \"connected\": []\n        },\n        {\n            \"x\": 1.4,\n            \"y\": 8.5,\n            \"connected\": []\n        },\n        {\n            \"x\": 0.7,\n            \"y\": 9.2,\n            \"connected\": []\n        },\n        {\n            \"x\": 0,\n            \"y\": 9.9,\n            \"connected\": []\n        },\n        {\n            \"x\": 5.7,\n            \"y\": 5.7,\n            \"connected\": []\n        },\n        {\n            \"x\": 4.9,\n            \"y\": 6.4,\n            \"connected\": []\n        },\n        {\n            \"x\": 4.2,\n            \"y\": 7.1,\n            \"connected\": []\n        },\n        {\n            \"x\": 3.5,\n            \"y\": 7.8,\n            \"connected\": []\n        },\n        {\n            \"x\": 2.8,\n            \"y\": 8.5,\n            \"connected\": []\n        },\n        {\n            \"x\": 2.1,\n            \"y\": 9.2,\n            \"connected\": []\n        },\n        {\n            \"x\": 1.4,\n            \"y\": 9.9,\n            \"connected\": []\n        },\n        {\n            \"x\": 5.7,\n            \"y\": 7.1,\n            \"connected\": []\n        },\n        {\n            \"x\": 4.9,\n            \"y\": 7.8,\n            \"connected\": []\n        },\n        {\n            \"x\": 4.2,\n            \"y\": 8.5,\n            \"connected\": []\n        },\n        {\n            \"x\": 3.5,\n            \"y\": 9.2,\n            \"connected\": []\n        },\n        {\n            \"x\": 2.8,\n            \"y\": 9.9,\n            \"connected\": []\n        },\n        {\n            \"x\": 5.7,\n            \"y\": 8.5,\n            \"connected\": []\n        },\n        {\n            \"x\": 4.9,\n            \"y\": 9.2,\n            \"connected\": []\n        },\n        {\n            \"x\": 4.2,\n            \"y\": 9.9,\n            \"connected\": []\n        },\n        {\n            \"x\": 5.7,\n            \"y\": 9.9,\n            \"connected\": []\n        }\n    ],\n    plottedLineX: [\n        null,\n        2.8,\n        2.1,\n        null,\n        2.8,\n        3.5,\n        null,\n        2.8,\n        3.5,\n        null,\n        2.1,\n        2.8,\n        null,\n        2.1,\n        2.1,\n        null,\n        2.1,\n        2.8,\n        null,\n        2.8,\n        2.8,\n        null,\n        3.5,\n        2.8,\n        null,\n        3.5,\n        3.5,\n        null\n    ],\n    plottedLineY: [\n        null,\n        7.1,\n        6.4,\n        null,\n        5.7,\n        6.4,\n        null,\n        7.1,\n        6.4,\n        null,\n        6.4,\n        5.7,\n        null,\n        6.4,\n        4.9,\n        null,\n        4.9,\n        4.2,\n        null,\n        4.2,\n        5.7,\n        null,\n        4.9,\n        4.2,\n        null,\n        4.9,\n        6.4,\n        null\n    ],\n    plottedSizeX: [\n        null,\n        null,\n        0.6999999999999997,\n        null,\n        null,\n        -0.7000000000000002,\n        null,\n        null,\n        -0.7000000000000002,\n        null,\n        null,\n        -0.6999999999999997,\n        null,\n        null,\n        0,\n        null,\n        null,\n        -0.6999999999999997,\n        null,\n        null,\n        0,\n        null,\n        null,\n        0.7000000000000002,\n        null,\n        null,\n        0,\n        null\n    ],\n    plottedSizeY: [\n        null,\n        null,\n        0.6999999999999993,\n        null,\n        null,\n        -0.7000000000000002,\n        null,\n        null,\n        0.6999999999999993,\n        null,\n        null,\n        0.7000000000000002,\n        null,\n        null,\n        1.5,\n        null,\n        null,\n        0.7000000000000002,\n        null,\n        null,\n        -1.5,\n        null,\n        null,\n        0.7000000000000002,\n        null,\n        null,\n        -1.5,\n        null\n    ],\n    starting: {\n        \"x\": 2.8,\n        \"y\": 4.2,  \n    },\n}"
        },
        {
          "Name": "cuboid",
          "Active": "true",
          "Internal": "false",
          "Type": "CODE_EDITOR",
          "Comment": "",
          "Code": "cuboid = {\n    points: [\n    {\n        \"x\": 0,\n        \"y\": 0,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 0,\n        \"connected\": []\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 0.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 1.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 0,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 0.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 1.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 2.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 2.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 0,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 0.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 1.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 2.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 2.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 3.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 4.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 0,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 0.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 1.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 2.1,\n        \"connected\": [\n            {\n                \"x\": 3.5,\n                \"y\": 3.5\n            },\n            {\n                \"x\": 1.4,\n                \"y\": 4.2\n            },\n            {\n                \"x\": 4.9,\n                \"y\": 3.5\n            }\n        ]\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 2.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 3.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 4.2,\n        \"connected\": [\n            {\n                \"x\": 1.4,\n                \"y\": 5.7\n            },\n            {\n                \"x\": 3.5,\n                \"y\": 2.1\n            }\n        ]\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 4.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 5.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 1.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 2.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 2.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 3.5,\n        \"connected\": [\n            {\n                \"x\": 1.4,\n                \"y\": 5.7\n            },\n            {\n                \"x\": 3.5,\n                \"y\": 2.1\n            },\n            {\n                \"x\": 4.9,\n                \"y\": 4.9\n            }\n        ]\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 4.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 4.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 5.7,\n        \"connected\": [\n            {\n                \"x\": 2.8,\n                \"y\": 7.1\n            },\n            {\n                \"x\": 3.5,\n                \"y\": 3.5\n            },\n            {\n                \"x\": 1.4,\n                \"y\": 4.2\n            }\n        ]\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 6.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 7.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 2.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 3.5,\n        \"connected\": [\n            {\n                \"x\": 3.5,\n                \"y\": 2.1\n            },\n            {\n                \"x\": 4.9,\n                \"y\": 4.9\n            }\n        ]\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 4.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 4.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 5.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 6.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 7.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 7.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 8.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 4.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 4.9,\n        \"connected\": [\n            {\n                \"x\": 4.9,\n                \"y\": 3.5\n            },\n            {\n                \"x\": 2.8,\n                \"y\": 7.1\n            },\n            {\n                \"x\": 3.5,\n                \"y\": 3.5\n            }\n        ]\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 5.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 6.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 7.1,\n        \"connected\": [\n            {\n                \"x\": 1.4,\n                \"y\": 5.7\n            },\n            {\n                \"x\": 4.9,\n                \"y\": 4.9\n            }\n        ]\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 7.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 8.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 9.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 9.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 5.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 6.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 7.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 7.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 8.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 9.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 9.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 7.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 7.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 8.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 9.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 9.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 8.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 9.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 9.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 9.9,\n        \"connected\": []\n    }\n],\n    plottedLineX: [\n    null,\n    2.8,\n    1.4,\n    null,\n    1.4,\n    3.5,\n    null,\n    3.5,\n    3.5,\n    null,\n    1.4,\n    1.4,\n    null,\n    1.4,\n    3.5,\n    null,\n    3.5,\n    4.9,\n    null,\n    4.9,\n    4.9,\n    null,\n    2.8,\n    4.9,\n    null,\n    3.5,\n    4.9,\n    null\n],\n    plottedLineY: [\n    null,\n    7.1,\n    5.7,\n    null,\n    5.7,\n    3.5,\n    null,\n    3.5,\n    2.1,\n    null,\n    5.7,\n    4.2,\n    null,\n    4.2,\n    2.1,\n    null,\n    2.1,\n    3.5,\n    null,\n    3.5,\n    4.9,\n    null,\n    7.1,\n    4.9,\n    null,\n    3.5,\n    4.9,\n    null\n],\n    plottedSizeX:[\n    null,\n    null,\n    1.4,\n    null,\n    null,\n    -2.1,\n    null,\n    null,\n    0,\n    null,\n    null,\n    0,\n    null,\n    null,\n    -2.1,\n    null,\n    null,\n    -1.4000000000000004,\n    null,\n    null,\n    0,\n    null,\n    null,\n    -2.1000000000000005,\n    null,\n    null,\n    -1.4000000000000004,\n    null\n],\n    plottedSizeY: [\n    null,\n    null,\n    1.3999999999999995,\n    null,\n    null,\n    2.2,\n    null,\n    null,\n    1.4,\n    null,\n    null,\n    1.5,\n    null,\n    null,\n    2.1,\n    null,\n    null,\n    -1.4,\n    null,\n    null,\n    -1.4000000000000004,\n    null,\n    null,\n    2.1999999999999993,\n    null,\n    null,\n    -1.4000000000000004,\n    null\n], starting: {\n        \"x\": 3.5,\n        \"y\": 2.1,  \n    },\n}"
        },
        {
          "Name": "prism",
          "Active": "true",
          "Internal": "false",
          "Type": "CODE_EDITOR",
          "Comment": "",
          "Code": "prism = {\n    points: [\n    {\n        \"x\": 0,\n        \"y\": 0,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 0,\n        \"connected\": []\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 0.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 1.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 0,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 0.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 1.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 2.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 2.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 0,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 0.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 1.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 2.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 2.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 3.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 4.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 0,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 0.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 1.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 2.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 2.8,\n        \"connected\": [\n            {\n                \"x\": 2.1,\n                \"y\": 3.5\n            },\n            {\n                \"x\": 3.5,\n                \"y\": 3.5\n            },\n            {\n                \"x\": 2.8,\n                \"y\": 7.1\n            }\n        ]\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 3.5,\n        \"connected\": [\n            {\n                \"x\": 2.1,\n                \"y\": 7.8\n            },\n            {\n                \"x\": 2.8,\n                \"y\": 2.8\n            }\n        ]\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 4.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 4.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 5.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 1.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 2.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 2.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 3.5,\n        \"connected\": [\n            {\n                \"x\": 2.8,\n                \"y\": 2.8\n            },\n            {\n                \"x\": 3.5,\n                \"y\": 7.8\n            }\n        ]\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 4.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 4.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 5.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 6.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 7.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 2.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 3.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 4.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 4.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 5.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 6.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 7.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 7.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 8.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 4.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 4.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 5.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 6.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 7.1,\n        \"connected\": [\n            {\n                \"x\": 3.5,\n                \"y\": 7.8\n            },\n            {\n                \"x\": 2.1,\n                \"y\": 7.8\n            },\n            {\n                \"x\": 2.8,\n                \"y\": 2.8\n            }\n        ]\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 7.8,\n        \"connected\": [\n            {\n                \"x\": 3.5,\n                \"y\": 7.8\n            },\n            {\n                \"x\": 2.8,\n                \"y\": 7.1\n            },\n            {\n                \"x\": 2.1,\n                \"y\": 3.5\n            }\n        ]\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 8.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 9.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 9.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 5.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 6.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 7.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 7.8,\n        \"connected\": [\n            {\n                \"x\": 2.1,\n                \"y\": 7.8\n            },\n            {\n                \"x\": 2.8,\n                \"y\": 7.1\n            },\n            {\n                \"x\": 3.5,\n                \"y\": 3.5\n            }\n        ]\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 8.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 9.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 9.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 7.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 7.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 8.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 9.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 9.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 8.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 9.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 9.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 9.9,\n        \"connected\": []\n    }\n],\n    plottedLineX: [\n    null,\n    2.1,\n    3.5,\n    null,\n    3.5,\n    2.8,\n    null,\n    2.1,\n    2.8,\n    null,\n    2.1,\n    2.1,\n    null,\n    2.1,\n    2.8,\n    null,\n    2.8,\n    3.5,\n    null,\n    3.5,\n    3.5,\n    null,\n    2.8,\n    2.8,\n    null\n],\n    plottedLineY: [\n    null,\n    7.8,\n    7.8,\n    null,\n    7.8,\n    7.1,\n    null,\n    7.8,\n    7.1,\n    null,\n    7.8,\n    3.5,\n    null,\n    3.5,\n    2.8,\n    null,\n    2.8,\n    3.5,\n    null,\n    3.5,\n    7.8,\n    null,\n    7.1,\n    2.8,\n    null\n],\n    plottedSizeX:[\n    null,\n    null,\n    -1.4,\n    null,\n    null,\n    0.7000000000000002,\n    null,\n    null,\n    -0.6999999999999997,\n    null,\n    null,\n    0,\n    null,\n    null,\n    -0.6999999999999997,\n    null,\n    null,\n    -0.7000000000000002,\n    null,\n    null,\n    0,\n    null,\n    null,\n    0,\n    null\n],\n    plottedSizeY: [\n    null,\n    null,\n    0,\n    null,\n    null,\n    0.7000000000000002,\n    null,\n    null,\n    0.7000000000000002,\n    null,\n    null,\n    4.3,\n    null,\n    null,\n    0.7000000000000002,\n    null,\n    null,\n    -0.7000000000000002,\n    null,\n    null,\n    -4.3,\n    null,\n    null,\n    4.3,\n    null\n], starting: {\n        \"x\": 2.8,\n        \"y\": 2.8,  \n    },\n}"
        },
        {
          "Name": "pyramid",
          "Active": "true",
          "Internal": "false",
          "Type": "CODE_EDITOR",
          "Comment": "",
          "Code": "pyramid = {\n    points: [\n    {\n        \"x\": 0,\n        \"y\": 0,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 0,\n        \"connected\": []\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 0.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 1.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 0,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 0.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 1.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 2.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 2.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 0,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 0.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 1.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 2.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 2.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 3.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 4.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 0,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 0.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 1.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 2.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 2.8,\n        \"connected\": [\n            {\n                \"x\": 1.4,\n                \"y\": 4.2\n            },\n            {\n                \"x\": 4.2,\n                \"y\": 4.2\n            },\n            {\n                \"x\": 2.8,\n                \"y\": 8.5\n            }\n        ]\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 3.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 4.2,\n        \"connected\": [\n            {\n                \"x\": 2.8,\n                \"y\": 8.5\n            },\n            {\n                \"x\": 2.8,\n                \"y\": 2.8\n            }\n        ]\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 4.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 5.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 1.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 2.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 2.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 3.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 4.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 4.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 5.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 6.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 7.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 2.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 3.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 4.2,\n        \"connected\": [\n            {\n                \"x\": 2.8,\n                \"y\": 2.8\n            },\n            {\n                \"x\": 2.8,\n                \"y\": 8.5\n            }\n        ]\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 4.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 5.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 6.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 7.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 7.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 8.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 4.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 4.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 5.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 6.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 7.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 7.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 8.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 9.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 9.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 5.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 6.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 7.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 7.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 8.5,\n        \"connected\": [\n            {\n                \"x\": 1.4,\n                \"y\": 4.2\n            },\n            {\n                \"x\": 4.2,\n                \"y\": 4.2\n            },\n            {\n                \"x\": 2.8,\n                \"y\": 2.8\n            }\n        ]\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 9.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 9.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 7.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 7.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 8.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 9.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 9.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 8.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 9.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 9.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 9.9,\n        \"connected\": []\n    }\n],\n    plottedLineX: [\n    null,\n    2.8,\n    1.4,\n    null,\n    1.4,\n    2.8,\n    null,\n    2.8,\n    4.2,\n    null,\n    4.2,\n    2.8,\n    null,\n    2.8,\n    2.8,\n    null\n],\n    plottedLineY: [\n    null,\n    8.5,\n    4.2,\n    null,\n    4.2,\n    2.8,\n    null,\n    2.8,\n    4.2,\n    null,\n    4.2,\n    8.5,\n    null,\n    8.5,\n    2.8,\n    null\n],\n    plottedSizeX:[\n    null,\n    null,\n    1.4,\n    null,\n    null,\n    -1.4,\n    null,\n    null,\n    -1.4000000000000004,\n    null,\n    null,\n    1.4000000000000004,\n    null,\n    null,\n    0,\n    null\n],\n    plottedSizeY: [\n    null,\n    null,\n    4.3,\n    null,\n    null,\n    1.4000000000000004,\n    null,\n    null,\n    -1.4000000000000004,\n    null,\n    null,\n    -4.3,\n    null,\n    null,\n    5.7,\n    null\n], starting: {\n        \"x\": 2.8,\n        \"y\": 2.8,  \n    },\n}"
        },
        {
          "Name": "pyramid-diagonal",
          "Active": "true",
          "Internal": "false",
          "Type": "CODE_EDITOR",
          "Comment": "",
          "Code": "pyramidDiagonal = {\n    points: [\n    {\n        \"x\": 0,\n        \"y\": 0,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 0,\n        \"connected\": []\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 0.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 1.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 0,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 0.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 1.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 2.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 2.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 0,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 0.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 1.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 2.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 2.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 3.5,\n        \"connected\": [\n            {\n                \"x\": 1.4,\n                \"y\": 5.7\n            },\n            {\n                \"x\": 2.1,\n                \"y\": 3.5\n            }\n        ]\n    },\n    {\n        \"x\": 0,\n        \"y\": 4.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 0,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 0.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 1.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 2.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 2.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 3.5,\n        \"connected\": [\n            {\n                \"x\": 0.7,\n                \"y\": 3.5\n            },\n            {\n                \"x\": 1.4,\n                \"y\": 5.7\n            },\n            {\n                \"x\": 4.9,\n                \"y\": 4.9\n            }\n        ]\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 4.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 4.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 5.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 1.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 2.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 2.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 3.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 4.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 4.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 5.7,\n        \"connected\": [\n            {\n                \"x\": 0.7,\n                \"y\": 3.5\n            },\n            {\n                \"x\": 2.1,\n                \"y\": 3.5\n            },\n            {\n                \"x\": 4.2,\n                \"y\": 7.1\n            }\n        ]\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 6.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 7.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 2.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 3.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 4.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 4.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 5.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 6.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 7.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 7.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 8.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 4.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 4.9,\n        \"connected\": [\n            {\n                \"x\": 4.2,\n                \"y\": 7.1\n            },\n            {\n                \"x\": 2.1,\n                \"y\": 3.5\n            }\n        ]\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 5.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 6.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 7.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 7.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 8.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 9.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 9.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 5.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 6.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 7.1,\n        \"connected\": [\n            {\n                \"x\": 1.4,\n                \"y\": 5.7\n            },\n            {\n                \"x\": 4.9,\n                \"y\": 4.9\n            }\n        ]\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 7.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 8.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 9.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 9.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 7.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 7.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 8.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 9.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 9.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 8.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 9.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 9.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 9.9,\n        \"connected\": []\n    }\n],\n    plottedLineX: [\n    null,\n    1.4,\n    0.7,\n    null,\n    0.7,\n    2.1,\n    null,\n    1.4,\n    2.1,\n    null,\n    1.4,\n    4.2,\n    null,\n    4.2,\n    4.9,\n    null,\n    4.9,\n    2.1,\n    null\n],\n    plottedLineY: [\n    null,\n    5.7,\n    3.5,\n    null,\n    3.5,\n    3.5,\n    null,\n    5.7,\n    3.5,\n    null,\n    5.7,\n    7.1,\n    null,\n    7.1,\n    4.9,\n    null,\n    4.9,\n    3.5,\n    null\n],\n    plottedSizeX:[\n    null,\n    null,\n    0.7,\n    null,\n    null,\n    -1.4000000000000001,\n    null,\n    null,\n    -0.7000000000000002,\n    null,\n    null,\n    -2.8000000000000003,\n    null,\n    null,\n    -0.7000000000000002,\n    null,\n    null,\n    2.8000000000000003,\n    null\n],\n    plottedSizeY: [\n    null,\n    null,\n    2.2,\n    null,\n    null,\n    0,\n    null,\n    null,\n    2.2,\n    null,\n    null,\n    -1.3999999999999995,\n    null,\n    null,\n    2.1999999999999993,\n    null,\n    null,\n    1.4000000000000004,\n    null\n], starting: {\n        \"x\": 0.7,\n        \"y\": 3.5,  \n    },\n}"
        },
        {
          "Name": "pyramid-horizontal",
          "Active": "true",
          "Internal": "false",
          "Type": "CODE_EDITOR",
          "Comment": "",
          "Code": "pyramidHorizontal = {\n    points: [\n    {\n        \"x\": 0,\n        \"y\": 0,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 0,\n        \"connected\": []\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 0.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 1.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 0,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 0.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 1.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 2.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 2.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 0,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 0.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 1.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 2.1,\n        \"connected\": [\n            {\n                \"x\": 1.4,\n                \"y\": 4.2\n            },\n            {\n                \"x\": 3.5,\n                \"y\": 2.1\n            }\n        ]\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 2.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 3.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 4.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 0,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 0.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 1.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 2.1,\n        \"connected\": [\n            {\n                \"x\": 2.8,\n                \"y\": 4.2\n            },\n            {\n                \"x\": 2.1,\n                \"y\": 2.1\n            },\n            {\n                \"x\": 4.2,\n                \"y\": 8.5\n            }\n        ]\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 2.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 3.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 4.2,\n        \"connected\": [\n            {\n                \"x\": 2.1,\n                \"y\": 2.1\n            },\n            {\n                \"x\": 2.8,\n                \"y\": 4.2\n            },\n            {\n                \"x\": 4.2,\n                \"y\": 8.5\n            }\n        ]\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 4.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 5.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 1.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 2.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 2.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 3.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 4.2,\n        \"connected\": [\n            {\n                \"x\": 1.4,\n                \"y\": 4.2\n            },\n            {\n                \"x\": 3.5,\n                \"y\": 2.1\n            },\n            {\n                \"x\": 4.2,\n                \"y\": 8.5\n            }\n        ]\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 4.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 5.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 6.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 7.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 2.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 3.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 4.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 4.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 5.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 6.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 7.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 7.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 8.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 4.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 4.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 5.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 6.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 7.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 7.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 8.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 0.7,\n        \"y\": 9.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 0,\n        \"y\": 9.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 5.7,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 6.4,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 7.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 7.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 8.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.1,\n        \"y\": 9.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 1.4,\n        \"y\": 9.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 7.1,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 7.8,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 8.5,\n        \"connected\": [\n            {\n                \"x\": 2.8,\n                \"y\": 4.2\n            },\n            {\n                \"x\": 3.5,\n                \"y\": 2.1\n            },\n            {\n                \"x\": 1.4,\n                \"y\": 4.2\n            }\n        ]\n    },\n    {\n        \"x\": 3.5,\n        \"y\": 9.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 2.8,\n        \"y\": 9.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 8.5,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.9,\n        \"y\": 9.2,\n        \"connected\": []\n    },\n    {\n        \"x\": 4.2,\n        \"y\": 9.9,\n        \"connected\": []\n    },\n    {\n        \"x\": 5.7,\n        \"y\": 9.9,\n        \"connected\": []\n    }\n],\n    plottedLineX: [\n    null,\n    1.4,\n    2.1,\n    null,\n    1.4,\n    2.8,\n    null,\n    2.8,\n    3.5,\n    null,\n    3.5,\n    2.1,\n    null,\n    2.8,\n    4.2,\n    null,\n    4.2,\n    3.5,\n    null,\n    1.4,\n    4.2,\n    null\n],\n    plottedLineY: [\n    null,\n    4.2,\n    2.1,\n    null,\n    4.2,\n    4.2,\n    null,\n    4.2,\n    2.1,\n    null,\n    2.1,\n    2.1,\n    null,\n    4.2,\n    8.5,\n    null,\n    8.5,\n    2.1,\n    null,\n    4.2,\n    8.5,\n    null\n],\n    plottedSizeX:[\n    null,\n    null,\n    -0.7000000000000002,\n    null,\n    null,\n    -1.4,\n    null,\n    null,\n    -0.7000000000000002,\n    null,\n    null,\n    1.4,\n    null,\n    null,\n    -1.4000000000000004,\n    null,\n    null,\n    0.7000000000000002,\n    null,\n    null,\n    -2.8000000000000003,\n    null\n],\n    plottedSizeY: [\n    null,\n    null,\n    2.1,\n    null,\n    null,\n    0,\n    null,\n    null,\n    2.1,\n    null,\n    null,\n    0,\n    null,\n    null,\n    -4.3,\n    null,\n    null,\n    6.4,\n    null,\n    null,\n    -4.3,\n    null\n], starting: {\n        \"x\": 2.1,\n        \"y\": 2.1,  \n    },\n}"
        },
        {
          "Name": "init",
          "Active": "true",
          "Internal": "false",
          "Type": "CODE_EDITOR",
          "Comment": "",
          "Code": "initFunctions();"
        }
      ]
    },
    "evolution": {
      "information": {
        "FPS": "20",
        "SPD": "1",
        "RealTimeVariable": "",
        "Autoplay": "true"
      },
      "pages": []
    },
    "fixed_relations": {
      "pages": []
    },
    "custom": {
      "pages": [
        {
          "Name": "initFunctions",
          "Active": "true",
          "Internal": "false",
          "Type": "CODE_EDITOR",
          "Comment": "",
          "Code": "function initFunctions() {\n    colors = [];\n    plottedPointsX = [];\n    plottedPointsY = [];\n    plottedPoints = [];\n    selectedPlottedPoints = [];\n    plottedPointIndex = -1;\n    selectedPointIndex = -1;\n    plottedLineX = [undefined];\n    plottedLineY = [undefined];\n    plottedSizeX = [undefined];\n    plottedSizeY = [undefined];\n    onchangeShape();\n    initShape();\n}"
        },
        {
          "Name": "initShape",
          "Active": "true",
          "Internal": "false",
          "Type": "undefined",
          "Comment": "",
          "Code": "function initShape() {\n    initPlottedPoints();\n}"
        },
        {
          "Name": "initPlottedPoints",
          "Active": "true",
          "Internal": "false",
          "Type": "CODE_EDITOR",
          "Comment": "",
          "Code": "function initPlottedPoints() {\n    plottedPointIndex = -1;\n    selectedPointIndex = -1;\n\n    const tickSeparation = 1;\n\n    plottedPointsX = [];\n    plottedPointsY = [];\n    plottedPoints = [];\n\n    for (let x = -graphY; x <= graphX + graphY; x += tickSeparation) {\n        for (let y = -graphX; y <= graphY + graphX; y += tickSeparation) {\n            let isoX = (x - y) * tickSeparation / Math.sqrt(2);\n            let isoY = (x + y) * tickSeparation / Math.sqrt(2);\n\n            isoX = Math.round(isoX * 10) / 10;\n            isoY = Math.round(isoY * 10) / 10;\n\n            if (isoX >= 0 && isoY >= 0 && isoX <= graphX && isoY <= graphY) {\n                plottedPointsX.push(isoX);\n                plottedPointsY.push(isoY);\n                plottedPoints.push({\n                    x: isoX,\n                    y: isoY,\n                    connected: []\n                });\n                const points = shapePointsMap[selectedShape].starting;\n                if (isoX === points.x && isoY === points.y) {\n                    colors.push(\"Red\");\n                } else {\n                    colors.push(\"LightGray\");\n                }\n            }\n        }\n    }\n\n    selectedPlottedPoints = Array(plottedPointsX.length).fill(0);\n    \n}\n"
        },
        {
          "Name": "onClickPlottedPoints",
          "Active": "true",
          "Internal": "false",
          "Type": "CODE_EDITOR",
          "Comment": "",
          "Code": "function onClickPlottedPoints (plottedPointIndex) {\n    if (selectedPointIndex === -1) {\n        selectedPointIndex = plottedPointIndex;\n        selectedPlottedPoints[selectedPointIndex] = 2;\n    } else if (selectedPointIndex === plottedPointIndex) {\n        selectedPointIndex = -1;\n        selectedPlottedPoints[plottedPointIndex] = 0;\n    } else {\n        plottedLineX.push(plottedPointsX[selectedPointIndex]);\n        plottedLineY.push(plottedPointsY[selectedPointIndex]);\n        plottedLineX.push(plottedPointsX[plottedPointIndex]);\n        plottedLineY.push(plottedPointsY[plottedPointIndex]);\n        plottedLineX.push(undefined);\n        plottedLineY.push(undefined);\n        \n        plottedSizeX.push(undefined);\n        plottedSizeY.push(undefined);\n        plottedSizeX.push(plottedPointsX[selectedPointIndex] - plottedPointsX[plottedPointIndex]);\n        plottedSizeY.push(plottedPointsY[selectedPointIndex] - plottedPointsY[plottedPointIndex]);\n        plottedSizeX.push(undefined);\n        plottedSizeY.push(undefined);\n        \n        \n        plottedPoints[selectedPointIndex].connected.push({x: plottedPointsX[plottedPointIndex], y: plottedPointsY[plottedPointIndex]})\n        plottedPoints[plottedPointIndex].connected.push({x: plottedPointsX[selectedPointIndex], y: plottedPointsY[selectedPointIndex]})\n        \n        selectedPlottedPoints[selectedPointIndex] = 0\n        selectedPointIndex = -1;\n        plottedPointIndex = -1;\n        \n    }\n    \n    // console.log(plottedPoints);\n    // console.log(plottedLineX);\n    // console.log(plottedLineY);\n    // console.log(plottedSizeX);\n    // console.log(plottedSizeY);\n}"
        },
        {
          "Name": "onChangeShape",
          "Active": "true",
          "Internal": "false",
          "Type": "CODE_EDITOR",
          "Comment": "",
          "Code": "function onchangeShape () {\n    shapePointsMap = {\n        cube: cube,\n        cuboid: cuboid,\n        prism: prism,\n        pyramid: pyramid,\n        \"pyramid-diagonal\": pyramidDiagonal,\n        \"pyramid-horizontal\": pyramidHorizontal,\n    };\n\n    selectedShapePoints = shapePointsMap[selectedShape].points || null;\n    shapeLineX = shapePointsMap[selectedShape].plottedLineX || null;\n    shapeLineY = shapePointsMap[selectedShape].plottedLineY || null;\n    shapeSizeX = shapePointsMap[selectedShape].plottedSizeX || null;\n    shapeSizeY = shapePointsMap[selectedShape].plottedSizeY || null;\n}"
        },
        {
          "Name": "check",
          "Active": "true",
          "Internal": "false",
          "Type": "CODE_EDITOR",
          "Comment": "",
          "Code": "function arePointsEqual(point1, point2) {\n    if (point1.x !== point2.x || point1.y !== point2.y) return false;\n\n    if (point1.connected.length !== point2.connected.length) return false;\n\n    const connected1 = point1.connected.map(JSON.stringify).sort();\n    const connected2 = point2.connected.map(JSON.stringify).sort();\n\n    return JSON.stringify(connected1) === JSON.stringify(connected2);\n}\n\nfunction check() {\n\n    if (selectedShapePoints.length !== plottedPoints.length) return false;\n\n    const matchedPoints = [...plottedPoints];\n\n    for (const point of selectedShapePoints) {\n        const index = matchedPoints.findIndex(plottedPoint => arePointsEqual(point, plottedPoint));\n        if (index === -1) {\n            alert(\"Incorrect Try Again!\");\n            initFunctions();\n            return;\n        }\n        matchedPoints.splice(index, 1);\n    }\n    \n    \n    alert(\"Nice! Try a Different Shape!\");\n    initFunctions();\n    return;\n}"
        }
      ]
    },
    "elements": {
      "list": []
    }
  },
  "view": {
    "Tree": [
      {
        "Name": "wrapper",
        "Type": "Panel",
        "Expanded": "true",
        "Properties": [],
        "Children": [
          {
            "Name": "first_row",
            "Type": "Panel",
            "Expanded": "true",
            "Properties": [
              {
                "name": "CSS",
                "value": "\"{ margin-bottom: 10px }\""
              }
            ],
            "Children": [
              {
                "Name": "description",
                "Type": "Label",
                "Properties": [
                  {
                    "name": "Text",
                    "value": "\"Draw the respective shape on the Isometric Grid. Make sure to start from the red dot\""
                  },
                  {
                    "name": "CSS",
                    "value": "\"{ margin-right: 10px }\""
                  }
                ]
              }
            ]
          },
          {
            "Name": "second_row",
            "Type": "Panel",
            "Expanded": "true",
            "Properties": [
              {
                "name": "CSS",
                "value": "\"{ margin-bottom: 10px }\""
              }
            ],
            "Children": [
              {
                "Name": "shape",
                "Type": "ComboBox",
                "Properties": [
                  {
                    "name": "CSS",
                    "value": "\"{ margin-right: 10px }\""
                  },
                  {
                    "name": "Options",
                    "value": "[\"cube\", \"cuboid\", \"prism\", \"pyramid\", \"pyramid-diagonal\", \"pyramid-horizontal\"]"
                  },
                  {
                    "name": "OnChange",
                    "value": "var opts = _view.shape.getProperty(\"SelectedOptions\");  \nselectedShape= (opts.length > 0)? opts[0]:\"\";\ninitFunctions();"
                  }
                ]
              },
              {
                "Name": "clear",
                "Type": "Button",
                "Properties": [
                  {
                    "name": "Text",
                    "value": "\"clear\""
                  },
                  {
                    "name": "CSS",
                    "value": "\"{ margin-right: 10px }\""
                  },
                  {
                    "name": "OnPress",
                    "value": "initFunctions();"
                  }
                ]
              },
              {
                "Name": "check",
                "Type": "Button",
                "Properties": [
                  {
                    "name": "Text",
                    "value": "\"check\""
                  },
                  {
                    "name": "OnPress",
                    "value": "check();"
                  }
                ]
              }
            ]
          },
          {
            "Name": "shapePanel",
            "Type": "PlottingPanel",
            "Expanded": "true",
            "Properties": [
              {
                "name": "AutoScaleX",
                "value": "false"
              },
              {
                "name": "AutoScaleY",
                "value": "false"
              },
              {
                "name": "MinimumX",
                "value": "0"
              },
              {
                "name": "MaximumX",
                "value": "graphX"
              },
              {
                "name": "MinimumY",
                "value": "0"
              },
              {
                "name": "MaximumY",
                "value": "graphY"
              },
              {
                "name": "Enabled",
                "value": "true"
              },
              {
                "name": "Width",
                "value": "\"500px\""
              },
              {
                "name": "Height",
                "value": "\"500px\""
              },
              {
                "name": "Gutters",
                "value": "[0,0,0,0]"
              },
              {
                "name": "XFixedTick",
                "value": "0"
              },
              {
                "name": "XTickStep",
                "value": "1"
              },
              {
                "name": "YFixedTick",
                "value": "0"
              },
              {
                "name": "YTickStep",
                "value": "1"
              },
              {
                "name": "GridXShow",
                "value": "false"
              },
              {
                "name": "XAutoTicks",
                "value": "false"
              },
              {
                "name": "YAutoTicks",
                "value": "false"
              },
              {
                "name": "GridYShow",
                "value": "false"
              },
              {
                "name": "AxisXShow",
                "value": "false"
              },
              {
                "name": "AxisYShow",
                "value": "false"
              },
              {
                "name": "CSS",
                "value": "\"{ margin-right: 10px }\""
              }
            ],
            "Children": [
              {
                "Name": "shapeLine",
                "Type": "SegmentSet2D",
                "Properties": [
                  {
                    "name": "NumberOfElements",
                    "value": "shapeLineX.length"
                  },
                  {
                    "name": "X",
                    "value": "shapeLineX"
                  },
                  {
                    "name": "Y",
                    "value": "shapeLineY"
                  },
                  {
                    "name": "SizeX",
                    "value": "shapeSizeX"
                  },
                  {
                    "name": "SizeY",
                    "value": "shapeSizeY"
                  },
                  {
                    "name": "LineWidth",
                    "value": "5"
                  }
                ]
              }
            ]
          },
          {
            "Name": "canvasPanel",
            "Type": "PlottingPanel",
            "Expanded": "true",
            "Properties": [
              {
                "name": "AutoScaleX",
                "value": "false"
              },
              {
                "name": "AutoScaleY",
                "value": "false"
              },
              {
                "name": "MinimumX",
                "value": "0"
              },
              {
                "name": "MaximumX",
                "value": "graphX"
              },
              {
                "name": "MinimumY",
                "value": "0"
              },
              {
                "name": "MaximumY",
                "value": "graphY"
              },
              {
                "name": "Enabled",
                "value": "true"
              },
              {
                "name": "Width",
                "value": "\"500px\""
              },
              {
                "name": "Height",
                "value": "\"500px\""
              },
              {
                "name": "Gutters",
                "value": "[0,0,0,0]"
              },
              {
                "name": "XFixedTick",
                "value": "0"
              },
              {
                "name": "XTickStep",
                "value": "1"
              },
              {
                "name": "YFixedTick",
                "value": "0"
              },
              {
                "name": "YTickStep",
                "value": "1"
              },
              {
                "name": "GridXShow",
                "value": "false"
              },
              {
                "name": "XAutoTicks",
                "value": "false"
              },
              {
                "name": "YAutoTicks",
                "value": "false"
              },
              {
                "name": "GridYShow",
                "value": "false"
              },
              {
                "name": "AxisXShow",
                "value": "false"
              },
              {
                "name": "AxisYShow",
                "value": "false"
              }
            ],
            "Children": [
              {
                "Name": "plottedPoints",
                "Type": "ShapeSet2D",
                "Properties": [
                  {
                    "name": "NumberOfElements",
                    "value": "plottedPointsX.length"
                  },
                  {
                    "name": "X",
                    "value": "plottedPointsX"
                  },
                  {
                    "name": "Y",
                    "value": "plottedPointsY"
                  },
                  {
                    "name": "SizeX",
                    "value": "0.2"
                  },
                  {
                    "name": "SizeY",
                    "value": "0.2"
                  },
                  {
                    "name": "ElementInteracted",
                    "value": "plottedPointIndex"
                  },
                  {
                    "name": "EnabledPosition",
                    "value": "\"ENABLED_NO_MOVE\""
                  },
                  {
                    "name": "OnPress",
                    "value": "onClickPlottedPoints(plottedPointIndex)"
                  },
                  {
                    "name": "ShapeType",
                    "value": "\"ELLIPSE\""
                  },
                  {
                    "name": "LineWidth",
                    "value": "selectedPlottedPoints"
                  },
                  {
                    "name": "FillColor",
                    "value": "colors"
                  }
                ]
              },
              {
                "Name": "plottedLine",
                "Type": "SegmentSet2D",
                "Properties": [
                  {
                    "name": "NumberOfElements",
                    "value": "plottedLineX.length"
                  },
                  {
                    "name": "Y",
                    "value": "plottedLineY"
                  },
                  {
                    "name": "X",
                    "value": "plottedLineX"
                  },
                  {
                    "name": "SizeX",
                    "value": "plottedSizeX"
                  },
                  {
                    "name": "SizeY",
                    "value": "plottedSizeY"
                  },
                  {
                    "name": "LineColor",
                    "value": "\"Black\""
                  },
                  {
                    "name": "LineWidth",
                    "value": "5"
                  }
                ]
              }
            ]
          }
        ]
      }
    ],
    "RootProperties": []
  },
  "metadata": {
    "APP": "WebEJS",
    "CreatedWith": "WebEJS : The web version of Easy JavaScript Simulations",
    "MoreInfo": "WebEJS 1.1",
    "version": "https://www.um.es/fem/wikis/webejs/"
  }
}