{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Interchange",
    "@version":"3.0",
    "@xsd:noNamespaceSchemaLocation":"http://www.web3d.org/specifications/x3d-3.0.xsd",
    "JSON schema":"http://www.web3d.org/specifications/x3d-3.3-JSONSchema.json",
    "head": {
        "meta": [
          {
            "@name":"title",
            "@content":"Figure10.11AnimatingTransparencySpaceStation.x3d"
          },
          {
            "@name":"creator",
            "@content":"Figure 10.11, The VRML 2.0 Sourcebook, Copyright [1997] By Andrea L. Ames, David R. Nadeau, and John L. Moreland"
          },
          {
            "@name":"reference",
            "@content":"http://www.wiley.com/legacy/compbooks/vrml2sbk/ch10/10fig11.htm"
          },
          {
            "@name":"transcriber",
            "@content":"Don Brutzman"
          },
          {
            "@name":"created",
            "@content":"13 August 2000"
          },
          {
            "@name":"modified",
            "@content":"1 February 2014"
          },
          {
            "@name":"description",
            "@content":"A simple space station with a central sphere whose transparency is animated using a ScalarInterpolator. Also see Figure03.10SpaceStation.x3d, Figure10.05MultiColoredSpaceStation.x3d, Figure10.06PulsatingSpaceStation.x3d and Figure10.10SemiTransparentSpaceStation.x3d"
          },
          {
            "@name":"identifier",
            "@content":"http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter10-Materials/Figure10.11AnimatingTransparencySpaceStation.x3d"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit"
          },
          {
            "@name":"license",
            "@content":"../../license.html"
          },
          {
            "@name":"translated",
            "@content":"19 March 2017"
          },
          {
            "@name":"generator",
            "@content":"X3dToJson.xslt, http://www.web3d.org/x3d/stylesheets/X3dToJson.html"
          },
          {
            "@name":"warning",
            "@content":"An experimental version of X3D JSON encoding is used for this scene.  Status online at http://www.web3d.org/wiki/index.php/X3D_JSON_Encoding"
          }
        ]
    },
    "Scene": {
        "-children":[
          { "Viewpoint":
            {
              "@description":"5m space station from 8m away",
              "@position":[0,0,8]
            }
          },
          { "Group":
            {
              "-children":[
                { "Shape":
                  {
                    "-appearance":
                      { "Appearance":
                        {
                          "-material":
                            { "Material":
                              {
                                "@DEF":"BALL_MATERIAL",
                                "@diffuseColor":[1,0,0]
                              }
                            }
                        }
                      },
                    "-geometry":
                      { "Sphere":
                        {
                        }
                      }
                  }
                },
                { "Shape":
                  {
                    "-appearance":
                      { "Appearance":
                        {
                          "-material":
                            { "Material":
                              {
                                "@diffuseColor":[0.5,0.25,1]
                              }
                            }
                        }
                      },
                    "-geometry":
                      { "Cylinder":
                        {
                          "@height":0.05,
                          "@radius":2
                        }
                      }
                  }
                },
                { "Shape":
                  {
                    "-appearance":
                      { "Appearance":
                        {
                          "-material":
                            { "Material":
                              {
                                "@diffuseColor":[0.75,0,1]
                              }
                            }
                        }
                      },
                    "-geometry":
                      { "Cylinder":
                        {
                          "@height":5,
                          "@radius":0.15
                        }
                      }
                  }
                },
                { "TimeSensor":
                  {
                    "@DEF":"CLOCK",
                    "@cycleInterval":10,
                    "@loop":true
                  }
                },
                { "ScalarInterpolator":
                  {
                    "@DEF":"TRANSPARENCY_PATH",
                    "@key":[0,0.45,0.9,1],
                    "@keyValue":[0,1,0,0]
                  }
                }
              ]
            }
          },
          { "ROUTE":
            {
              "@fromField":"fraction_changed",
              "@fromNode":"CLOCK",
              "@toField":"set_fraction",
              "@toNode":"TRANSPARENCY_PATH"
            }
          },
          { "ROUTE":
            {
              "@fromField":"value_changed",
              "@fromNode":"TRANSPARENCY_PATH",
              "@toField":"set_transparency",
              "@toNode":"BALL_MATERIAL"
            }
          }
        ]
    }
  }
}