{ "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":"Figure15_12Torus.x3d"
          },
          {
            "@name":"description",
            "@content":"A torus built using a circular cross section swept along a circular spine."
          },
          {
            "@name":"creator",
            "@content":"Figure 15.12, 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/ch15/15fig12.htm"
          },
          {
            "@name":"translator",
            "@content":"Don Brutzman"
          },
          {
            "@name":"created",
            "@content":"20 August 2000"
          },
          {
            "@name":"modified",
            "@content":"20 October 2019"
          },
          {
            "@name":"Image",
            "@content":"Figure15_12TorusXj3D.png"
          },
          {
            "@name":"reference",
            "@content":"Xj3DViewerExtrusionBugFix.pdf"
          },
          {
            "@name":"reference",
            "@content":"https://www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/ExtrusionEdgeCases.x3d"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter15Extrusion/Figure15_12Torus.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":"Figure15_12Torus.x3d"
            }
          },
          { "NavigationInfo":
            {
            }
          },
          {
            "#comment":"Computational cost of Extrusion node compared to IndexedFaceSet or other triangle meshes: quicker to download, takes time to calculate polygonal faces and normals during initial loading, equally fast at run time."
          },
          {
            "#comment":"Authoring capabilities of Extrusion compared to IndexedFaceSet or other triangle meshes: can provide great detail with much less effort."
          },
          { "Viewpoint":
            {
              "@description":"Torus from above",
              "@orientation":[-0.37796,0.91249,0.15656,0.85225],
              "@position":[10,5,10]
            }
          },
          { "Viewpoint":
            {
              "@description":"Torus from ahead"
            }
          },
          { "Shape":
            {
              "-appearance":
                { "Appearance":
                  {
                    "-material":
                      { "Material":
                        {
                          "@diffuseColor":[1,0,1]
                        }
                      }
                  }
                },
              "-geometry":
                { "Extrusion":
                  {
                    "@beginCap":false,
                    "@creaseAngle":1.57,
                    "@crossSection":[1,0,0.92,-0.38,0.71,-0.71,0.38,-0.92,0,-1,-0.38,-0.92,-0.71,-0.71,-0.92,-0.38,-1,-0,-0.92,0.38,-0.71,0.71,-0.38,0.92,0,1,0.38,0.92,0.71,0.71,0.92,0.38,1,0],
                    "@endCap":false,
                    "@spine":[2,0,0,1.85,0,0.77,1.41,0,1.41,0.77,0,1.85,0,0,2,-0.77,0,1.85,-1.41,0,1.41,-1.85,0,0.77,-2,0,0,-1.85,0,-0.77,-1.41,0,-1.41,-0.77,0,-1.85,0,0,-2,0.77,0,-1.85,1.41,0,-1.41,1.85,0,-0.77,2,0,0],
                    "-children":[
                      {
                        "#comment":"spine is closed, crossSection is closed"
                      }
                    ]
                  }
                }
            }
          }
        ]
    }
  }
}