{ "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":"TestCycleTimeStart.x3d"
          },
          {
            "@name":"creator",
            "@content":"Andreas"
          },
          {
            "@name":"creator",
            "@content":"Joe D. Williams"
          },
          {
            "@name":"description",
            "@content":"Test design patterns for animation control."
          },
          {
            "@name":"created",
            "@content":"10 September 2023"
          },
          {
            "@name":"modified",
            "@content":"19 September 2023"
          },
          {
            "@name":"reference",
            "@content":"https://www.web3d.org/x3d/content/examples/ConformanceNist/Sensors/TimeSensor/cycletimeIndex.html"
          },
          {
            "@name":"reference",
            "@content":"https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/HumanoidAnimation/WinterAndSpring/originals/cycleTimeStart.x3d"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/HumanoidAnimation/WinterAndSpring/TestCycleTimeStart.x3d"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit"
          },
          {
            "@name":"license",
            "@content":"../license.html"
          },
          {
            "@name":"translated",
            "@content":"23 February 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":"TestCycleTimeStart.x3d"
            }
          },
          { "Viewpoint":
            {
              "@description":"hello in there"
            }
          },
          { "TimeSensor":
            {
              "@DEF":"REDTIME1",
              "@loop":true
            }
          },
          { "TimeSensor":
            {
              "@DEF":"GREENTIME2",
              "@cycleInterval":5
            }
          },
          { "TimeSensor":
            {
              "@DEF":"BLUETIME3",
              "@cycleInterval":10
            }
          },
          { "BooleanFilter":
            {
              "@DEF":"GREENFILTER"
            }
          },
          { "TimeTrigger":
            {
              "@DEF":"BLUETRIGGER"
            }
          },
          { "ROUTE":
            {
              "@fromField":"cycleTime",
              "@fromNode":"REDTIME1",
              "@toField":"set_stopTime",
              "@toNode":"REDTIME1"
            }
          },
          { "ROUTE":
            {
              "@fromField":"stopTime",
              "@fromNode":"REDTIME1",
              "@toField":"set_startTime",
              "@toNode":"GREENTIME2"
            }
          },
          { "ROUTE":
            {
              "@fromField":"isActive",
              "@fromNode":"GREENTIME2",
              "@toField":"set_boolean",
              "@toNode":"GREENFILTER"
            }
          },
          { "ROUTE":
            {
              "@fromField":"inputFalse",
              "@fromNode":"GREENFILTER",
              "@toField":"set_boolean",
              "@toNode":"BLUETRIGGER"
            }
          },
          { "ROUTE":
            {
              "@fromField":"triggerTime",
              "@fromNode":"BLUETRIGGER",
              "@toField":"set_startTime",
              "@toNode":"BLUETIME3"
            }
          },
          { "Transform":
            {
              "@DEF":"REDBALL",
              "-children":[
                { "Shape":
                  {
                    "-appearance":
                      { "Appearance":
                        {
                          "-material":
                            { "Material":
                              {
                                "@diffuseColor":[1,0,0]
                              }
                            }
                        }
                      },
                    "-geometry":
                      { "Sphere":
                        {
                        }
                      }
                  }
                }
              ]
            }
          },
          { "Transform":
            {
              "@DEF":"GREENBALL",
              "-children":[
                { "Shape":
                  {
                    "-appearance":
                      { "Appearance":
                        {
                          "-material":
                            { "Material":
                              {
                                "@diffuseColor":[0,1,0]
                              }
                            }
                        }
                      },
                    "-geometry":
                      { "Sphere":
                        {
                        }
                      }
                  }
                }
              ]
            }
          },
          { "Transform":
            {
              "@DEF":"BLUEBALL",
              "-children":[
                { "Shape":
                  {
                    "-appearance":
                      { "Appearance":
                        {
                          "-material":
                            { "Material":
                              {
                                "@diffuseColor":[0,0,1]
                              }
                            }
                        }
                      },
                    "-geometry":
                      { "Sphere":
                        {
                        }
                      }
                  }
                }
              ]
            }
          },
          { "PositionInterpolator":
            {
              "@DEF":"REDINTERP1",
              "@key":[0,0.25,0.5,0.75,1],
              "@keyValue":[0,0,0,2,0,0,0,0,0,-2,0,0,0,0,0]
            }
          },
          { "PositionInterpolator":
            {
              "@DEF":"GREENINTERP2",
              "@key":[0,0.25,0.5,0.75,1],
              "@keyValue":[0,0,0,0,2,0,0,0,0,0,-2,0,0,0,0]
            }
          },
          { "PositionInterpolator":
            {
              "@DEF":"BLUEINTERP3",
              "@key":[0,0.25,0.5,0.75,1],
              "@keyValue":[0,0,0,0,-2,0,0,0,0,0,2,0,0,0,0]
            }
          },
          { "ROUTE":
            {
              "@fromField":"fraction_changed",
              "@fromNode":"REDTIME1",
              "@toField":"set_fraction",
              "@toNode":"REDINTERP1"
            }
          },
          { "ROUTE":
            {
              "@fromField":"value_changed",
              "@fromNode":"REDINTERP1",
              "@toField":"set_translation",
              "@toNode":"REDBALL"
            }
          },
          { "ROUTE":
            {
              "@fromField":"fraction_changed",
              "@fromNode":"GREENTIME2",
              "@toField":"set_fraction",
              "@toNode":"GREENINTERP2"
            }
          },
          { "ROUTE":
            {
              "@fromField":"value_changed",
              "@fromNode":"GREENINTERP2",
              "@toField":"set_translation",
              "@toNode":"GREENBALL"
            }
          },
          { "ROUTE":
            {
              "@fromField":"fraction_changed",
              "@fromNode":"BLUETIME3",
              "@toField":"set_fraction",
              "@toNode":"BLUEINTERP3"
            }
          },
          { "ROUTE":
            {
              "@fromField":"value_changed",
              "@fromNode":"BLUEINTERP3",
              "@toField":"set_translation",
              "@toNode":"BLUEBALL"
            }
          }
        ]
    }
  }
}