{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Immersive",
    "@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":"SharkLeftyLocale.x3d"
          },
          {
            "@name":"description",
            "@content":"Lefty Shark with animation to traverse the tank"
          },
          {
            "@name":"creator",
            "@content":"Tim McLean"
          },
          {
            "@name":"translator",
            "@content":"Don Brutzman"
          },
          {
            "@name":"created",
            "@content":"1 June 1998"
          },
          {
            "@name":"modified",
            "@content":"20 October 2019"
          },
          {
            "@name":"reference",
            "@content":"http://faculty.nps.edu/brutzman/kelp"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/KelpForestExhibit/SharkLeftyLocale.x3d"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 3.3, 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":"SharkLeftyLocale.x3d"
            }
          },
          { "Transform":
            {
              "@DEF":"_0",
              "@translation":[0.0,-5.5,-1.0],
              "-children":[
                { "Inline":
                  {
                    "@url":["SharkLefty.x3d","https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/KelpForestExhibit/SharkLefty.x3d","SharkLefty.wrl","https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/KelpForestExhibit/SharkLefty.wrl"]
                  }
                },
                { "Group":
                  {
                    "-children":[
                      { "TimeSensor":
                        {
                          "@DEF":"SHARK2_CLOCK",
                          "@cycleInterval":110.0,
                          "@loop":true
                        }
                      },
                      { "PositionInterpolator":
                        {
                          "@DEF":"SHARK2_POSITION",
                          "@key":[0.0,0.152,0.194,0.224,0.288,0.35,0.427,0.549,0.632,0.7,0.813,1.0],
                          "@keyValue":[0.0,-4.25,-1.0,3.75,-4.5,-0.75,4.75,-4.5,-1.0,4.75,-4.5,-2.0,3.25,-4.0,-2.5,1.75,-4.0,-2.75,0.0,-4.0,-3.25,-3.0,-3.5,-4.0,-5.0,-4.0,-2.5,-5.75,-4.5,0.0,-4.5,-4.5,0.25,0.0,-4.25,-1.0]
                        }
                      },
                      { "OrientationInterpolator":
                        {
                          "@DEF":"SHARK2_ORIENTATION",
                          "@key":[0.0,0.152,0.194,0.224,0.288,0.35,0.427,0.549,0.632,0.7,0.813,1.0],
                          "@keyValue":[0.0,1.0,0.0,6.2134,0.0,1.0,0.0,0.244,0.0,1.0,0.0,1.57,0.1564,0.9974,-0.0262,2.8141,0.0,1.0,0.0,2.967,0.0,1.0,0.0,2.7227,0.0872,0.9961,-0.0107,2.8982,-0.1218,0.9917,-0.0407,3.7824,-0.1469,0.9832,-0.1087,4.3995,0.0,1.0,0.0,6.0912,0.0,1.0,0.0,0.2618,0.0,1.0,0.0,6.2134]
                        }
                      }
                    ]
                  }
                }
              ]
            }
          },
          { "TimeSensor":
            {
              "@DEF":"_4",
              "@loop":true
            }
          },
          { "Script":
            {
              "@DEF":"sharkSwimmingInTankTrigger_5",
              "field": [
                {
                  "@name":"triggerIn",
                  "@accessType":"inputOnly",
                  "@type":"SFTime"
                },
                {
                  "@name":"startTime",
                  "@accessType":"outputOnly",
                  "@type":"SFTime"
                },
                {
                  "@name":"firstTime",
                  "@accessType":"outputOnly",
                  "@type":"SFBool"
                }
              ],
              "#sourceCode":[
"",
"",
"ecmascript:",
"",
"function triggerIn (value, time) ",
"{",
"\tstartTime = value;",
"\tfirstTime = false;",
"}",
"",
""
]
            }
          },
          { "ROUTE":
            {
              "@fromField":"startTime",
              "@fromNode":"sharkSwimmingInTankTrigger_5",
              "@toField":"set_startTime",
              "@toNode":"SHARK2_CLOCK"
            }
          },
          { "ROUTE":
            {
              "@fromField":"fraction_changed",
              "@fromNode":"SHARK2_CLOCK",
              "@toField":"set_fraction",
              "@toNode":"SHARK2_POSITION"
            }
          },
          { "ROUTE":
            {
              "@fromField":"fraction_changed",
              "@fromNode":"SHARK2_CLOCK",
              "@toField":"set_fraction",
              "@toNode":"SHARK2_ORIENTATION"
            }
          },
          { "ROUTE":
            {
              "@fromField":"value_changed",
              "@fromNode":"SHARK2_POSITION",
              "@toField":"set_translation",
              "@toNode":"_0"
            }
          },
          { "ROUTE":
            {
              "@fromField":"value_changed",
              "@fromNode":"SHARK2_ORIENTATION",
              "@toField":"set_rotation",
              "@toNode":"_0"
            }
          },
          { "ROUTE":
            {
              "@fromField":"firstTime",
              "@fromNode":"sharkSwimmingInTankTrigger_5",
              "@toField":"set_enabled",
              "@toNode":"_4"
            }
          },
          { "ROUTE":
            {
              "@fromField":"time",
              "@fromNode":"_4",
              "@toField":"triggerIn",
              "@toNode":"sharkSwimmingInTankTrigger_5"
            }
          }
        ]
    }
  }
}