{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Interchange",
    "@version":"3.3",
    "@xsd:noNamespaceSchemaLocation":"https://www.web3d.org/specifications/x3d-3.3.xsd",
    "JSON schema":"https://www.web3d.org/specifications/x3d-4.0-JSONSchema.autogenerated.json",
    "head": {
        "meta": [
          {
            "@name":"title",
            "@content":"MorphingTriangleSet.x3d"
          },
          {
            "@name":"description",
            "@content":"Animated example of a morphing TriangleSet"
          },
          {
            "@name":"created",
            "@content":"1 January 2007"
          },
          {
            "@name":"modified",
            "@content":"27 July 2024"
          },
          {
            "@name":"creator",
            "@content":"Leonard Daly and Don Brutzman"
          },
          {
            "@name":"reference",
            "@content":"https://X3dGraphics.com"
          },
          {
            "@name":"reference",
            "@content":"https://www.web3d.org/x3d/content/examples/X3dResources.html"
          },
          {
            "@name":"rights",
            "@content":"Copyright Don Brutzman and Leonard Daly 2007"
          },
          {
            "@name":"subject",
            "@content":"X3D book, X3D graphics, X3D-Edit, http://www.x3dGraphics.com"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3.org/x3d/content/examples/X3dForWebAuthors/Chapter13GeometryTrianglesQuadrilaterals/MorphingTriangleSetExample.x3d"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit"
          },
          {
            "@name":"license",
            "@content":"../license.html"
          },
          {
            "@name":"translated",
            "@content":"17 April 2026"
          },
          {
            "@name":"generator",
            "@content":"X3dToJson.xslt, https://www.web3d.org/x3d/stylesheets/X3dToJson.html"
          },
          {
            "@name":"reference",
            "@content":"X3D JSON encoding: https://www.web3d.org/wiki/index.php/X3D_JSON_Encoding"
          }
        ]
    },
    "Scene": {
        "-children":[
          { "WorldInfo":
            {
              "@title":"MorphingTriangleSet.x3d"
            }
          },
          { "Viewpoint":
            {
              "@description":"Book View - Cube",
              "@orientation":[-0.742,0.635,0.215,0.81],
              "@position":[5.71,6.54,7.99]
            }
          },
          { "Viewpoint":
            {
              "@description":"Book View - Pyramid",
              "@orientation":[-0.044,0.998,0.037,0.72],
              "@position":[5.5,1.68,4.41]
            }
          },
          { "Background":
            {
              "@skyColor":[1,1,1]
            }
          },
          { "Transform":
            {
              "@rotation":[1,0,0,0],
              "-children":[
                { "Shape":
                  {
                    "-geometry":
                      { "TriangleSet":
                        {
                          "@solid":false,
                          "-coord":
                            { "Coordinate":
                              {
                                "@DEF":"Points",
                                "@point":[0,0,0,4,0,0,2,1.15,0,4,0,0,2,3.46,0,2,1.15,0,2,3.46,0,0,0,0,2,1.15,0,0,0,0,4,0,0,2,1.15,1.15,4,0,0,2,1.73,3,2,1.15,1.15,2,1.73,3,0,0,0,2,1.15,1.15,4,0,0,2,3.46,0,3,2.31,1.15,2,3.46,0,2,1.73,3,3,2.31,1.15,2,1.73,3,4,0,0,3,2.31,1.15,2,3.46,0,0,0,0,1,2.31,1.15,0,0,0,2,1.73,3,1,2.31,1.15,2,1.73,3,2,3.46,0,1,2.31,1.15]
                              }
                            },
                          "-color":
                            { "Color":
                              {
                                "@color":[1,0.0,0,0,0.8,0,1,0.5,0,0,0.8,0,0,0.0,1,1,0.5,0,0,0.0,1,1,0.0,0,1,0.5,0,1.0,0.0,0.0,0.0,0.8,0.0,1,0,1,0.0,0.8,0.0,0.7,0.3,0.4,1,0,1,0.7,0.3,0.4,1.0,0.0,0.0,1,0,1,0.0,0.8,0.0,0.0,0.0,1.0,0,1,1,0.0,0.0,1.0,0.7,0.3,0.4,0,1,1,0.7,0.3,0.4,0.0,0.8,0.0,0,1,1,0.0,0.0,1.0,1.0,0.0,0.0,1,1,0,1.0,0.0,0.0,0.7,0.3,0.4,1,1,0,0.7,0.3,0.4,0.0,0.0,1.0,1,1,0]
                              }
                            }
                        }
                      }
                  }
                }
              ]
            }
          },
          { "TimeSensor":
            {
              "@DEF":"Timer",
              "@cycleInterval":30,
              "@loop":true,
              "@startTime":1
            }
          },
          { "CoordinateInterpolator":
            {
              "@DEF":"Mover",
              "@key":[0,0.2,0.5,0.7],
              "@keyValue":[0,0,0,4,0,0,2,1.15,0,4,0,0,2,3.46,0,2,1.15,0,2,3.46,0,0,0,0,2,1.15,0,0,0,0,4,0,0,2,0.58,0.58,4,0,0,2,1.73,3,2,0.58,0.58,2,1.73,3,0,0,0,2,0.58,0.58,4,0,0,2,3.46,0,3,2.31,0.58,2,3.46,0,2,1.73,3,3,2.31,0.58,2,1.73,3,4,0,0,3,2.31,0.58,2,3.46,0,0,0,0,1,2.31,0.58,0,0,0,2,1.73,3,1,2.31,0.58,2,1.73,3,2,3.46,0,1,2.31,0.58,0,0,0,4,0,0,0,4,0,4,0,0,4,4,0,0,4,0,0,0,4,0,0,0,0,4,0,0,0,0,4,0,0,0,0,4,4,0,0,4,0,4,0,0,4,4,0,4,0,0,4,4,4,4,4,0,0,4,4,0,4,4,4,4,4,0,0,4,4,4,4,4,4,0,4,4,0,0,4,4,4,0,4,4,0,0,4,4,4,4,0,0,4,0,4,4,0,4,0,0,4,4,4,4,0,0,4,0,0,0,0,4,0,0,0,4,0,4,0,0,4,4,0,0,4,0,0,0,4,0,0,0,0,4,0,0,0,0,4,0,0,0,0,4,4,0,0,4,0,4,0,0,4,4,0,4,0,0,4,4,4,4,4,0,0,4,4,0,4,4,4,4,4,0,0,4,4,4,4,4,4,0,4,4,0,0,4,4,4,0,4,4,0,0,4,4,4,4,0,0,4,0,4,4,0,4,0,0,4,4,4,4,0,0,4,0,0,0,0,4,0,0,2,1.15,0,4,0,0,2,3.46,0,2,1.15,0,2,3.46,0,0,0,0,2,1.15,0,0,0,0,4,0,0,2,0.58,0.58,4,0,0,2,1.73,3,2,0.58,0.58,2,1.73,3,0,0,0,2,0.58,0.58,4,0,0,2,3.46,0,3,2.31,0.58,2,3.46,0,2,1.73,3,3,2.31,0.58,2,1.73,3,4,0,0,3,2.31,0.58,2,3.46,0,0,0,0,1,2.31,0.58,0,0,0,2,1.73,3,1,2.31,0.58,2,1.73,3,2,3.46,0,1,2.31,0.58]
            }
          },
          { "ROUTE":
            {
              "@fromField":"fraction_changed",
              "@fromNode":"Timer",
              "@toField":"set_fraction",
              "@toNode":"Mover"
            }
          },
          { "ROUTE":
            {
              "@fromField":"value_changed",
              "@fromNode":"Mover",
              "@toField":"point",
              "@toNode":"Points"
            }
          }
        ]
    }
  }
}