{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Interchange",
    "@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":"RoundedRectangle2D.x3d"
          },
          {
            "@name":"description",
            "@content":"RoundedRectangle2D shows and IndexedFaceSet shape for a flat RoundedRectangle."
          },
          {
            "@name":"created",
            "@content":"8 November 2014"
          },
          {
            "@name":"modified",
            "@content":"20 October 2019"
          },
          {
            "@name":"reference",
            "@content":"RoundedRectanglePrimitives.x3d"
          },
          {
            "@name":"reference",
            "@content":"RoundedRectangleComparison.x3d"
          },
          {
            "@name":"reference",
            "@content":"RoundedRectangleDesign.vsd"
          },
          {
            "@name":"reference",
            "@content":"RoundedRectangleDesign.png"
          },
          {
            "@name":"reference",
            "@content":"RoundedRectangleDesign.svg"
          },
          {
            "@name":"creator",
            "@content":"Don Brutzman"
          },
          {
            "@name":"reference",
            "@content":"https://en.wikipedia.org/wiki/Squircle"
          },
          {
            "@name":"reference",
            "@content":"https://en.wiktionary.org/wiki/roundrect"
          },
          {
            "@name":"info",
            "@content":"Development of this scene added new features to X3D-Edit."
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/RoundedRectangle2D.x3d"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit"
          },
          {
            "@name":"license",
            "@content":"../license.html"
          },
          {
            "@name":"translated",
            "@content":"16 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":"RoundedRectangle2D.x3d"
            }
          },
          { "Background":
            {
              "@skyColor":[0.95,1,0.6]
            }
          },
          { "Viewpoint":
            {
              "@description":"RoundedRectangle2D example",
              "@position":[0,0,4]
            }
          },
          { "Shape":
            {
              "-children":[
                {
                  "#comment":"RoundedRectangle2D with 44 perimeter points + 4 internal points"
                }
              ],
              "-geometry":
                { "IndexedFaceSet":
                  {
                    "@coordIndex":[0,1,2,3,0,-1,0,14,15,1,0,-1,1,25,26,2,1,-1,2,36,37,3,2,-1,3,47,4,0,3,-1,0,4,5,6,7,8,9,10,11,12,13,14,0,-1,1,15,16,17,18,19,20,21,22,23,24,25,1,-1,2,26,27,28,29,30,31,32,33,34,35,36,2,-1,3,37,38,39,40,41,42,43,44,45,46,47,3,-1],
                    "@creaseAngle":6.28,
                    "@solid":false,
                    "-coord":
                      { "Coordinate":
                        {
                          "@point":[0.450,0.900,0.000,0.450,-0.900,0.000,-0.450,-0.900,0.000,-0.450,0.900,0.000,0.450,1.000,0.000,0.466,0.999,0.000,0.481,0.995,0.000,0.495,0.989,0.000,0.509,0.981,0.000,0.521,0.971,0.000,0.531,0.959,0.000,0.539,0.945,0.000,0.545,0.931,0.000,0.549,0.916,0.000,0.550,0.900,0.000,0.550,-0.900,0.000,0.549,-0.916,0.000,0.545,-0.931,0.000,0.539,-0.945,0.000,0.531,-0.959,0.000,0.521,-0.971,0.000,0.509,-0.981,0.000,0.495,-0.989,0.000,0.481,-0.995,0.000,0.466,-0.999,0.000,0.450,-1.000,0.000,-0.450,-1.000,0.000,-0.466,-0.999,0.000,-0.481,-0.995,0.000,-0.495,-0.989,0.000,-0.509,-0.981,0.000,-0.521,-0.971,0.000,-0.531,-0.959,0.000,-0.539,-0.945,0.000,-0.545,-0.931,0.000,-0.549,-0.916,0.000,-0.550,-0.900,0.000,-0.550,0.900,0.000,-0.549,0.916,0.000,-0.545,0.931,0.000,-0.539,0.945,0.000,-0.531,0.959,0.000,-0.521,0.971,0.000,-0.509,0.981,0.000,-0.495,0.989,0.000,-0.481,0.995,0.000,-0.466,0.999,0.000,-0.450,1.000,0.000]
                        }
                      }
                  }
                },
              "-appearance":
                { "Appearance":
                  {
                    "-material":
                      { "Material":
                        {
                          "@diffuseColor":[0.2,0.5,0.8]
                        }
                      }
                  }
                }
            }
          }
        ]
    }
  }
}