{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Immersive",
    "@version":"4.0",
    "@xsd:noNamespaceSchemaLocation":"https://www.web3d.org/specifications/x3d-4.0.xsd",
    "JSON schema":"https://www.web3d.org/specifications/x3d-4.0-JSONSchema.autogenerated.json",
    "head": {
        "meta": [
          {
            "@name":"title",
            "@content":"ClaudeCodeSimpleModel.x3d"
          },
          {
            "@name":"description",
            "@content":"Model generated by Claude Code, with small cleanups: Orbiting Primitives with no textures, showing four colored 3D primitives — sphere, box, cone, cylinder — orbiting on an animated platform."
          },
          {
            "@name":"author",
            "@content":"Claude (Anthropic)"
          },
          {
            "@name":"translator",
            "@content":"Don Brutzman"
          },
          {
            "@name":"created",
            "@content":"27 February 2026"
          },
          {
            "@name":"modified",
            "@content":"28 February 2026"
          },
          {
            "@name":"documentation",
            "@content":"ClaudeCodeExampleChatLog.pdf"
          },
          {
            "@name":"warning",
            "@content":"original model produced by LLM, careful review and precautions are warranted"
          },
          {
            "@name":"generator",
            "@content":"Claude Sonnet 4.6"
          },
          {
            "@name":"reference",
            "@content":"https://claude.ai/new"
          },
          {
            "@name":"reference",
            "@content":"X3DOM version originals/x3d_scene.html"
          },
          {
            "@name":"Image",
            "@content":"ClaudeCodeSimpleModelHtmlX3DOM.png"
          },
          {
            "@name":"Image",
            "@content":"ClaudeCodeSimpleModelScreenshots.png"
          },
          {
            "@name":"Image",
            "@content":"ClaudeCodeSimpleModelScreenshotCastle.png"
          },
          {
            "@name":"reference",
            "@content":"History of initial changes at https://sourceforge.net/p/x3d/code/38626/log/?path=/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/LLM"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/LargeLanguageModels/ClaudeCodeSimpleModel.x3d"
          },
          {
            "@name":"license",
            "@content":"https://creativecommons.org/licenses/by/4.0/"
          },
          {
            "@name":"translated",
            "@content":"28 February 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":[
          { "Background":
            {
              "@skyColor":[0.05,0.05,0.1]
            }
          },
          { "NavigationInfo":
            {
            }
          },
          { "Viewpoint":
            {
              "@description":"Default",
              "@orientation":[1,0,0,-0.22],
              "@position":[0,2,9]
            }
          },
          {
            "#comment":"Lighting"
          },
          { "DirectionalLight":
            {
              "@color":[0.8,0.85,1.0],
              "@direction":[-1,-2,-1],
              "@intensity":0.8
            }
          },
          { "PointLight":
            {
              "@attenuation":[0,0,0.1],
              "@color":[0.5,0.6,1.0],
              "@intensity":1.5,
              "@location":[3,5,3],
              "@radius":25
            }
          },
          {
            "#comment":"Animated orbit group"
          },
          { "Transform":
            {
              "@DEF":"ORBIT_GROUP",
              "-children":[
                { "TimeSensor":
                  {
                    "@DEF":"TIMER",
                    "@cycleInterval":7,
                    "@loop":true
                  }
                },
                { "OrientationInterpolator":
                  {
                    "@DEF":"SPINNER",
                    "@key":[0,0.5,1],
                    "@keyValue":[0,1,0,0,0,1,0,3.14159,0,1,0,6.28318]
                  }
                },
                { "ROUTE":
                  {
                    "@fromField":"fraction_changed",
                    "@fromNode":"TIMER",
                    "@toField":"set_fraction",
                    "@toNode":"SPINNER"
                  }
                },
                { "ROUTE":
                  {
                    "@fromField":"value_changed",
                    "@fromNode":"SPINNER",
                    "@toField":"set_rotation",
                    "@toNode":"ORBIT_GROUP"
                  }
                },
                {
                  "#comment":"Central Sphere"
                },
                { "Transform":
                  {
                    "-children":[
                      { "Shape":
                        {
                          "-appearance":
                            { "Appearance":
                              {
                                "-material":
                                  { "Material":
                                    {
                                      "@diffuseColor":[0.2,0.4,0.9],
                                      "@emissiveColor":[0.02,0.05,0.2],
                                      "@shininess":0.85,
                                      "@specularColor":[0.7,0.8,1.0]
                                    }
                                  }
                              }
                            },
                          "-geometry":
                            { "Sphere":
                              {
                                "@radius":0.85
                              }
                            }
                        }
                      }
                    ]
                  }
                },
                {
                  "#comment":"Red Box"
                },
                { "Transform":
                  {
                    "@translation":[2.4,0,0],
                    "-children":[
                      { "Shape":
                        {
                          "-appearance":
                            { "Appearance":
                              {
                                "-material":
                                  { "Material":
                                    {
                                      "@diffuseColor":[0.9,0.2,0.35],
                                      "@emissiveColor":[0.15,0.01,0.04],
                                      "@shininess":0.75,
                                      "@specularColor":[1.0,0.6,0.7]
                                    }
                                  }
                              }
                            },
                          "-geometry":
                            { "Box":
                              {
                                "@size":[0.6,0.6,0.6]
                              }
                            }
                        }
                      }
                    ]
                  }
                },
                {
                  "#comment":"Green Cone"
                },
                { "Transform":
                  {
                    "@translation":[-2.4,0,0],
                    "-children":[
                      { "Shape":
                        {
                          "-appearance":
                            { "Appearance":
                              {
                                "-material":
                                  { "Material":
                                    {
                                      "@diffuseColor":[0.15,0.85,0.5],
                                      "@emissiveColor":[0.01,0.12,0.04],
                                      "@shininess":0.7,
                                      "@specularColor":[0.5,1.0,0.7]
                                    }
                                  }
                              }
                            },
                          "-geometry":
                            { "Cone":
                              {
                                "@bottomRadius":0.45,
                                "@height":1.0
                              }
                            }
                        }
                      }
                    ]
                  }
                },
                {
                  "#comment":"Yellow Cylinder"
                },
                { "Transform":
                  {
                    "@translation":[0,0,2.4],
                    "-children":[
                      { "Shape":
                        {
                          "-appearance":
                            { "Appearance":
                              {
                                "-material":
                                  { "Material":
                                    {
                                      "@diffuseColor":[1.0,0.75,0.1],
                                      "@emissiveColor":[0.15,0.1,0.0],
                                      "@shininess":0.8,
                                      "@specularColor":[1.0,0.95,0.6]
                                    }
                                  }
                              }
                            },
                          "-geometry":
                            { "Cylinder":
                              {
                                "@height":0.75,
                                "@radius":0.3
                              }
                            }
                        }
                      }
                    ]
                  }
                }
              ]
            }
          },
          {
            "#comment":"Ground disc"
          },
          { "Transform":
            {
              "@translation":[0,-1.4,0],
              "-children":[
                { "Shape":
                  {
                    "-appearance":
                      { "Appearance":
                        {
                          "-material":
                            { "Material":
                              {
                                "@diffuseColor":[0.1,0.15,0.45],
                                "@shininess":0.5,
                                "@specularColor":[0.3,0.4,0.8],
                                "@transparency":0.35
                              }
                            }
                        }
                      },
                    "-geometry":
                      { "Cylinder":
                        {
                          "@height":0.05,
                          "@radius":3.5
                        }
                      }
                  }
                }
              ]
            }
          }
        ]
    }
  }
}