{ "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":"FormulaOneRaceCar.x3d"
          },
          {
            "@name":"description",
            "@content":"A FormulaOne Race Car running in a predefined path"
          },
          {
            "@name":"creator",
            "@content":"Athanasopoulos,Vasileios"
          },
          {
            "@name":"created",
            "@content":"2 August 2002"
          },
          {
            "@name":"modified",
            "@content":"20 October 2019"
          },
          {
            "@name":"warning",
            "@content":"Missing files: nplogo.jpg (npslogo.jpg?) front.jpg f1.wav f2.wav f3.wav"
          },
          {
            "@name":"subject",
            "@content":"Formula One Race Car"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/Basic/StudentProjects/FormulaOneRaceCar.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":[
          { "Viewpoint":
            {
              "@description":"Formula One Race Car",
              "@orientation":[-1,1,1,1],
              "@position":[6,8,8]
            }
          },
          { "DirectionalLight":
            {
              "@direction":[5,0,0]
            }
          },
          { "Viewpoint":
            {
              "@description":"Bottom",
              "@orientation":[1,0,0,1.57],
              "@position":[0,-25,-8]
            }
          },
          { "Background":
            {
              "@groundColor":[0,0,0],
              "@skyColor":[0,0,1]
            }
          },
          { "Transform":
            {
              "@DEF":"CAR",
              "@rotation":[0,1,0,-1.57],
              "-children":[
                { "Group":
                  {
                    "@DEF":"ViewpointGroup",
                    "-children":[
                      { "Group":
                        {
                          "-children":[
                            { "Viewpoint":
                              {
                                "@description":"Front",
                                "@orientation":[0,1,0,1.57],
                                "@position":[10,2,0]
                              }
                            },
                            { "Viewpoint":
                              {
                                "@description":"Right",
                                "@position":[0,2,10]
                              }
                            },
                            { "Viewpoint":
                              {
                                "@description":"Left",
                                "@orientation":[0,1,0,3.14],
                                "@position":[0,1.5,-14]
                              }
                            },
                            { "Viewpoint":
                              {
                                "@description":"Back",
                                "@orientation":[0,1,0,-1.57],
                                "@position":[-10,0.85,0]
                              }
                            },
                            { "Viewpoint":
                              {
                                "@description":"Top",
                                "@orientation":[1,0,0,-1.57],
                                "@position":[0,15,0.5]
                              }
                            }
                          ]
                        }
                      },
                      { "WorldInfo":
                        {
                          "@info":["null node"]
                        }
                      }
                    ]
                  }
                },
                { "Group":
                  {
                    "-children":[
                      { "Transform":
                        {
                          "@DEF":"FORMULA",
                          "-children":[
                            { "Transform":
                              {
                                "@rotation":[1,0,0,-1.57],
                                "-children":[
                                  {
                                    "#comment":"\"BACK WHEELS & AXIS\""
                                  },
                                  { "Group":
                                    {
                                      "-children":[
                                        { "Transform":
                                          {
                                            "@rotation":[1,0,0,1.57],
                                            "@translation":[0,-2.8,0],
                                            "-children":[
                                              { "Group":
                                                {
                                                  "-children":[
                                                    { "Transform":
                                                      {
                                                        "@DEF":"BACK",
                                                        "-children":[
                                                          { "Transform":
                                                            {
                                                              "@DEF":"wheel1",
                                                              "@rotation":[0,0,1,1.57],
                                                              "@translation":[1.5,0,0],
                                                              "-children":[
                                                                {
                                                                  "#comment":"\"OUTER WHEEL CYLINDER\""
                                                                },
                                                                { "Shape":
                                                                  {
                                                                    "@DEF":"elastic",
                                                                    "-appearance":
                                                                      { "Appearance":
                                                                        {
                                                                          "-material":
                                                                            { "Material":
                                                                              {
                                                                                "@diffuseColor":[0,0,0]
                                                                              }
                                                                            }
                                                                        }
                                                                      },
                                                                    "-geometry":
                                                                      { "Cylinder":
                                                                        {
                                                                          "@height":0.92,
                                                                          "@radius":0.65
                                                                        }
                                                                      }
                                                                  }
                                                                },
                                                                {
                                                                  "#comment":"\"INNER WHEEL CYLINDER\""
                                                                },
                                                                { "Shape":
                                                                  {
                                                                    "-appearance":
                                                                      { "Appearance":
                                                                        {
                                                                          "-material":
                                                                            { "Material":
                                                                              {
                                                                                "@diffuseColor":[0.5,0.5,0.5]
                                                                              }
                                                                            }
                                                                        }
                                                                      },
                                                                    "-geometry":
                                                                      { "Cylinder":
                                                                        {
                                                                          "@height":0.92,
                                                                          "@radius":0.45
                                                                        }
                                                                      }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          { "Transform":
                                                            {
                                                              "@translation":[1.912,0,0],
                                                              "-children":[
                                                                { "Shape":
                                                                  {
                                                                    "@DEF":"rad",
                                                                    "-appearance":
                                                                      { "Appearance":
                                                                        {
                                                                          "-material":
                                                                            { "Material":
                                                                              {
                                                                              }
                                                                            }
                                                                        }
                                                                      },
                                                                    "-geometry":
                                                                      { "Box":
                                                                        {
                                                                          "@size":[0.1,0.90,0.05]
                                                                        }
                                                                      }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          { "Transform":
                                                            {
                                                              "@rotation":[1,0,0,1.57],
                                                              "@translation":[1.912,0,0],
                                                              "-children":[
                                                                { "Shape":
                                                                  {
                                                                    "-appearance":
                                                                      { "Appearance":
                                                                        {
                                                                          "-material":
                                                                            { "Material":
                                                                              {
                                                                              }
                                                                            }
                                                                        }
                                                                      },
                                                                    "-geometry":
                                                                      { "Box":
                                                                        {
                                                                          "@size":[0.1,0.90,0.05]
                                                                        }
                                                                      }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          { "Transform":
                                                            {
                                                              "@DEF":"wheel2",
                                                              "@rotation":[0,0,1,1.57],
                                                              "@translation":[-1.5,0,0],
                                                              "-children":[
                                                                {
                                                                  "#comment":"\"OUTER WHEEL CYLINDER\""
                                                                },
                                                                { "Shape":
                                                                  {
                                                                    "@USE":"elastic"
                                                                  }
                                                                },
                                                                {
                                                                  "#comment":"\"INNER WHEEL CYLINDER\""
                                                                },
                                                                { "Shape":
                                                                  {
                                                                    "-appearance":
                                                                      { "Appearance":
                                                                        {
                                                                          "-material":
                                                                            { "Material":
                                                                              {
                                                                                "@diffuseColor":[0.5,0.5,0.5]
                                                                              }
                                                                            }
                                                                        }
                                                                      },
                                                                    "-geometry":
                                                                      { "Cylinder":
                                                                        {
                                                                          "@height":0.92,
                                                                          "@radius":0.45
                                                                        }
                                                                      }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          { "Transform":
                                                            {
                                                              "@translation":[-1.912,0,0],
                                                              "-children":[
                                                                { "Shape":
                                                                  {
                                                                    "@USE":"rad"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          { "Transform":
                                                            {
                                                              "@rotation":[1,0,0,1.57],
                                                              "@translation":[-1.912,0,0],
                                                              "-children":[
                                                                { "Shape":
                                                                  {
                                                                    "-appearance":
                                                                      { "Appearance":
                                                                        {
                                                                          "-material":
                                                                            { "Material":
                                                                              {
                                                                              }
                                                                            }
                                                                        }
                                                                      },
                                                                    "-geometry":
                                                                      { "Box":
                                                                        {
                                                                          "@size":[0.1,0.90,0.05]
                                                                        }
                                                                      }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          { "Transform":
                                                            {
                                                              "@DEF":"axis1",
                                                              "@rotation":[0,0,1,1.57],
                                                              "-children":[
                                                                { "Shape":
                                                                  {
                                                                    "-appearance":
                                                                      { "Appearance":
                                                                        {
                                                                          "-material":
                                                                            { "Material":
                                                                              {
                                                                                "@diffuseColor":[0,0,0]
                                                                              }
                                                                            }
                                                                        }
                                                                      },
                                                                    "-geometry":
                                                                      { "Cylinder":
                                                                        {
                                                                          "@height":3.96,
                                                                          "@radius":0.12
                                                                        }
                                                                      }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    { "TimeSensor":
                                                      {
                                                        "@DEF":"CLOCK1",
                                                        "@cycleInterval":2,
                                                        "@loop":true
                                                      }
                                                    },
                                                    { "OrientationInterpolator":
                                                      {
                                                        "@DEF":"POS1",
                                                        "@key":[0,0.5,1],
                                                        "@keyValue":[1,0,0,0,1,0,0,-3.14,1,0,0,-6.28]
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              { "ROUTE":
                                                {
                                                  "@fromField":"fraction_changed",
                                                  "@fromNode":"CLOCK1",
                                                  "@toField":"set_fraction",
                                                  "@toNode":"POS1"
                                                }
                                              },
                                              { "ROUTE":
                                                {
                                                  "@fromField":"value_changed",
                                                  "@fromNode":"POS1",
                                                  "@toField":"set_rotation",
                                                  "@toNode":"BACK"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  {
                                    "#comment":"\"FRONT WHEELS & AXIS\""
                                  },
                                  { "Group":
                                    {
                                      "-children":[
                                        { "Transform":
                                          {
                                            "@rotation":[1,0,0,1.57],
                                            "@translation":[0,2.65,0],
                                            "-children":[
                                              { "Group":
                                                {
                                                  "-children":[
                                                    { "Transform":
                                                      {
                                                        "@DEF":"FRONT",
                                                        "-children":[
                                                          { "Transform":
                                                            {
                                                              "@DEF":"wheel3",
                                                              "@rotation":[0,0,1,1.57],
                                                              "@translation":[1.5,0,0],
                                                              "-children":[
                                                                {
                                                                  "#comment":"\"OUTER WHEEL CYLINDER\""
                                                                },
                                                                { "Shape":
                                                                  {
                                                                    "@DEF":"elastic1",
                                                                    "-appearance":
                                                                      { "Appearance":
                                                                        {
                                                                          "-material":
                                                                            { "Material":
                                                                              {
                                                                                "@diffuseColor":[0,0,0]
                                                                              }
                                                                            }
                                                                        }
                                                                      },
                                                                    "-geometry":
                                                                      { "Cylinder":
                                                                        {
                                                                          "@height":0.92,
                                                                          "@radius":0.65
                                                                        }
                                                                      }
                                                                  }
                                                                },
                                                                {
                                                                  "#comment":"\"INNER WHEEL CYLINDER\""
                                                                },
                                                                { "Shape":
                                                                  {
                                                                    "-appearance":
                                                                      { "Appearance":
                                                                        {
                                                                          "-material":
                                                                            { "Material":
                                                                              {
                                                                                "@diffuseColor":[0.5,0.5,0.5]
                                                                              }
                                                                            }
                                                                        }
                                                                      },
                                                                    "-geometry":
                                                                      { "Cylinder":
                                                                        {
                                                                          "@height":0.92,
                                                                          "@radius":0.45
                                                                        }
                                                                      }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          { "Transform":
                                                            {
                                                              "@translation":[1.912,0,0],
                                                              "-children":[
                                                                { "Shape":
                                                                  {
                                                                    "@USE":"rad"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          { "Transform":
                                                            {
                                                              "@rotation":[1,0,0,1.57],
                                                              "@translation":[1.912,0,0],
                                                              "-children":[
                                                                { "Shape":
                                                                  {
                                                                    "-appearance":
                                                                      { "Appearance":
                                                                        {
                                                                          "-material":
                                                                            { "Material":
                                                                              {
                                                                              }
                                                                            }
                                                                        }
                                                                      },
                                                                    "-geometry":
                                                                      { "Box":
                                                                        {
                                                                          "@size":[0.1,0.90,0.05]
                                                                        }
                                                                      }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          { "Transform":
                                                            {
                                                              "@DEF":"wheel4",
                                                              "@rotation":[0,0,1,1.57],
                                                              "@translation":[-1.5,0,0],
                                                              "-children":[
                                                                {
                                                                  "#comment":"\"OUTER WHEEL CYLINDER\""
                                                                },
                                                                { "Shape":
                                                                  {
                                                                    "@USE":"elastic"
                                                                  }
                                                                },
                                                                {
                                                                  "#comment":"\"INNER WHEEL CYLINDER\""
                                                                },
                                                                { "Shape":
                                                                  {
                                                                    "-appearance":
                                                                      { "Appearance":
                                                                        {
                                                                          "-material":
                                                                            { "Material":
                                                                              {
                                                                                "@diffuseColor":[0.5,0.5,0.5]
                                                                              }
                                                                            }
                                                                        }
                                                                      },
                                                                    "-geometry":
                                                                      { "Cylinder":
                                                                        {
                                                                          "@height":0.92,
                                                                          "@radius":0.45
                                                                        }
                                                                      }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          { "Transform":
                                                            {
                                                              "@translation":[-1.912,0,0],
                                                              "-children":[
                                                                { "Shape":
                                                                  {
                                                                    "@USE":"rad"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          { "Transform":
                                                            {
                                                              "@rotation":[1,0,0,1.57],
                                                              "@translation":[-1.912,0,0],
                                                              "-children":[
                                                                { "Shape":
                                                                  {
                                                                    "-appearance":
                                                                      { "Appearance":
                                                                        {
                                                                          "-material":
                                                                            { "Material":
                                                                              {
                                                                              }
                                                                            }
                                                                        }
                                                                      },
                                                                    "-geometry":
                                                                      { "Box":
                                                                        {
                                                                          "@size":[0.1,0.90,0.05]
                                                                        }
                                                                      }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          { "Transform":
                                                            {
                                                              "@DEF":"axis2",
                                                              "@rotation":[0,0,1,1.57],
                                                              "-children":[
                                                                { "Shape":
                                                                  {
                                                                    "-appearance":
                                                                      { "Appearance":
                                                                        {
                                                                          "-material":
                                                                            { "Material":
                                                                              {
                                                                                "@diffuseColor":[0,0,0]
                                                                              }
                                                                            }
                                                                        }
                                                                      },
                                                                    "-geometry":
                                                                      { "Cylinder":
                                                                        {
                                                                          "@height":3.96,
                                                                          "@radius":0.12
                                                                        }
                                                                      }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    { "TimeSensor":
                                                      {
                                                        "@DEF":"CLOCK2",
                                                        "@cycleInterval":2,
                                                        "@loop":true
                                                      }
                                                    },
                                                    { "OrientationInterpolator":
                                                      {
                                                        "@DEF":"POS2",
                                                        "@key":[0,0.5,1],
                                                        "@keyValue":[1,0,0,0,1,0,0,-3.14,1,0,0,-6.28]
                                                      }
                                                    },
                                                    { "ROUTE":
                                                      {
                                                        "@fromField":"fraction_changed",
                                                        "@fromNode":"CLOCK2",
                                                        "@toField":"set_fraction",
                                                        "@toNode":"POS2"
                                                      }
                                                    },
                                                    { "ROUTE":
                                                      {
                                                        "@fromField":"value_changed",
                                                        "@fromNode":"POS2",
                                                        "@toField":"set_rotation",
                                                        "@toNode":"FRONT"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  {
                                    "#comment":"\"CAR BODY\""
                                  },
                                  { "Group":
                                    {
                                      "-children":[
                                        {
                                          "#comment":"\"CAR BODY\""
                                        },
                                        { "Transform":
                                          {
                                            "@scale":[1,4,0.5],
                                            "-children":[
                                              { "Shape":
                                                {
                                                  "-appearance":
                                                    { "Appearance":
                                                      {
                                                        "-material":
                                                          { "Material":
                                                            {
                                                              "@diffuseColor":[1,0,0]
                                                            }
                                                          }
                                                      }
                                                    },
                                                  "-geometry":
                                                    { "Sphere":
                                                      {
                                                      }
                                                    }
                                                }
                                              },
                                              { "Transform":
                                                {
                                                  "@rotation":[1,0,0,0],
                                                  "@translation":[0,0.2,0.976],
                                                  "-children":[
                                                    { "Shape":
                                                      {
                                                        "-appearance":
                                                          { "Appearance":
                                                            {
                                                              "-material":
                                                                { "Material":
                                                                  {
                                                                    "@diffuseColor":[0.2,1,0],
                                                                    "@transparency":0.5
                                                                  }
                                                                },
                                                              "-texture":
                                                                { "ImageTexture":
                                                                  {
                                                                    "@DEF":"nplogo",
                                                                    "@url":["nplogo.jpg","https://www.web3d.org/x3d/content/examples/Basic/StudentProjects/nplogo.jpg"]
                                                                  }
                                                                }
                                                            }
                                                          },
                                                        "-geometry":
                                                          { "Box":
                                                            {
                                                              "@size":[0.7,0.2,0.0000001]
                                                            }
                                                          }
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        { "Group":
                                          {
                                          }
                                        },
                                        {
                                          "#comment":"\"PILOT'S COVER SHELL\""
                                        },
                                        { "Transform":
                                          {
                                            "@DEF":"COVER",
                                            "@center":[0,0,0.535],
                                            "@scale":[0.5,0.9,0.3],
                                            "@translation":[0,-1,0],
                                            "-children":[
                                              { "Shape":
                                                {
                                                  "-appearance":
                                                    { "Appearance":
                                                      {
                                                        "-material":
                                                          { "Material":
                                                            {
                                                              "@transparency":0.55
                                                            }
                                                          }
                                                      }
                                                    },
                                                  "-geometry":
                                                    { "Sphere":
                                                      {
                                                        "@radius":1.3
                                                      }
                                                    }
                                                }
                                              },
                                              { "CylinderSensor":
                                                {
                                                  "@DEF":"COVERSENS",
                                                  "@description":"touch to activate",
                                                  "@diskAngle":0.262,
                                                  "@maxAngle":3.57
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        { "ROUTE":
                                          {
                                            "@fromField":"rotation_changed",
                                            "@fromNode":"COVERSENS",
                                            "@toField":"set_rotation",
                                            "@toNode":"COVER"
                                          }
                                        },
                                        {
                                          "#comment":"\"PILOT'S HEAD\""
                                        },
                                        { "Transform":
                                          {
                                            "@translation":[0,-1.3,0.5],
                                            "-children":[
                                              { "Viewpoint":
                                                {
                                                  "@description":"Driver",
                                                  "@orientation":[1,0,0,1.350],
                                                  "@position":[0,0.25,-0.015]
                                                }
                                              },
                                              { "Transform":
                                                {
                                                  "@rotation":[1,0,0,1.67],
                                                  "@translation":[0,0.7,-0.2],
                                                  "-children":[
                                                    { "Shape":
                                                      {
                                                        "-appearance":
                                                          { "Appearance":
                                                            {
                                                              "-material":
                                                                { "Material":
                                                                  {
                                                                    "@diffuseColor":[1,0,0],
                                                                    "@transparency":0.5
                                                                  }
                                                                },
                                                              "-texture":
                                                                { "ImageTexture":
                                                                  {
                                                                    "@url":["front.jpg","https://www.web3d.org/x3d/content/examples/Basic/StudentProjects/front.jpg"]
                                                                  }
                                                                }
                                                            }
                                                          },
                                                        "-geometry":
                                                          { "Box":
                                                            {
                                                              "@size":[0.9,0.8,0.01]
                                                            }
                                                          }
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              { "Transform":
                                                {
                                                  "@rotation":[1,0,0,1.67],
                                                  "@translation":[0,0.701,-0.2],
                                                  "-children":[
                                                    { "Shape":
                                                      {
                                                        "-appearance":
                                                          { "Appearance":
                                                            {
                                                              "-material":
                                                                { "Material":
                                                                  {
                                                                    "@diffuseColor":[1,0,0]
                                                                  }
                                                                }
                                                            }
                                                          },
                                                        "-geometry":
                                                          { "Box":
                                                            {
                                                              "@size":[0.9,0.8,0.01]
                                                            }
                                                          }
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              { "Shape":
                                                {
                                                  "-appearance":
                                                    { "Appearance":
                                                      {
                                                        "-material":
                                                          { "Material":
                                                            {
                                                              "@diffuseColor":[1,0,0]
                                                            }
                                                          }
                                                      }
                                                    },
                                                  "-geometry":
                                                    { "Sphere":
                                                      {
                                                        "@radius":0.25
                                                      }
                                                    }
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "#comment":"\"FRONT-HORIZONTAL PANEL-TEXTURES \""
                                        },
                                        { "Transform":
                                          {
                                            "@translation":[0,3.80,-0.3],
                                            "-children":[
                                              {
                                                "#comment":"\"FRONT (HORIZONTAL) PANEL\""
                                              },
                                              { "Shape":
                                                {
                                                  "-appearance":
                                                    { "Appearance":
                                                      {
                                                        "-material":
                                                          { "Material":
                                                            {
                                                              "@diffuseColor":[1,0,0]
                                                            }
                                                          }
                                                      }
                                                    },
                                                  "-geometry":
                                                    { "Box":
                                                      {
                                                        "@size":[3.94,0.6,0.03]
                                                      }
                                                    }
                                                }
                                              },
                                              {
                                                "#comment":"\"FRONT-RIGHT (OUTER)VERTICAL PANEL\""
                                              },
                                              { "Transform":
                                                {
                                                  "@translation":[0.35,-0.2,0.15],
                                                  "-children":[
                                                    { "Shape":
                                                      {
                                                        "-appearance":
                                                          { "Appearance":
                                                            {
                                                              "-material":
                                                                { "Material":
                                                                  {
                                                                    "@diffuseColor":[0.2,1,0]
                                                                  }
                                                                }
                                                            }
                                                          },
                                                        "-geometry":
                                                          { "Box":
                                                            {
                                                              "@size":[0.03,0.16,0.28]
                                                            }
                                                          }
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "#comment":"\"FRONT-LEFT (OUTER)VERTICAL PANEL"
                                              },
                                              { "Transform":
                                                {
                                                  "@translation":[-0.35,-0.2,0.15],
                                                  "-children":[
                                                    { "Shape":
                                                      {
                                                        "-appearance":
                                                          { "Appearance":
                                                            {
                                                              "-material":
                                                                { "Material":
                                                                  {
                                                                    "@diffuseColor":[0.2,1,0]
                                                                  }
                                                                }
                                                            }
                                                          },
                                                        "-geometry":
                                                          { "Box":
                                                            {
                                                              "@size":[0.03,0.16,0.28]
                                                            }
                                                          }
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "#comment":"\"BACK TEXT\""
                                              },
                                              { "Transform":
                                                {
                                                  "@rotation":[0,0,1,-3.14],
                                                  "@translation":[1.40,-7.20,1.05],
                                                  "-children":[
                                                    { "Transform":
                                                      {
                                                        "@rotation":[1,0,0,0.266],
                                                        "-children":[
                                                          { "Shape":
                                                            {
                                                              "-appearance":
                                                                { "Appearance":
                                                                  {
                                                                    "-material":
                                                                      { "Material":
                                                                        {
                                                                          "@diffuseColor":[1,1,0]
                                                                        }
                                                                      }
                                                                  }
                                                                },
                                                              "-geometry":
                                                                { "Text":
                                                                  {
                                                                    "@string":["MV-4204"],
                                                                    "-fontStyle":
                                                                      { "FontStyle":
                                                                        {
                                                                          "@size":0.8,
                                                                          "@style":"BOLD"
                                                                        }
                                                                      }
                                                                  }
                                                                }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "#comment":"\"FRONT RIGHT TEXT\""
                                              },
                                              { "Transform":
                                                {
                                                  "@rotation":[0,0,1,-3.14],
                                                  "@translation":[2.2,0.2,0],
                                                  "-children":[
                                                    { "Transform":
                                                      {
                                                        "@translation":[0.5,0.020,0.05],
                                                        "-children":[
                                                          { "Shape":
                                                            {
                                                              "-appearance":
                                                                { "Appearance":
                                                                  {
                                                                    "-material":
                                                                      { "Material":
                                                                        {
                                                                          "@diffuseColor":[1,1,0]
                                                                        }
                                                                      }
                                                                  }
                                                                },
                                                              "-geometry":
                                                                { "Text":
                                                                  {
                                                                    "@string":["VRML"],
                                                                    "-fontStyle":
                                                                      { "FontStyle":
                                                                        {
                                                                          "@size":0.4,
                                                                          "@style":"BOLD"
                                                                        }
                                                                      }
                                                                  }
                                                                }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "#comment":"\"FRONT LEFT TEXT\""
                                              },
                                              { "Transform":
                                                {
                                                  "@rotation":[0,0,1,3.14],
                                                  "@translation":[-2.1,0.2,0],
                                                  "-children":[
                                                    { "Transform":
                                                      {
                                                        "@translation":[-1.5,0.01,0.05],
                                                        "-children":[
                                                          { "Shape":
                                                            {
                                                              "-appearance":
                                                                { "Appearance":
                                                                  {
                                                                    "-material":
                                                                      { "Material":
                                                                        {
                                                                          "@diffuseColor":[1,1,0]
                                                                        }
                                                                      }
                                                                  }
                                                                },
                                                              "-geometry":
                                                                { "Text":
                                                                  {
                                                                    "@string":["VRML"],
                                                                    "-fontStyle":
                                                                      { "FontStyle":
                                                                        {
                                                                          "@size":0.4,
                                                                          "@style":"BOLD"
                                                                        }
                                                                      }
                                                                  }
                                                                }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "#comment":"\"FRONT-RIGHT (INNER)VERTICAL PANEL"
                                              },
                                              { "Transform":
                                                {
                                                  "@translation":[1.95,0.01,0.05],
                                                  "-children":[
                                                    { "Shape":
                                                      {
                                                        "-appearance":
                                                          { "Appearance":
                                                            {
                                                              "-material":
                                                                { "Material":
                                                                  {
                                                                    "@diffuseColor":[0.2,1,0]
                                                                  }
                                                                }
                                                            }
                                                          },
                                                        "-geometry":
                                                          { "Box":
                                                            {
                                                              "@size":[0.03,0.6,0.1]
                                                            }
                                                          }
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "#comment":"\"FRONT-LEFT (INNER)VERTICAL PANEL"
                                              },
                                              { "Transform":
                                                {
                                                  "@translation":[-1.95,0.01,0.05],
                                                  "-children":[
                                                    { "Shape":
                                                      {
                                                        "-appearance":
                                                          { "Appearance":
                                                            {
                                                              "-material":
                                                                { "Material":
                                                                  {
                                                                    "@diffuseColor":[0.2,1,0]
                                                                  }
                                                                }
                                                            }
                                                          },
                                                        "-geometry":
                                                          { "Box":
                                                            {
                                                              "@size":[0.03,0.6,0.1]
                                                            }
                                                          }
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "#comment":"\"BACK (INCLINED) UPPER PANEL\""
                                        },
                                        { "Transform":
                                          {
                                            "@rotation":[1,0,0,-0.2],
                                            "@translation":[0,-3.57,0.75],
                                            "-children":[
                                              { "Shape":
                                                {
                                                  "-appearance":
                                                    { "Appearance":
                                                      {
                                                        "-material":
                                                          { "Material":
                                                            {
                                                              "@diffuseColor":[1,0,0]
                                                            }
                                                          }
                                                      }
                                                    },
                                                  "-geometry":
                                                    { "Box":
                                                      {
                                                        "@size":[3.94,0.8,0.04]
                                                      }
                                                    }
                                                }
                                              },
                                              { "Transform":
                                                {
                                                  "@translation":[1.95,0,0.1],
                                                  "-children":[
                                                    { "Shape":
                                                      {
                                                        "-appearance":
                                                          { "Appearance":
                                                            {
                                                              "-material":
                                                                { "Material":
                                                                  {
                                                                    "@diffuseColor":[0.2,1,0]
                                                                  }
                                                                }
                                                            }
                                                          },
                                                        "-geometry":
                                                          { "Box":
                                                            {
                                                              "@size":[0.04,0.8,0.2]
                                                            }
                                                          }
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              { "Transform":
                                                {
                                                  "@translation":[-1.95,0,0.1],
                                                  "-children":[
                                                    { "Shape":
                                                      {
                                                        "-appearance":
                                                          { "Appearance":
                                                            {
                                                              "-material":
                                                                { "Material":
                                                                  {
                                                                    "@diffuseColor":[0.2,1,0]
                                                                  }
                                                                }
                                                            }
                                                          },
                                                        "-geometry":
                                                          { "Box":
                                                            {
                                                              "@size":[0.04,0.8,0.2]
                                                            }
                                                          }
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "#comment":"\"HORIZONTAL PART OF THE CAR\""
                                        },
                                        { "Transform":
                                          {
                                            "@rotation":[0,0,1,1.57],
                                            "@scale":[1,1,0.05],
                                            "@translation":[0,-0.15,0],
                                            "-children":[
                                              { "Shape":
                                                {
                                                  "-appearance":
                                                    { "Appearance":
                                                      {
                                                        "-material":
                                                          { "Material":
                                                            {
                                                              "@diffuseColor":[0.2,1,0]
                                                            }
                                                          },
                                                        "-texture":
                                                          { "ImageTexture":
                                                            {
                                                              "@USE":"nplogo"
                                                            }
                                                          }
                                                      }
                                                    },
                                                  "-geometry":
                                                    { "Cylinder":
                                                      {
                                                        "@height":3.95,
                                                        "@radius":1.9
                                                      }
                                                    }
                                                }
                                              },
                                              {
                                                "#comment":"\"RIGHT TEXT\""
                                              },
                                              { "Transform":
                                                {
                                                  "@rotation":[0,0,1,-3.14],
                                                  "@translation":[0.6,1.65,2],
                                                  "-children":[
                                                    { "Shape":
                                                      {
                                                        "-appearance":
                                                          { "Appearance":
                                                            {
                                                              "-material":
                                                                { "Material":
                                                                  {
                                                                    "@diffuseColor":[1,1,0]
                                                                  }
                                                                }
                                                            }
                                                          },
                                                        "-geometry":
                                                          { "Text":
                                                            {
                                                              "@string":["NPS"],
                                                              "-fontStyle":
                                                                { "FontStyle":
                                                                  {
                                                                    "@size":0.8,
                                                                    "@style":"BOLD"
                                                                  }
                                                                }
                                                            }
                                                          }
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "#comment":"\"LEFT TEXT\""
                                              },
                                              { "Transform":
                                                {
                                                  "@rotation":[0,0,1,-6.28],
                                                  "@translation":[-0.8,-1.65,2],
                                                  "-children":[
                                                    { "Shape":
                                                      {
                                                        "-appearance":
                                                          { "Appearance":
                                                            {
                                                              "-material":
                                                                { "Material":
                                                                  {
                                                                    "@diffuseColor":[1,1,0]
                                                                  }
                                                                }
                                                            }
                                                          },
                                                        "-geometry":
                                                          { "Text":
                                                            {
                                                              "@string":["NPS"],
                                                              "-fontStyle":
                                                                { "FontStyle":
                                                                  {
                                                                    "@size":0.8,
                                                                    "@style":"BOLD"
                                                                  }
                                                                }
                                                            }
                                                          }
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "#comment":"\"BACK-LEFT VERTICAL PANEL\""
                                        },
                                        { "Transform":
                                          {
                                            "@translation":[-0.42,-3.4,0.35],
                                            "-children":[
                                              { "Shape":
                                                {
                                                  "-appearance":
                                                    { "Appearance":
                                                      {
                                                        "-material":
                                                          { "Material":
                                                            {
                                                              "@diffuseColor":[0.2,1,0]
                                                            }
                                                          }
                                                      }
                                                    },
                                                  "-geometry":
                                                    { "Box":
                                                      {
                                                        "@size":[0.06,0.26,0.7]
                                                      }
                                                    }
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "#comment":"\"BACK-RIGHT VERTICAL PANEL\""
                                        },
                                        { "Transform":
                                          {
                                            "@translation":[0.42,-3.4,0.35],
                                            "-children":[
                                              { "Shape":
                                                {
                                                  "-appearance":
                                                    { "Appearance":
                                                      {
                                                        "-material":
                                                          { "Material":
                                                            {
                                                              "@diffuseColor":[0.2,1,0]
                                                            }
                                                          }
                                                      }
                                                    },
                                                  "-geometry":
                                                    { "Box":
                                                      {
                                                        "@size":[0.06,0.26,0.7]
                                                      }
                                                    }
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "#comment":"\"EXHAUST\""
                                        },
                                        { "Transform":
                                          {
                                            "@translation":[0.2,-3.88,0],
                                            "-children":[
                                              { "Shape":
                                                {
                                                  "@DEF":"exhaust",
                                                  "-appearance":
                                                    { "Appearance":
                                                      {
                                                        "-material":
                                                          { "Material":
                                                            {
                                                              "@diffuseColor":[0,0,0]
                                                            }
                                                          }
                                                      }
                                                    },
                                                  "-geometry":
                                                    { "Cylinder":
                                                      {
                                                        "@height":0.25,
                                                        "@radius":0.05
                                                      }
                                                    }
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "#comment":"\"EXHAUST\""
                                        },
                                        { "Transform":
                                          {
                                            "@translation":[-0.2,-3.88,0],
                                            "-children":[
                                              { "Shape":
                                                {
                                                  "@USE":"exhaust"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  }
                                ]
                              }
                            },
                            { "Sound":
                              {
                                "@DEF":"Engine1",
                                "-source":
                                  { "AudioClip":
                                    {
                                      "@DEF":"SOUNDSOURCE1",
                                      "@description":"V1",
                                      "@loop":true,
                                      "@url":["f1.wav","https://www.web3d.org/x3d/content/examples/Basic/StudentProjects/f1.wav"]
                                    }
                                  }
                              }
                            },
                            { "Sound":
                              {
                                "@DEF":"Engine2",
                                "-source":
                                  { "AudioClip":
                                    {
                                      "@DEF":"SOUNDSOURCE2",
                                      "@description":"V2",
                                      "@loop":true,
                                      "@url":["f2.wav","https://www.web3d.org/x3d/content/examples/Basic/StudentProjects/f2.wav"]
                                    }
                                  }
                              }
                            },
                            { "Sound":
                              {
                                "@DEF":"Engine3",
                                "-source":
                                  { "AudioClip":
                                    {
                                      "@DEF":"SOUNDSOURCE3",
                                      "@description":"V3",
                                      "@loop":true,
                                      "@url":["f3.wav","https://www.web3d.org/x3d/content/examples/Basic/StudentProjects/f3.wav"]
                                    }
                                  }
                              }
                            }
                          ]
                        }
                      },
                      { "Script":
                        {
                          "@DEF":"MOVE",
                          "field": [
                            {
                              "@name":"set_fraction",
                              "@accessType":"inputOnly",
                              "@type":"SFFloat"
                            },
                            {
                              "@name":"value_changed",
                              "@accessType":"outputOnly",
                              "@type":"SFVec3f"
                            },
                            {
                              "@name":"radius",
                              "@accessType":"initializeOnly",
                              "@type":"SFFloat",
                              "@value":10
                            },
                            {
                              "@name":"turns",
                              "@accessType":"initializeOnly",
                              "@type":"SFFloat",
                              "@value":1
                            }
                          ],
                          "#sourceCode":[
"",
"",
"ecmascript:",
"",
"function set_fraction (fraction,eventTime)",
"{",
"    value_changed[0]=radius*Math.sin(turns*fraction*6.28);",
"    value_changed[1]=0;",
"    value_changed[2]=radius*Math.cos(turns*fraction*6.28);",
" }",
"",
""
]
                        }
                      },
                      { "Script":
                        {
                          "@DEF":"TURN",
                          "field": [
                            {
                              "@name":"set_fraction",
                              "@accessType":"inputOnly",
                              "@type":"SFFloat"
                            },
                            {
                              "@name":"value_changed",
                              "@accessType":"outputOnly",
                              "@type":"SFRotation"
                            },
                            {
                              "@name":"radius",
                              "@accessType":"initializeOnly",
                              "@type":"SFFloat",
                              "@value":1
                            },
                            {
                              "@name":"turns",
                              "@accessType":"initializeOnly",
                              "@type":"SFFloat",
                              "@value":1
                            }
                          ],
                          "#sourceCode":[
"",
"",
"ecmascript:",
"",
"function set_fraction (fraction,eventTime)",
"{",
"    value_changed[0]=0;",
"    value_changed[1]=1;",
"    value_changed[2]=0;",
"    value_changed[3]=fraction*6.28;",
" }",
"",
""
]
                        }
                      },
                      { "PlaneSensor":
                        {
                          "@DEF":"DRAG",
                          "@description":"touch to activate"
                        }
                      },
                      { "TimeSensor":
                        {
                          "@DEF":"CLOCK",
                          "@cycleInterval":8.0,
                          "@loop":true
                        }
                      }
                    ]
                  }
                },
                { "ROUTE":
                  {
                    "@fromField":"translation_changed",
                    "@fromNode":"DRAG",
                    "@toField":"set_translation",
                    "@toNode":"CAR"
                  }
                },
                { "ROUTE":
                  {
                    "@fromField":"fraction_changed",
                    "@fromNode":"CLOCK",
                    "@toField":"set_fraction",
                    "@toNode":"MOVE"
                  }
                },
                { "ROUTE":
                  {
                    "@fromField":"value_changed",
                    "@fromNode":"MOVE",
                    "@toField":"set_translation",
                    "@toNode":"CAR"
                  }
                },
                { "ROUTE":
                  {
                    "@fromField":"fraction_changed",
                    "@fromNode":"CLOCK",
                    "@toField":"set_fraction",
                    "@toNode":"TURN"
                  }
                },
                { "ROUTE":
                  {
                    "@fromField":"value_changed",
                    "@fromNode":"TURN",
                    "@toField":"set_rotation",
                    "@toNode":"FORMULA"
                  }
                }
              ]
            }
          }
        ]
    }
  }
}