{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Interchange",
    "@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":"Pyramid.x3d"
          },
          {
            "@name":"creator",
            "@content":"MV4204 class"
          },
          {
            "@name":"created",
            "@content":"8 July 2000"
          },
          {
            "@name":"modified",
            "@content":"20 October 2019"
          },
          {
            "@name":"description",
            "@content":"Constructing a Pyramid geometric primitive in order to show use of points and coordinate indices."
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/Basic/course/Pyramid.x3d"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit"
          },
          {
            "@name":"license",
            "@content":"../license.html"
          },
          {
            "@name":"translated",
            "@content":"20 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":[
          {
            "#comment":"Viewpoint is 1m left of center to provide good contrast"
          },
          { "WorldInfo":
            {
              "@title":"Pyramid.x3d"
            }
          },
          { "Viewpoint":
            {
              "@description":"Pyramid",
              "@orientation":[0,1,0,0.2],
              "@position":[4,0,25]
            }
          },
          { "Transform":
            {
              "@translation":[0,-5,0],
              "-children":[
                { "Shape":
                  {
                    "-geometry":
                      { "IndexedFaceSet":
                        {
                          "@coordIndex":[0,1,2,-1,1,3,2,-1,2,3,0,-1,3,1,0],
                          "-coord":
                            { "Coordinate":
                              {
                                "@point":[0,0,0,10,0,0,5,0,8.3,5,8.3,2.8]
                              }
                            }
                        }
                      },
                    "-appearance":
                      { "Appearance":
                        {
                          "-material":
                            { "Material":
                              {
                                "@diffuseColor":[0.8,0.8,0.2],
                                "@specularColor":[0,0,0.5]
                              }
                            }
                        }
                      }
                  }
                }
              ]
            }
          }
        ]
    }
  }
}