{ "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":"CornFlag.x3d"
          },
          {
            "@name":"description",
            "@content":"Corn Flag"
          },
          {
            "@name":"creator",
            "@content":"LT Christos Kalogrias - Hellenic Navy"
          },
          {
            "@name":"created",
            "@content":"12 November 2003"
          },
          {
            "@name":"modified",
            "@content":"20 October 2019"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/Savage/Buildings/SoccerStadium/CornFlag.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":"CornFlag.x3d"
            }
          },
          { "Transform":
            {
              "@DEF":"CornFlag1",
              "-children":[
                { "Transform":
                  {
                    "@scale":[1.333,2,1],
                    "@translation":[0,1,0],
                    "-children":[
                      { "Group":
                        {
                          "-children":[
                            { "Transform":
                              {
                                "-children":[
                                  { "Shape":
                                    {
                                      "-geometry":
                                        { "IndexedFaceSet":
                                          {
                                            "@DEF":"Flag",
                                            "@convex":false,
                                            "@coordIndex":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,0],
                                            "@solid":false,
                                            "-coord":
                                              { "Coordinate":
                                                {
                                                  "@DEF":"FlagCoor",
                                                  "@point":[0.0,0.0,0.0,0.5,0.0,0.0,1.0,0.0,0.0,1.5,0.0,0.0,2.0,0.0,0.0,2.5,0.0,0.0,3.0,0.0,0.0,3.5,0.0,0.0,4.0,0.0,0.0,4.5,0.0,0.0,5.0,0.0,0.0,5.5,0.0,0.0,6.0,0.0,0.0,6.5,0.0,0.0,7.0,0.0,0.0,7.5,0.0,0.0,7.5,0.5,0.0,7.5,1.0,0.0,7.5,1.5,0.0,7.5,2.0,0.0,7.5,2.5,0.0,7.5,3.0,0.0,7.5,3.5,0.0,7.5,4.0,0.0,7.5,4.5,0.0,7.5,5.0,0.0,7.0,5.0,0.0,6.5,5.0,0.0,6.0,5.0,0.0,5.5,5.0,0.0,5.0,5.0,0.0,4.5,5.0,0.0,4.0,5.0,0.0,3.5,5.0,0.0,3.0,5.0,0.0,2.5,5.0,0.0,2.0,5.0,0.0,1.5,5.0,0.0,1.0,5.0,0.0,0.5,5.0,0.0,0.0,5.0,0.0,0.0,4.5,0.0,0.0,4.0,0.0,0.0,3.5,0.0,0.0,3.0,0.0,0.0,2.5,0.0,0.0,2.0,0.0,0.0,1.5,0.0,0.0,1.0,0.0,0.0,0.5,0.0]
                                                }
                                              }
                                          }
                                        },
                                      "-appearance":
                                        { "Appearance":
                                          {
                                            "-material":
                                              { "Material":
                                                {
                                                  "@diffuseColor":[0.8,0.2,0.2],
                                                  "@shininess":0.8
                                                }
                                              },
                                            "-texture":
                                              { "ImageTexture":
                                                {
                                                  "@url":["./aek6.jpg","https://www.web3d.org/x3d/content/examples/Savage/Buildings/SoccerStadium/aek6.jpgwrl"]
                                                }
                                              },
                                            "-textureTransform":
                                              { "TextureTransform":
                                                {
                                                  "@translation":[0.0,0.01]
                                                }
                                              }
                                          }
                                        }
                                    }
                                  },
                                  { "TimeSensor":
                                    {
                                      "@DEF":"timer",
                                      "@cycleInterval":4.0,
                                      "@loop":true
                                    }
                                  },
                                  { "CoordinateInterpolator":
                                    {
                                      "@DEF":"MoveFlag",
                                      "@key":[0.0,0.25,0.5,0.75,1.0],
                                      "@keyValue":[0.0,0.0,0.00,0.5,0.0,0.087,1.0,0.0,0.100,1.5,0.0,0.087,2.0,0.0,0.00,2.5,0.0,-0.087,3.0,0.0,-0.100,3.5,0.0,-0.087,4.0,0.0,0.0,4.5,0.0,0.087,5.0,0.0,0.10,5.5,0.0,0.087,6.0,0.0,0.0,6.5,0.0,-0.087,7.0,0.0,-0.10,7.5,0.0,-0.087,7.5,0.5,-0.087,7.5,1.0,-0.087,7.5,1.5,-0.087,7.5,2.0,-0.087,7.5,2.5,-0.087,7.5,3.0,-0.087,7.5,3.5,-0.087,7.5,4.0,-0.087,7.5,4.5,-0.087,7.5,5.0,-0.087,7.0,5.0,-0.10,6.5,5.0,-0.087,6.0,5.0,0.0,5.5,5.0,0.087,5.0,5.0,0.10,4.5,5.0,0.087,4.0,5.0,0.0,3.5,5.0,-0.087,3.0,5.0,-0.10,2.5,5.0,-0.087,2.0,5.0,0.0,1.5,5.0,0.087,1.0,5.0,0.10,0.5,5.0,0.087,0.0,5.0,0.0,0.0,4.5,0.0,0.0,4.0,0.0,0.0,3.5,0.0,0.0,3.0,0.0,0.0,2.5,0.0,0.0,2.0,0.0,0.0,1.5,0.0,0.0,1.0,0.0,0.0,0.5,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.5,0.0,-0.087,1.0,0.0,-0.10,1.5,0.0,-0.087,2.0,0.0,0.0,2.5,0.0,0.087,3.0,0.0,0.10,3.5,0.0,0.087,4.0,0.0,0.0,4.5,0.0,-0.087,5.0,0.0,-0.10,5.5,0.0,-0.087,6.0,0.0,0.0,6.5,0.0,0.087,7.0,0.0,0.10,7.5,0.0,0.087,7.5,0.5,0.087,7.5,1.0,0.087,7.5,1.5,0.087,7.5,2.0,0.087,7.5,2.5,0.087,7.5,3.0,0.087,7.5,3.5,0.087,7.5,4.0,0.087,7.5,4.5,0.087,7.5,5.0,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0,0.10,3.5,0.0,0.087,4.0,0.0,0.0,4.5,0.0,-0.087,5.0,0.0,-0.10,5.5,0.0,-0.087,6.0,0.0,0.0,6.5,0.0,0.087,7.0,0.0,0.10,7.5,0.0,0.087,7.5,0.5,0.087,7.5,1.0,0.087,7.5,1.5,0.087,7.5,2.0,0.087,7.5,2.5,0.087,7.5,3.0,0.087,7.5,3.5,0.087,7.5,4.0,0.087,7.5,4.5,0.087,7.5,5.0,0.087,7.0,5.0,0.10,6.5,5.0,0.087,6.0,5.0,0.0,5.5,5.0,-0.087,5.0,5.0,-0.10,4.5,5.0,-0.087,4.0,5.0,0.0,3.5,5.0,0.087,3.0,5.0,0.10,2.5,5.0,0.087,2.0,5.0,0.0,1.5,5.0,-0.087,1.0,5.0,-1.0,0.5,5.0,-0.087,0.0,5.0,0.0,0.0,4.5,0.0,0.0,4.0,0.0,0.0,3.5,0.0,0.0,3.0,0.0,0.0,2.5,0.0,0.0,2.0,0.0,0.0,1.5,0.0,0.0,1.0,0.0,0.0,0.5,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.5,0.0,0.087,1.0,0.0,0.10,1.5,0.0,0.087,2.0,0.0,0.0,2.5,0.0,-0.087,3.0,0.0,-0.10,3.5,0.0,-0.087,4.0,0.0,0.0,4.5,0.0,0.087,5.0,0.0,0.10,5.5,0.0,0.087,6.0,0.0,0.0,6.5,0.0,-0.087,7.0,0.0,-0.10,7.5,0.0,-0.087,7.5,0.5,-0.087,7.5,1.0,-0.087,7.5,1.5,-0.087,7.5,2.0,-0.087,7.5,2.5,-0.087,7.5,3.0,-0.087,7.5,3.5,-0.087,7.5,4.0,-0.087,7.5,4.5,-0.087,7.5,5.0,-0.087,7.0,5.0,-0.10,6.5,5.0,-0.087,6.0,5.0,0.0,5.5,5.0,0.087,5.0,5.0,0.10,4.5,5.0,0.087,4.0,5.0,0.0,3.5,5.0,-0.087,3.0,5.0,-0.10,2.5,5.0,-0.087,2.0,5.0,0.0,1.5,5.0,0.087,1.0,5.0,0.10,0.5,5.0,0.087,0.0,5.0,0.0,0.0,4.5,0.0,0.0,4.0,0.0,0.0,3.5,0.0,0.0,3.0,0.0,0.0,2.5,0.0,0.0,2.0,0.0,0.0,1.5,0.0,0.0,1.0,0.0,0.0,0.5,0.0,0.0,0.0,0.0]
                                    }
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      },
                      { "ROUTE":
                        {
                          "@fromField":"fraction_changed",
                          "@fromNode":"timer",
                          "@toField":"set_fraction",
                          "@toNode":"MoveFlag"
                        }
                      },
                      { "ROUTE":
                        {
                          "@fromField":"value_changed",
                          "@fromNode":"MoveFlag",
                          "@toField":"set_point",
                          "@toNode":"FlagCoor"
                        }
                      }
                    ]
                  }
                }
              ]
            }
          }
        ]
    }
  }
}