{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Immersive",
    "@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":"PhysicsBasedExplosionExample.x3d"
          },
          {
            "@name":"description",
            "@content":"Click on the text to trigger an exemplar of the physics-based explosion model prototype."
          },
          {
            "@name":"creator",
            "@content":"James Harney"
          },
          {
            "@name":"created",
            "@content":"28 October 2001"
          },
          {
            "@name":"modified",
            "@content":"20 October 2019"
          },
          {
            "@name":"reference",
            "@content":"http://www.foia.navy.mil/usscole/index.html"
          },
          {
            "@name":"reference",
            "@content":"http//www.fas.org/man/dod-101/navy/docs/es310/warheads/Warheads.htm"
          },
          {
            "@name":"reference",
            "@content":"http//www.fas.org/man/dod-101/navy/docs/es310/dam_crit/dam_crit.htm"
          },
          {
            "@name":"reference",
            "@content":"http//www.eqe.com/publications/revf94/blast.htm"
          },
          {
            "@name":"reference",
            "@content":"http//www.siggraph.org/education/materials/HyperGraph/animation/particle.htm"
          },
          {
            "@name":"subject",
            "@content":"TNT Equivalency Based Explosion, VRML X3D"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/Savage/Scenarios/UssColeTerroristAttack/PhysicsBasedExplosionExample.x3d"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit"
          },
          {
            "@name":"license",
            "@content":"../../license.html"
          },
          {
            "@name":"translated",
            "@content":"26 March 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":"PhysicsBasedExplosionExample.x3d"
            }
          },
          { "ExternProtoDeclare":
            {
              "@name":"TNTBasedExplosion",
              "@appinfo":"Physics-based explosion model",
              "@url":["PhysicsBasedExplosionPrototype.x3d#TNTBasedExplosion","https://www.web3d.org/x3d/content/examples/Savage/Scenarios/UssColeTerroristAttack/PhysicsBasedExplosionPrototype.x3d#TNTBasedExplosion","PhysicsBasedExplosionPrototype.wrl#TNTBasedExplosion","https://www.web3d.org/x3d/content/examples/Savage/Scenarios/UssColeTerroristAttack/PhysicsBasedExplosionPrototype.wrl#TNTBasedExplosion"],
              "field": [
                {
                  "@name":"startExplosion",
                  "@accessType":"inputOnly",
                  "@type":"SFTime"
                }
              ]
            }
          },
          { "NavigationInfo":
            {
              "@speed":10,
              "@type":["EXAMINE","FLY","ANY"],
              "@visibilityLimit":7000
            }
          },
          { "Background":
            {
              "@groundAngle":[1.309],
              "@groundColor":[0.2,0.2,0.8,0.2,0.2,1.0],
              "@skyAngle":[1.309,1.571],
              "@skyColor":[0.0,0.2,0.7,0.0,0.5,1.0,1.0,1.0,1.0]
            }
          },
          { "Viewpoint":
            {
              "@description":"Watch the Explosion",
              "@position":[0,0,20]
            }
          },
          { "ProtoInstance":
            {
              "@name":"TNTBasedExplosion",
              "@DEF":"TNT"
            }
          },
          { "Transform":
            {
              "-children":[
                { "Billboard":
                  {
                    "-children":[
                      { "Shape":
                        {
                          "-geometry":
                            { "Text":
                              {
                                "@string":["Click text to","trigger explosion"],
                                "-fontStyle":
                                  { "FontStyle":
                                    {
                                      "@justify":["MIDDLE","MIDDLE"]
                                    }
                                  }
                              }
                            },
                          "-appearance":
                            { "Appearance":
                              {
                                "-material":
                                  { "Material":
                                    {
                                      "@diffuseColor":[1,0,0]
                                    }
                                  }
                              }
                            }
                        }
                      }
                    ]
                  }
                }
              ]
            }
          },
          { "TouchSensor":
            {
              "@DEF":"MyTouch",
              "@description":"touch to activate"
            }
          },
          { "ROUTE":
            {
              "@fromField":"touchTime",
              "@fromNode":"MyTouch",
              "@toField":"startExplosion",
              "@toNode":"TNT"
            }
          }
        ]
    }
  }
}