{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Interactive",
    "@version":"3.0",
    "@xsd:noNamespaceSchemaLocation":"https://www.web3d.org/specifications/x3d-3.0.xsd",
    "JSON schema":"https://www.web3d.org/specifications/x3d-4.0-JSONSchema.autogenerated.json",
    "head": {
        "meta": [
          {
            "@name":"title",
            "@content":"Example13_2.x3d"
          },
          {
            "@name":"translator",
            "@content":"Don Brutzman"
          },
          {
            "@name":"created",
            "@content":"26 June 2000"
          },
          {
            "@name":"modified",
            "@content":"28 October 2019"
          },
          {
            "@name":"creator",
            "@content":"X3D working group"
          },
          {
            "@name":"description",
            "@content":"VRML 97 specification example: click to animate a Box."
          },
          {
            "@name":"reference",
            "@content":"originals/exampleD_13_2.wrl"
          },
          {
            "@name":"specificationSection",
            "@content":"VRML 97, ISO/IEC 14772-1, Part 1: Functional specification and UTF-8 encoding, D.13.2 Click to animate"
          },
          {
            "@name":"specificationUrl",
            "@content":"https://www.web3d.org/documents/specifications/14772/V2.0/part1/examples.html#D.13.2"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/Basic/Vrml97Specification/Example13_2.x3d"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit"
          },
          {
            "@name":"license",
            "@content":"../license.html"
          },
          {
            "@name":"translated",
            "@content":"20 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":"Example13_2.x3d"
            }
          },
          { "Transform":
            {
              "@DEF":"XForm",
              "-children":[
                { "Shape":
                  {
                    "-geometry":
                      { "Box":
                        {
                        }
                      },
                    "-appearance":
                      { "Appearance":
                        {
                          "-material":
                            { "Material":
                              {
                                "@diffuseColor":[1.0,0.0,0.0]
                              }
                            }
                        }
                      }
                  }
                },
                { "TouchSensor":
                  {
                    "@DEF":"Clicker",
                    "@description":"touch to start spin cycle"
                  }
                },
                { "TimeSensor":
                  {
                    "@DEF":"TimeSource",
                    "@cycleInterval":2.0
                  }
                },
                { "OrientationInterpolator":
                  {
                    "@DEF":"Animation",
                    "@key":[0.0,0.33,0.66,1.0],
                    "@keyValue":[0.0,1.0,0.0,0.0,0.0,1.0,0.0,2.1,0.0,1.0,0.0,4.2,0.0,1.0,0.0,0.0]
                  }
                }
              ]
            }
          },
          { "ROUTE":
            {
              "@fromField":"touchTime",
              "@fromNode":"Clicker",
              "@toField":"startTime",
              "@toNode":"TimeSource"
            }
          },
          { "ROUTE":
            {
              "@fromField":"fraction_changed",
              "@fromNode":"TimeSource",
              "@toField":"set_fraction",
              "@toNode":"Animation"
            }
          },
          { "ROUTE":
            {
              "@fromField":"value_changed",
              "@fromNode":"Animation",
              "@toField":"rotation",
              "@toNode":"XForm"
            }
          }
        ]
    }
  }
}