{
  "id": "task_libraries:3d/javascript",
  "path": "/exapedia/javascript-3d-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "JavaScript 3D libraries",
  "answer": [
    {
      "t": "fact",
      "fact": "F114"
    },
    {
      "t": "text",
      "text": " On every frame, a renderer draws the scene's camera, lights, and meshes onto a canvas element. These libraries draw the product viewers, globe maps, data visualizations, and browser games on the web."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "JavaScript 3D libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#three-js",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F129"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F130"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F136"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F131"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#react-three-fiber",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F144"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F145"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F153"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F148"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F146"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#regl",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F163"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F164"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F165"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#ogl",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F180"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F181"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F184"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F182"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#splinetool-runtime",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F198"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F199"
                }
              ],
              [
                {
                  "t": "text",
                  "text": "Not on GitHub"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F200"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#cesiumjs",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F215"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F216"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F222"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F219"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F217"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#babylonjs-core",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F231"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F232"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F240"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F235"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F233"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#playcanvas",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F249"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F250"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F256"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F253"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F251"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "npm"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#three-js",
          "label": [
            {
              "t": "fact",
              "fact": "F1"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F130"
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "WebGPU renderer",
            "Native React reconciler"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#three-js",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F129"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F137"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F138"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#react-three-fiber",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F144"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F154"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F155"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#regl",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F163"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F173"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#ogl",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F180"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F190"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F191"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#splinetool-runtime",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F198"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F207"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F208"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#cesiumjs",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F215"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#babylonjs-core",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F231"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F241"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#playcanvas",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F249"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F257"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F258"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "three-js",
          "name": [
            {
              "t": "fact",
              "fact": "F129"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/mrdoob/three.js"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/three"
            },
            {
              "label": "Docs",
              "href": "https://threejs.org/docs/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F12"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F130"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F136"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F131"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://threejs.org/docs/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F129"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F13"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F19"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F20"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F142"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/NASA-AMMOS/3DTilesRendererJS",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F142"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "transformLatLonHeightToOrigin( lat, lon, height = 0, azimuth = 0, elevation = 0, roll = 0 ) {\n\n\t\tconst { group, ellipsoid } = this.tiles;\n\n\t\t// get ENU orientation (Z facing north and X facing west) and position\n\t\tellipsoid.getObjectFrame( lat, lon, height, azimuth, elevation, roll, group.matrix, OBJECT_FRAME );\n\n\t\t// adjust the group matrix\n\t\tgroup.matrix.invert().decompose( group.position, group.quaternion, group.scale );\n\t\tgroup.updateMatrixWorld();\n\n\t}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/NASA-AMMOS/3DTilesRendererJS/blob/6f05f758914996f20cdb7f117f419c2ab8288476/src/three/plugins/ReorientationPlugin.js#L148-L159",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F141"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20projects%20using%20three%20for%20geographic%20model%20transforms%2C%20camera%20framing%20and%20synchronized%20globe%20navigation&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F129"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import * as THREE from 'three';\nconst width = window.innerWidth, height = window.innerHeight;\nconst camera = new THREE.PerspectiveCamera( 70, width / height, 0.01, 10 );\ncamera.position.z = 1;\nconst scene = new THREE.Scene();\nconst geometry = new THREE.BoxGeometry( 0.2, 0.2, 0.2 );\nconst material = new THREE.MeshNormalMaterial();\nconst mesh = new THREE.Mesh( geometry, material );\nscene.add( mesh );\nconst renderer = new THREE.WebGLRenderer( { antialias: true } );\nrenderer.setSize( width, height );\nrenderer.setAnimationLoop( animate );\ndocument.body.appendChild( renderer.domElement );\nfunction animate( time ) {\n\tmesh.rotation.x = time / 2000;\n\tmesh.rotation.y = time / 1000;\n\trenderer.render( scene, camera );\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/mrdoob/three.js/blob/dev/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F134"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "react-three-fiber",
          "name": [
            {
              "t": "fact",
              "fact": "F144"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/pmndrs/react-three-fiber"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@react-three/fiber"
            },
            {
              "label": "Docs",
              "href": "https://r3f.docs.pmnd.rs/api/canvas"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F151"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F145"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F153"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F147"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F146"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://r3f.docs.pmnd.rs/api/canvas",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F144"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F161"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F162"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/pmndrs/drei",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F161"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "export function useCubeCamera({ resolution = 256, near = 0.1, far = 1000, envMap, fog }: CubeCameraOptions = {}) {\n  const gl = useThree(({ gl }) => gl)\n  const scene = useThree(({ scene }) => scene)\n\n  const fbo = useMemo(() => {\n    const fbo = new WebGLCubeRenderTarget(resolution)\n    fbo.texture.type = HalfFloatType\n    return fbo\n  }, [resolution])\n\n  useEffect(() => {\n    return () => {\n      fbo.dispose()\n    }\n  }, [fbo])\n\n  const camera = useMemo(() => new THREE.CubeCamera(near, far, fbo), [near, far, fbo])\n\n  let originalFog\n  let originalBackground\n  const update = React.useCallback(() => {\n    originalFog = scene.fog\n    originalBackground = scene.background\n    scene.background = envMap || originalBackground\n    scene.fog = fog || originalFog\n    camera.update(gl, scene)\n    scene.fog = originalFog\n    scene.background = originalBackground\n  }, [gl, scene, camera])\n\n  return {\n    fbo,\n    camera,\n    update,\n  }\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/pmndrs/drei/blob/bf6f4addf47467d3885de272d94ca5127f6ef68f/src/core/CubeCamera.tsx#L20-L55",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F160"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40react-three/fiber%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F144"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import React from 'react';\nimport { Canvas } from '@react-three/fiber';\n\nexport default function App() {\n  return (\n    <Canvas style={{ height: 300 }}>\n      <ambientLight intensity={Math.PI / 2} />\n      <mesh>\n        <boxGeometry args={[1, 1, 1]} />\n        <meshStandardMaterial color=\"orange\" />\n      </mesh>\n    </Canvas>\n  );\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/pmndrs/react-three-fiber/contents/readme.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F149"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "regl",
          "name": [
            {
              "t": "fact",
              "fact": "F163"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/regl-project/regl"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/regl"
            },
            {
              "label": "Docs",
              "href": "https://regl-project.github.io/regl/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F265"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F164"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F166"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F165"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://regl-project.github.io/regl/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F163"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F178"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F179"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/rreusser/regl-gpu-lines",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F178"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "function draw() {\n  regl.poll();\n  regl.clear({color: [0.2, 0.2, 0.2, 1]});\n  drawLines([\n    {...lineData, phase: 0, color: [1, 0, 0.5]},\n    {...lineData, phase: Math.PI, color: [0, 0.5, 1]},\n  ]);\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/rreusser/regl-gpu-lines/blob/ec1cfb11ff3330461e0083215dbb5cb139129b5a/examples/knot.js#L79-L86",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F177"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=regl%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F163"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "const regl = require('regl')();\nconst drawTriangle = regl({\n  frag: `\n    precision mediump float;\n    uniform vec4 color;\n    void main() {\n      gl_FragColor = color;\n    }`,\n  vert: `\n    precision mediump float;\n    attribute vec2 position;\n    void main() {\n      gl_Position = vec4(position, 0, 1);\n    }`,\n  attributes: {\n    position: regl.buffer([[-1, -1], [1, -1], [0, 1]]),\n  },\n  uniforms: { color: regl.prop('color') },\n  count: 3,\n});\nregl.clear({ color: [0, 0, 0, 1], depth: 1 });\ndrawTriangle({ color: [1, 0, 0, 1] });\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/regl@2.1.1/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F168"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "ogl",
          "name": [
            {
              "t": "fact",
              "fact": "F180"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/oframe/ogl"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/ogl"
            },
            {
              "label": "Docs",
              "href": "https://oframe.github.io/ogl/examples/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F266"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F181"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F183"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F182"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://oframe.github.io/ogl/examples/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F180"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F196"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F197"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/pmndrs/react-ogl",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F196"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "function Controls() {\n  const controls = React.useRef<OGL.Orbit>(null!)\n  const gl = useOGL((state) => state.gl)\n  const camera = useOGL((state) => state.camera)\n\n  React.useEffect(() => {\n    gl.canvas.classList.add('controls')\n    return () => void gl.canvas.classList.remove('controls')\n  }, [])\n\n  useFrame(() => controls.current.update())\n\n  return <orbit ref={controls} args={[camera, { element: gl.canvas, enableZoom: false }]} />\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/pmndrs/react-ogl/blob/3e30e09def191bf6a7737fb5e9fe2e85cc60fe99/examples/src/components/Controls.tsx#L5-L18",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F195"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=ogl%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F180"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { Renderer, Camera, Transform, Box, Program, Mesh } from 'ogl';\n\nconst renderer = new Renderer();\nconst gl = renderer.gl;\nrenderer.setSize(640, 360);\ndocument.body.appendChild(gl.canvas);\nconst camera = new Camera(gl);\ncamera.position.z = 5;\ncamera.perspective({ aspect: gl.canvas.width / gl.canvas.height });\nconst scene = new Transform();\nconst geometry = new Box(gl);\nconst program = new Program(gl, {\n  vertex: `\n    attribute vec3 position;\n    uniform mat4 modelViewMatrix;\n    uniform mat4 projectionMatrix;\n    void main() {\n      gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n    }\n  `,\n  fragment: `\n    void main() {\n      gl_FragColor = vec4(1.0);\n    }\n  `,\n});\nconst mesh = new Mesh(gl, { geometry, program });\nmesh.setParent(scene);\nrenderer.render({ scene, camera });\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/ogl@1.0.11/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F185"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "splinetool-runtime",
          "name": [
            {
              "t": "fact",
              "fact": "F198"
            }
          ],
          "links": [
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@splinetool/runtime"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F267"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F199"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F201"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F200"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://www.npmjs.com/package/@splinetool/runtime",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F198"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F213"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F214"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/splinetool/react-spline",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F213"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "async function init() {\n          await speApp.load(scene);\n\n          for (let event of events) {\n            if (event.cb) {\n              speApp.addEventListener(event.name, event.cb);\n            }\n          }\n\n          setIsLoading(false);\n          onLoad?.(speApp);\n        }\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/splinetool/react-spline/blob/0e93b105f2bbb4d0520bf6e98d20bfb650d36408/src/Spline.tsx#L143-L154",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F212"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40splinetool/runtime%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F198"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { Application } from '@splinetool/runtime';\nconst canvas = document.getElementById('canvas3d');\nconst spline = new Application(canvas);\nspline.load('https://prod.spline.design/6Wq1Q7YGyM-iab9i/scene.splinecode');\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/@splinetool/runtime@2.0.194/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F203"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "cesiumjs",
          "name": [
            {
              "t": "fact",
              "fact": "F215"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/CesiumGS/cesium"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/cesium"
            },
            {
              "label": "Docs",
              "href": "https://cesium.com/learn/cesiumjs/ref-doc/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F38"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F216"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F222"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F218"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F217"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://cesium.com/learn/cesiumjs/ref-doc/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F215"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F39"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F42"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F43"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F44"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F45"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F46"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F229"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F230"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/openlayers/ol-cesium",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F229"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "setPosition(position: number[]) {\n    if (!this.toLonLat_) {\n      return;\n    }\n    const ll = this.toLonLat_(position);\n    console.assert(!!ll);\n\n    const carto = new Cesium.Cartographic(\n      toRadians(ll[0]),\n      toRadians(ll[1]),\n      this.getAltitude(),\n    );\n\n    this.cam_.setView({\n      destination: Cesium.Ellipsoid.WGS84.cartographicToCartesian(carto),\n    });\n    this.updateView();\n  }\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/openlayers/ol-cesium/blob/5fe9a69943a20d7734f7d2e6efb35d0e54c552a8/src/olcs/Camera.ts#L202-L219",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F228"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20projects%20using%20cesium%20for%20geographic%20model%20transforms%2C%20camera%20framing%20and%20synchronized%20globe%20navigation&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F215"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { Viewer } from \"cesium\";\nimport \"cesium/Build/Cesium/Widgets/widgets.css\";\nconst viewer = new Viewer(\"cesiumContainer\");\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/cesium@1.147.0/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F220"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "babylonjs-core",
          "name": [
            {
              "t": "fact",
              "fact": "F231"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/BabylonJS/Babylon.js"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@babylonjs/core"
            },
            {
              "label": "Docs",
              "href": "https://doc.babylonjs.com/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F268"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F232"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F240"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F234"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F233"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://doc.babylonjs.com/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F231"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F247"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F248"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/BabylonJS/Editor",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F247"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "export function getCameraFocusPositionFor(target: Vector3, camera: Camera, options: ICameraFocusPositionOptions) {\n\tconst fov = camera.fov;\n\tconst aspect = camera.getEngine().getAspectRatio(camera);\n\tconst sizeVec = options.maximum.subtract(options.minimum);\n\n\tconst verticalSize = sizeVec.y;\n\tconst horizontalSize = sizeVec.x;\n\n\tconst verticalDistance = verticalSize / 2 / Math.tan(fov / 2);\n\tconst horizontalDistance = horizontalSize / 2 / Math.tan((fov * aspect) / 2);\n\tconst idealDistance = Math.max(verticalDistance, horizontalDistance) * (options.distance ?? 2);\n\n\tconst cameraPosition = camera.globalPosition.clone();\n\tcameraPosition.y = Math.abs(cameraPosition.y);\n\n\tconst directionToMesh = cameraPosition.subtract(target).normalize();\n\n\tconst position = target.add(directionToMesh.scale(idealDistance));\n\tposition.y += sizeVec.y * 0.25;\n\n\treturn position;\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/BabylonJS/Editor/blob/b8084320ef388440caee7e4eced4b4a8b143a68a/editor/src/tools/camera/focus.ts#L10-L31",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F246"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40babylonjs/core%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F231"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { Engine } from \"@babylonjs/core/Engines/engine\";\nimport { Scene } from \"@babylonjs/core/scene\";\nimport { Vector3 } from \"@babylonjs/core/Maths/math.vector\";\nimport { FreeCamera } from \"@babylonjs/core/Cameras/freeCamera\";\nimport { HemisphericLight } from \"@babylonjs/core/Lights/hemisphericLight\";\nimport { CreateSphere } from \"@babylonjs/core/Meshes/Builders/sphereBuilder\";\nimport { CreateGround } from \"@babylonjs/core/Meshes/Builders/groundBuilder\";\nimport \"@babylonjs/core/Materials/standardMaterial\";\nconst canvas = document.getElementById(\"renderCanvas\") as HTMLCanvasElement;\nconst engine = new Engine(canvas);\nconst scene = new Scene(engine);\nconst camera = new FreeCamera(\"camera1\", new Vector3(0, 5, -10), scene);\ncamera.setTarget(Vector3.Zero());\ncamera.attachControl(canvas, true);\nconst light = new HemisphericLight(\"light1\", new Vector3(0, 1, 0), scene);\nlight.intensity = 0.7;\nconst sphere = CreateSphere(\"sphere1\", { segments: 16, diameter: 2 }, scene);\nsphere.position.y = 1;\nCreateGround(\"ground1\", { width: 6, height: 6, subdivisions: 2 }, scene);\nengine.runRenderLoop(() => {\n    scene.render();\n});\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/@babylonjs/core@9.37.1/readme.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F236"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "playcanvas",
          "name": [
            {
              "t": "fact",
              "fact": "F249"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/playcanvas/engine"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/playcanvas"
            },
            {
              "label": "Docs",
              "href": "https://developer.playcanvas.com/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F64"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F250"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F256"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F252"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F251"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://developer.playcanvas.com/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F249"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F65"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F66"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F67"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F68"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F69"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F70"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F71"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F72"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F263"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F264"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/playcanvas/supersplat",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F263"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "private frameRay(frame: CameraFrame, x: number, y: number, ray: Ray) {\n        invViewProj.mul2(frame.projection, frame.view).invert();\n        const unproject = (z: number, out: Vec3) => {\n            vec4.set(x * 2 - 1, 1 - y * 2, z, 1);\n            invViewProj.transformVec4(vec4, vec4);\n            return out.set(vec4.x / vec4.w, vec4.y / vec4.w, vec4.z / vec4.w);\n        };\n        unproject(1, vec);\n        if (frame.ortho) {\n            unproject(-1, vecb);\n            ray.set(vecb, vec.sub(vecb).normalize());\n        } else {\n            ray.set(frame.position, vec.sub(frame.position).normalize());\n        }\n    }\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/playcanvas/supersplat/blob/8b6af56d0b589095b8ab56a1c52444c1f84582af/src/camera.ts#L1044-L1058",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F262"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20projects%20using%20playcanvas%20for%20geographic%20model%20transforms%2C%20camera%20framing%20and%20synchronized%20globe%20navigation&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F249"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import * as pc from 'playcanvas';\nconst canvas = document.createElement('canvas');\ndocument.body.appendChild(canvas);\nconst device = await pc.createGraphicsDevice(canvas, {\n  deviceTypes: [pc.DEVICETYPE_WEBGPU]\n});\nconst options = new pc.AppOptions();\noptions.graphicsDevice = device;\noptions.componentSystems = [\n  pc.RenderComponentSystem,\n  pc.CameraComponentSystem,\n  pc.LightComponentSystem\n];\nconst app = new pc.AppBase(canvas);\napp.init(options);\napp.setCanvasFillMode(pc.FILLMODE_FILL_WINDOW);\napp.setCanvasResolution(pc.RESOLUTION_AUTO);\nwindow.addEventListener('resize', () => app.resizeCanvas());\nconst box = new pc.Entity('cube');\nbox.addComponent('render', { type: 'box' });\napp.root.addChild(box);\nconst camera = new pc.Entity('camera');\ncamera.addComponent('camera', { clearColor: new pc.Color(0.1, 0.2, 0.3) });\ncamera.setPosition(0, 0, 3);\napp.root.addChild(camera);\nconst light = new pc.Entity('light');\nlight.addComponent('light');\nlight.setEulerAngles(45, 0, 0);\napp.root.addChild(light);\napp.on('update', dt => box.rotate(10 * dt, 20 * dt, 30 * dt));\napp.start();\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/playcanvas@2.24.2/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F254"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Three.js vs Babylon.js: what is the difference?",
      "a": [
        {
          "t": "link",
          "href": "#three-js",
          "label": [
            {
              "t": "text",
              "text": "three.js"
            }
          ]
        },
        {
          "t": "text",
          "text": " composes a scene from separate cameras, geometry, materials, and renderers. "
        },
        {
          "t": "link",
          "href": "#babylonjs-core",
          "label": [
            {
              "t": "text",
              "text": "Babylon.js"
            }
          ]
        },
        {
          "t": "text",
          "text": " is a modular engine whose companion packages supply materials, file loaders, and GUI components."
        }
      ]
    },
    {
      "q": "Does loading a model also enable simulated physics?",
      "a": [
        {
          "t": "fact",
          "fact": "F119"
        },
        {
          "t": "text",
          "text": " "
        },
        {
          "t": "fact",
          "fact": "F120"
        },
        {
          "t": "text",
          "text": " "
        },
        {
          "t": "fact",
          "fact": "F121"
        }
      ]
    },
    {
      "q": "Why does a compressed glTF model need another decoder?",
      "a": [
        {
          "t": "fact",
          "fact": "F122"
        }
      ]
    },
    {
      "q": "Can PlayCanvas run without its Editor?",
      "a": [
        {
          "t": "fact",
          "fact": "F124"
        }
      ]
    },
    {
      "q": "Why are PlayCanvas objects not casting shadows?",
      "a": [
        {
          "t": "fact",
          "fact": "F125"
        }
      ]
    },
    {
      "q": "How does CesiumJS position a locally authored model?",
      "a": [
        {
          "t": "fact",
          "fact": "F126"
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, three",
      "display": "three.js",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, three",
      "display": "131.0M",
      "asOf": "2026-11-15"
    },
    "F3": {
      "label": "License, three",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, three",
      "display": "0.187.0",
      "asOf": "2026-11-17"
    },
    "F5": {
      "label": "Undated package release, three",
      "display": "v0.187.0",
      "asOf": "2026-11-17"
    },
    "F6": {
      "label": "Repository stars, three",
      "display": "118.6K",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Loads glTF models, three",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Picks scene objects, three",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Renders cast shadows, three",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "Plays model animations, three",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "Install, three",
      "display": "npm install three",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "What it does, three",
      "display": "Builds general-purpose browser scenes from cameras, geometry, materials, and renderers.",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "strengths lead, three",
      "display": "Builds scenes from individual components",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths, three",
      "display": "Combine cameras, geometry, and materials to create a custom scene.",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths lead, three",
      "display": "Supports WebGL and WebGPU rendering",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "strengths, three",
      "display": "Choose the renderer that fits the application and target browser.",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "limitations lead, three",
      "display": "Physics needs an engine integration",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations, three",
      "display": "Synchronize scene meshes with a separate physics world for simulated collisions.",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "limitations lead, three",
      "display": "Compressed meshes need a decoder",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "limitations, three",
      "display": "Attach DRACOLoader before loading Draco-compressed glTF meshes.",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "Quickstart, three",
      "display": "import * as THREE from 'three';\n\nconst width = window.innerWidth, height = window.innerHeight;\n\n// init\n\nconst camera = new THREE.PerspectiveCamera( 70, width / height, 0.01, 10 );\ncamera.position.z = 1;\n\nconst scene = new THREE.Scene();\n\nconst geometry = new THREE.BoxGeometry( 0.2, 0.2, 0.2 );\nconst material = new THREE.MeshNormalMaterial();\n\nconst mesh = new THREE.Mesh( geometry, material );\nscene.add( mesh );\n\nconst renderer = new THREE.WebGLRenderer( { antialias: true } );\nrenderer.setSize( width, height );\nrenderer.setAnimationLoop( animate );\ndocument.body.appendChild( renderer.domElement );\n\n// animation\n\nfunction animate( time ) {\n\n\tmesh.rotation.x = time / 2000;\n\tmesh.rotation.y = time / 1000;\n\n\trenderer.render( scene, camera );\n\n}\n",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Project function, three",
      "display": "transformLatLonHeightToOrigin( lat, lon, height = 0, azimuth = 0, elevation = 0, roll = 0 ) {\n\n\t\tconst { group, ellipsoid } = this.tiles;\n\n\t\t// get ENU orientation (Z facing north and X facing west) and position\n\t\tellipsoid.getObjectFrame( lat, lon, height, azimuth, elevation, roll, group.matrix, OBJECT_FRAME );\n\n\t\t// adjust the group matrix\n\t\tgroup.matrix.invert().decompose( group.position, group.quaternion, group.scale );\n\t\tgroup.updateMatrixWorld();\n\n\t}\n",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Project function reference, three",
      "display": "ReorientationPlugin.js · transformLatLonHeightToOrigin()",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Project repository, three",
      "display": "NASA-AMMOS/3DTilesRendererJS",
      "asOf": "2026-11-17"
    },
    "F25": {
      "label": "Project stars, NASA-AMMOS/3DTilesRendererJS",
      "display": "2.5K",
      "asOf": "2026-11-17"
    },
    "F26": {
      "label": "Project push date, NASA-AMMOS/3DTilesRendererJS",
      "display": "Nov 2026",
      "asOf": "2026-11-11"
    },
    "F27": {
      "label": "Library name, cesium",
      "display": "CesiumJS",
      "asOf": "2026-11-17"
    },
    "F28": {
      "label": "Monthly downloads, cesium",
      "display": "1.7M",
      "asOf": "2026-11-15"
    },
    "F29": {
      "label": "License, cesium",
      "display": "Apache-2.0",
      "asOf": "2026-11-17"
    },
    "F30": {
      "label": "Package release, cesium",
      "display": "1.147.0",
      "asOf": "2026-11-17"
    },
    "F31": {
      "label": "Undated package release, cesium",
      "display": "v1.147.0",
      "asOf": "2026-11-17"
    },
    "F32": {
      "label": "Repository stars, cesium",
      "display": "16.0K",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "Loads glTF models, cesium",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "Picks scene objects, cesium",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "Renders cast shadows, cesium",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "Plays model animations, cesium",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "Install, cesium",
      "display": "npm install cesium --save",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "What it does, cesium",
      "display": "Displays geographic globes and maps with georeferenced models, terrain and interactive camera controls.",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "strengths lead, cesium",
      "display": "Builds geographic globes and maps",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "strengths, cesium",
      "display": "Use a geographic scene for world-scale visualizations.",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "strengths lead, cesium",
      "display": "Places models in geographic frames",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "strengths, cesium",
      "display": "Transform local model coordinates into the globe’s world coordinate system.",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "limitations lead, cesium",
      "display": "Local models need a transform",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "limitations, cesium",
      "display": "Set modelMatrix to place a local model on the globe.",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "limitations lead, cesium",
      "display": "Tutorial assets need a token",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "limitations, cesium",
      "display": "Supply a Cesium ion token for the tutorial’s hosted terrain and buildings.",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "Quickstart, cesium",
      "display": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n  <meta charset=\"utf-8\">\n  <!-- Include the CesiumJS JavaScript and CSS files -->\n  <script src=\"https://cesium.com/downloads/cesiumjs/releases/1.147/Build/Cesium/Cesium.js\"></script>\n  <link href=\"https://cesium.com/downloads/cesiumjs/releases/1.147/Build/Cesium/Widgets/widgets.css\" rel=\"stylesheet\">\n</head>\n<body>\n  <div id=\"cesiumContainer\"></div>\n  <script type=\"module\">\n    // Your access token can be found at: https://ion.cesium.com/tokens.\n    // Replace `your_access_token` with your Cesium ion access token.\n\n    Cesium.Ion.defaultAccessToken = 'your_access_token';\n\n    // Initialize the Cesium Viewer in the HTML element with the `cesiumContainer` ID.\n    const viewer = new Cesium.Viewer('cesiumContainer', {\n      terrain: Cesium.Terrain.fromWorldTerrain(),\n    });    \n\n    // Fly the camera to San Francisco at the given longitude, latitude, and height.\n    viewer.camera.flyTo({\n      destination: Cesium.Cartesian3.fromDegrees(-122.4175, 37.655, 400),\n      orientation: {\n        heading: Cesium.Math.toRadians(0.0),\n        pitch: Cesium.Math.toRadians(-15.0),\n      }\n    });\n\n    // Add Cesium OSM Buildings, a global 3D buildings layer.\n    const buildingTileset = await Cesium.createOsmBuildingsAsync();\n    viewer.scene.primitives.add(buildingTileset);   \n  </script>\n </div>\n</body>\n</html>\n\n",
      "asOf": "2026-11-17"
    },
    "F48": {
      "label": "Project function, cesium",
      "display": "setPosition(position: number[]) {\n    if (!this.toLonLat_) {\n      return;\n    }\n    const ll = this.toLonLat_(position);\n    console.assert(!!ll);\n\n    const carto = new Cesium.Cartographic(\n      toRadians(ll[0]),\n      toRadians(ll[1]),\n      this.getAltitude(),\n    );\n\n    this.cam_.setView({\n      destination: Cesium.Ellipsoid.WGS84.cartographicToCartesian(carto),\n    });\n    this.updateView();\n  }\n",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "Project function reference, cesium",
      "display": "Camera.ts · setPosition()",
      "asOf": "2026-11-17"
    },
    "F50": {
      "label": "Project repository, cesium",
      "display": "openlayers/ol-cesium",
      "asOf": "2026-11-17"
    },
    "F51": {
      "label": "Project stars, openlayers/ol-cesium",
      "display": "1.2K",
      "asOf": "2026-11-17"
    },
    "F52": {
      "label": "Project push date, openlayers/ol-cesium",
      "display": "Nov 2026",
      "asOf": "2026-11-16"
    },
    "F53": {
      "label": "Library name, playcanvas",
      "display": "PlayCanvas",
      "asOf": "2026-11-17"
    },
    "F54": {
      "label": "Monthly downloads, playcanvas",
      "display": "702.6K",
      "asOf": "2026-11-15"
    },
    "F55": {
      "label": "License, playcanvas",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F56": {
      "label": "Package release, playcanvas",
      "display": "2.24.1",
      "asOf": "2026-11-17"
    },
    "F57": {
      "label": "Undated package release, playcanvas",
      "display": "v2.24.1",
      "asOf": "2026-11-17"
    },
    "F58": {
      "label": "Repository stars, playcanvas",
      "display": "17.3K",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "Loads glTF models, playcanvas",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "Picks scene objects, playcanvas",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "Renders cast shadows, playcanvas",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "Plays model animations, playcanvas",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "Install, playcanvas",
      "display": "npm install playcanvas",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "What it does, playcanvas",
      "display": "Provides a browser graphics engine with entity components, animation and WebGPU or WebGL rendering.",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "strengths lead, playcanvas",
      "display": "Runs independently of the Editor",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "strengths, playcanvas",
      "display": "Use the engine directly in a JavaScript application.",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "strengths lead, playcanvas",
      "display": "Blends model animations through states",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "strengths, playcanvas",
      "display": "Use the anim component to play clips and cross-fade between states.",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "limitations lead, playcanvas",
      "display": "Physics relies on ammo.js",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "limitations, playcanvas",
      "display": "Load the physics integration when the scene needs rigid-body simulation.",
      "asOf": "2026-11-17"
    },
    "F71": {
      "label": "limitations lead, playcanvas",
      "display": "Lights start with shadows disabled",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "limitations, playcanvas",
      "display": "Enable shadow casting on lights before expecting objects to cast shadows.",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "Quickstart, playcanvas",
      "display": "import * as pc from 'playcanvas';\n\nconst canvas = document.createElement('canvas');\ndocument.body.appendChild(canvas);\n\n// create a graphics device, preferring WebGPU and falling back to WebGL2\nconst device = await pc.createGraphicsDevice(canvas, {\n  deviceTypes: [pc.DEVICETYPE_WEBGPU]\n});\n\n// create an app with only the component systems it uses\nconst options = new pc.AppOptions();\noptions.graphicsDevice = device;\noptions.componentSystems = [\n  pc.RenderComponentSystem,\n  pc.CameraComponentSystem,\n  pc.LightComponentSystem\n];\nconst app = new pc.AppBase(canvas);\napp.init(options);\n\n// fill the window and keep the canvas sized to it\napp.setCanvasFillMode(pc.FILLMODE_FILL_WINDOW);\napp.setCanvasResolution(pc.RESOLUTION_AUTO);\nwindow.addEventListener('resize', () => app.resizeCanvas());\n\n// create a box, a camera and a light\nconst box = new pc.Entity('cube');\nbox.addComponent('render', { type: 'box' });\napp.root.addChild(box);\n\nconst camera = new pc.Entity('camera');\ncamera.addComponent('camera', { clearColor: new pc.Color(0.1, 0.2, 0.3) });\ncamera.setPosition(0, 0, 3);\napp.root.addChild(camera);\n\nconst light = new pc.Entity('light');\nlight.addComponent('light');\nlight.setEulerAngles(45, 0, 0);\napp.root.addChild(light);\n\n// spin the box and start the app\napp.on('update', dt => box.rotate(10 * dt, 20 * dt, 30 * dt));\napp.start();\n",
      "asOf": "2026-11-17"
    },
    "F74": {
      "label": "Library name, babylonjs",
      "display": "Babylon.js",
      "asOf": "2026-11-17"
    },
    "F75": {
      "label": "Monthly downloads, babylonjs",
      "display": "149.7K",
      "asOf": "2026-11-15"
    },
    "F76": {
      "label": "License, babylonjs",
      "display": "Apache-2.0",
      "asOf": "2026-11-17"
    },
    "F77": {
      "label": "Package release, babylonjs",
      "display": "9.36.0",
      "asOf": "2026-11-17"
    },
    "F78": {
      "label": "Undated package release, babylonjs",
      "display": "v9.36.0",
      "asOf": "2026-11-17"
    },
    "F79": {
      "label": "Repository stars, babylonjs",
      "display": "26.4K",
      "asOf": "2026-11-17"
    },
    "F80": {
      "label": "Loads glTF models, babylonjs",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F81": {
      "label": "Picks scene objects, babylonjs",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F82": {
      "label": "Renders cast shadows, babylonjs",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F83": {
      "label": "Plays model animations, babylonjs",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "Install, babylonjs",
      "display": "npm install babylonjs --save",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "What it does, babylonjs",
      "display": "Builds browser scenes with cameras, mesh builders, animation, picking, and dynamic shadows.",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "strengths lead, babylonjs",
      "display": "Picks meshes with scene rays",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "strengths, babylonjs",
      "display": "Use scene.pickWithRay to identify a mesh along a ray.",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "strengths lead, babylonjs",
      "display": "Generates dynamic light shadows",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "strengths, babylonjs",
      "display": "Add mesh shadow casters through ShadowGenerator.",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "limitations lead, babylonjs",
      "display": "glTF loading needs another package",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "limitations, babylonjs",
      "display": "Add the glTF loader plugin before importing model files.",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "limitations lead, babylonjs",
      "display": "Physics needs an external engine",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "limitations, babylonjs",
      "display": "Configure a physics plugin before using simulated forces and collisions.",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "Quickstart, babylonjs",
      "display": "import * as BABYLON from 'babylonjs';\r\n\n// Get the canvas DOM element\r\nvar canvas = document.getElementById('renderCanvas');\r\n// Load the 3D engine\r\nvar engine = new BABYLON.Engine(canvas, true, {preserveDrawingBuffer: true, stencil: true});\r\n// CreateScene function that creates and return the scene\r\nvar createScene = function(){\r\n    // Create a basic BJS Scene object\r\n    var scene = new BABYLON.Scene(engine);\r\n    // Create a FreeCamera, and set its position to {x: 0, y: 5, z: -10}\r\n    var camera = new BABYLON.FreeCamera('camera1', new BABYLON.Vector3(0, 5, -10), scene);\r\n    // Target the camera to scene origin\r\n    camera.setTarget(BABYLON.Vector3.Zero());\r\n    // Attach the camera to the canvas\r\n    camera.attachControl(canvas, false);\r\n    // Create a basic light, aiming 0, 1, 0 - meaning, to the sky\r\n    var light = new BABYLON.HemisphericLight('light1', new BABYLON.Vector3(0, 1, 0), scene);\r\n    // Create a built-in \"sphere\" shape using the SphereBuilder\r\n    var sphere = BABYLON.MeshBuilder.CreateSphere('sphere1', {segments: 16, diameter: 2, sideOrientation: BABYLON.Mesh.FRONTSIDE}, scene);\r\n    // Move the sphere upward 1/2 of its height\r\n    sphere.position.y = 1;\r\n    // Create a built-in \"ground\" shape;\r\n    var ground = BABYLON.MeshBuilder.CreateGround(\"ground1\", { width: 6, height: 6, subdivisions: 2, updatable: false }, scene);\r\n    // Return the created scene\r\n    return scene;\r\n}\r\n// call the createScene function\r\nvar scene = createScene();\r\n// run the render loop\r\nengine.runRenderLoop(function(){\r\n    scene.render();\r\n});\r\n// the canvas/window resize event handler\r\nwindow.addEventListener('resize', function(){\r\n    engine.resize();\r\n});\r\n",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "Project function, babylonjs",
      "display": "export function getCameraFocusPositionFor(target: Vector3, camera: Camera, options: ICameraFocusPositionOptions) {\n\tconst fov = camera.fov;\n\tconst aspect = camera.getEngine().getAspectRatio(camera);\n\tconst sizeVec = options.maximum.subtract(options.minimum);\n\n\tconst verticalSize = sizeVec.y;\n\tconst horizontalSize = sizeVec.x;\n\n\tconst verticalDistance = verticalSize / 2 / Math.tan(fov / 2);\n\tconst horizontalDistance = horizontalSize / 2 / Math.tan((fov * aspect) / 2);\n\tconst idealDistance = Math.max(verticalDistance, horizontalDistance) * (options.distance ?? 2);\n\n\tconst cameraPosition = camera.globalPosition.clone();\n\tcameraPosition.y = Math.abs(cameraPosition.y);\n\n\tconst directionToMesh = cameraPosition.subtract(target).normalize();\n\n\tconst position = target.add(directionToMesh.scale(idealDistance));\n\tposition.y += sizeVec.y * 0.25;\n\n\treturn position;\n}\n",
      "asOf": "2026-11-17"
    },
    "F96": {
      "label": "Project function reference, babylonjs",
      "display": "focus.ts · getCameraFocusPositionFor()",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "Project repository, babylonjs",
      "display": "BabylonJS/Editor",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "Project stars, BabylonJS/Editor",
      "display": "1.1K",
      "asOf": "2026-11-17"
    },
    "F99": {
      "label": "Project push date, BabylonJS/Editor",
      "display": "Nov 2026",
      "asOf": "2026-11-15"
    },
    "F100": {
      "label": "Developer need",
      "display": "Custom scene components",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "Why choose three",
      "display": "cameras, geometry, and materials composed directly",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "Developer need in introduction",
      "display": "custom scene components",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "Developer need",
      "display": "Scene picking and shadows",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "Why choose babylonjs",
      "display": "scene-level mesh picking",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "Developer need in introduction",
      "display": "scene picking and shadows",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "Developer need",
      "display": "Animated entity applications",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "Why choose playcanvas",
      "display": "animation states and clip transitions",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "Developer need in introduction",
      "display": "animated entity applications",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "When to consider cesium",
      "display": "the main scene is a geographic globe",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "Developer need",
      "display": "Geographic globes and maps",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "Why choose cesium",
      "display": "world-scale geographic scenes",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "Developer need in introduction",
      "display": "geographic globes and maps",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "When to consider three",
      "display": "general-purpose local scenes fit better than geographic visualization",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "Page introduction",
      "display": "JavaScript 3D libraries draw three-dimensional scenes in the browser through WebGL or WebGPU.",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "FAQ: Which JavaScript scene library should I choose?",
      "display": "three.js builds scenes from cameras, geometry, and materials.",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "FAQ: Which JavaScript scene library should I choose?",
      "display": "Babylon.js includes scene-level mesh picking and dynamic shadows.",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "FAQ: Which JavaScript scene library should I choose?",
      "display": "PlayCanvas animates entity hierarchies through clips and states.",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "FAQ: Which JavaScript scene library should I choose?",
      "display": "CesiumJS is designed for geographic globes and maps.",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "FAQ: Does loading a model also enable simulated physics?",
      "display": "three.js physics integrations synchronize meshes with a separate physics world.",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "FAQ: Does loading a model also enable simulated physics?",
      "display": "Babylon.js uses external physics engines through plugins.",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "FAQ: Does loading a model also enable simulated physics?",
      "display": "PlayCanvas physics is powered by ammo.js.",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "FAQ: Why does a compressed glTF model need another decoder?",
      "display": "three.js GLTFLoader requires a DRACOLoader for Draco-compressed mesh assets.",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "FAQ: Does Babylon.js load glTF models from the engine bundle alone?",
      "display": "The glTF file-loader plugin works alongside Babylon scene-loading functions.",
      "asOf": "2026-11-17"
    },
    "F124": {
      "label": "FAQ: Can PlayCanvas run without its Editor?",
      "display": "The PlayCanvas engine runs directly in a standalone application, without the Editor.",
      "asOf": "2026-11-17"
    },
    "F125": {
      "label": "FAQ: Why are PlayCanvas objects not casting shadows?",
      "display": "PlayCanvas lights start with shadow casting disabled until code enables it.",
      "asOf": "2026-11-17"
    },
    "F126": {
      "label": "FAQ: How does CesiumJS position a locally authored model?",
      "display": "A model's modelMatrix transforms its local coordinates into Earth's Cartesian world frame.",
      "asOf": "2026-11-17"
    },
    "F127": {
      "label": "FAQ: Does the CesiumJS quickstart need hosted asset access?",
      "display": "The original tutorial requires an ion access token for its hosted assets.",
      "asOf": "2026-11-17"
    },
    "F128": {
      "label": "FAQ: Does the CesiumJS quickstart need hosted asset access?",
      "display": "Cesium models can also be created from a glTF URL through Model.fromGltfAsync.",
      "asOf": "2026-11-17"
    },
    "F129": {
      "label": "Library name, three",
      "display": "three.js",
      "asOf": "2026-11-20"
    },
    "F130": {
      "label": "Monthly downloads, three",
      "display": "133.8M",
      "asOf": "2026-11-20"
    },
    "F131": {
      "label": "License, three",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F132": {
      "label": "Package release, three",
      "display": "0.187.0",
      "asOf": "2026-11-20"
    },
    "F133": {
      "label": "Package release date, three",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F134": {
      "label": "Install, three",
      "display": "npm install three",
      "asOf": "2026-11-20"
    },
    "F135": {
      "label": "Quickstart, three",
      "display": "import * as THREE from 'three';\nconst width = window.innerWidth, height = window.innerHeight;\nconst camera = new THREE.PerspectiveCamera( 70, width / height, 0.01, 10 );\ncamera.position.z = 1;\nconst scene = new THREE.Scene();\nconst geometry = new THREE.BoxGeometry( 0.2, 0.2, 0.2 );\nconst material = new THREE.MeshNormalMaterial();\nconst mesh = new THREE.Mesh( geometry, material );\nscene.add( mesh );\nconst renderer = new THREE.WebGLRenderer( { antialias: true } );\nrenderer.setSize( width, height );\nrenderer.setAnimationLoop( animate );\ndocument.body.appendChild( renderer.domElement );\nfunction animate( time ) {\n\tmesh.rotation.x = time / 2000;\n\tmesh.rotation.y = time / 1000;\n\trenderer.render( scene, camera );\n}\n",
      "asOf": "2026-11-20"
    },
    "F136": {
      "label": "Repository stars, three",
      "display": "118.6K",
      "asOf": "2026-11-20"
    },
    "F137": {
      "label": "WebGPU renderer, three",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F138": {
      "label": "Native React reconciler, three",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F139": {
      "label": "Integration role, three",
      "display": "General-purpose3D scene/rendering library with imperative scene/object APIs and separate shipped WebGL/WebGPU renderer entrypoints.",
      "asOf": "2026-11-20"
    },
    "F140": {
      "label": "Project function, three",
      "display": "transformLatLonHeightToOrigin( lat, lon, height = 0, azimuth = 0, elevation = 0, roll = 0 ) {\n\n\t\tconst { group, ellipsoid } = this.tiles;\n\n\t\t// get ENU orientation (Z facing north and X facing west) and position\n\t\tellipsoid.getObjectFrame( lat, lon, height, azimuth, elevation, roll, group.matrix, OBJECT_FRAME );\n\n\t\t// adjust the group matrix\n\t\tgroup.matrix.invert().decompose( group.position, group.quaternion, group.scale );\n\t\tgroup.updateMatrixWorld();\n\n\t}\n",
      "asOf": "2026-11-20"
    },
    "F141": {
      "label": "Project source file, three",
      "display": "src/three/plugins/ReorientationPlugin.js",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "Project full_name, three",
      "display": "NASA-AMMOS/3DTilesRendererJS",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "Project stargazers_count, three",
      "display": "2.5K",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "Library name, @react-three/fiber",
      "display": "React Three Fiber",
      "asOf": "2026-11-20"
    },
    "F145": {
      "label": "Monthly downloads, @react-three/fiber",
      "display": "35.7M",
      "asOf": "2026-11-20"
    },
    "F146": {
      "label": "License, @react-three/fiber",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "Package release, @react-three/fiber",
      "display": "9.8.2",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "Package release date, @react-three/fiber",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "Install, @react-three/fiber",
      "display": "npm install three @react-three/fiber",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "Quickstart, @react-three/fiber",
      "display": "import React from 'react';\nimport { Canvas } from '@react-three/fiber';\n\nexport default function App() {\n  return (\n    <Canvas style={{ height: 300 }}>\n      <ambientLight intensity={Math.PI / 2} />\n      <mesh>\n        <boxGeometry args={[1, 1, 1]} />\n        <meshStandardMaterial color=\"orange\" />\n      </mesh>\n    </Canvas>\n  );\n}\n",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "Official description, @react-three/fiber",
      "display": "Renders three.js scenes from React components.",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "Quickstart source file, @react-three/fiber",
      "display": "readme.md",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "Repository stars, @react-three/fiber",
      "display": "33.8K",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "WebGPU renderer, @react-three/fiber",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "Native React reconciler, @react-three/fiber",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "Integration role, @react-three/fiber",
      "display": "React reconciler for Three scenes, refs, state, events, and lifecycle; used together with the Three peer rather than counted as a separate audience.",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "Declared peer ranges, @react-three/fiber",
      "display": "{\"expo\": \">=43.0\", \"expo-asset\": \">=8.4\", \"expo-file-system\": \">=11.0\", \"expo-gl\": \">=11.0\", \"react\": \">=19 <19.4\", \"react-dom\": \">=19 <19.4\", \"react-native\": \">=0.78\", \"three\": \">=0.156\"}",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "WebGPU integration, @react-three/fiber",
      "display": "The own Canvas guide shows asynchronous custom gl initialization; the feature matrix is not a claim that the point-cloud ShaderMaterial sample is a WebGPU example.",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "Project function, @react-three/fiber",
      "display": "export function useCubeCamera({ resolution = 256, near = 0.1, far = 1000, envMap, fog }: CubeCameraOptions = {}) {\n  const gl = useThree(({ gl }) => gl)\n  const scene = useThree(({ scene }) => scene)\n\n  const fbo = useMemo(() => {\n    const fbo = new WebGLCubeRenderTarget(resolution)\n    fbo.texture.type = HalfFloatType\n    return fbo\n  }, [resolution])\n\n  useEffect(() => {\n    return () => {\n      fbo.dispose()\n    }\n  }, [fbo])\n\n  const camera = useMemo(() => new THREE.CubeCamera(near, far, fbo), [near, far, fbo])\n\n  let originalFog\n  let originalBackground\n  const update = React.useCallback(() => {\n    originalFog = scene.fog\n    originalBackground = scene.background\n    scene.background = envMap || originalBackground\n    scene.fog = fog || originalFog\n    camera.update(gl, scene)\n    scene.fog = originalFog\n    scene.background = originalBackground\n  }, [gl, scene, camera])\n\n  return {\n    fbo,\n    camera,\n    update,\n  }\n}\n",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "Project source file, @react-three/fiber",
      "display": "src/core/CubeCamera.tsx",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "Project full_name, @react-three/fiber",
      "display": "pmndrs/drei",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "Project stargazers_count, @react-three/fiber",
      "display": "10.2K",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "Library name, regl",
      "display": "regl",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Monthly downloads, regl",
      "display": "5.1M",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "License, regl",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "Package release, regl",
      "display": "2.1.1",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "Package release date, regl",
      "display": "Nov 2024",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "Install, regl",
      "display": "npm install regl",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "Quickstart, regl",
      "display": "const regl = require('regl')();\nconst drawTriangle = regl({\n  frag: `\n    precision mediump float;\n    uniform vec4 color;\n    void main() {\n      gl_FragColor = color;\n    }`,\n  vert: `\n    precision mediump float;\n    attribute vec2 position;\n    void main() {\n      gl_Position = vec4(position, 0, 1);\n    }`,\n  attributes: {\n    position: regl.buffer([[-1, -1], [1, -1], [0, 1]]),\n  },\n  uniforms: { color: regl.prop('color') },\n  count: 3,\n});\nregl.clear({ color: [0, 0, 0, 1], depth: 1 });\ndrawTriangle({ color: [1, 0, 0, 1] });\n",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Official description, regl",
      "display": "regl is a fast functional WebGL framework.",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "Quickstart source file, regl",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "Repository stars, regl",
      "display": "5.6K",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "WebGPU renderer, regl",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "Native React reconciler, regl",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "Integration role, regl",
      "display": "Functional/declarative WebGL draw-command API; application code supplies shader programs, geometry, matrices, and lighting data.",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "Project function, regl",
      "display": "function draw() {\n  regl.poll();\n  regl.clear({color: [0.2, 0.2, 0.2, 1]});\n  drawLines([\n    {...lineData, phase: 0, color: [1, 0, 0.5]},\n    {...lineData, phase: Math.PI, color: [0, 0.5, 1]},\n  ]);\n}\n",
      "asOf": "2026-11-20"
    },
    "F177": {
      "label": "Project source file, regl",
      "display": "examples/knot.js",
      "asOf": "2026-11-20"
    },
    "F178": {
      "label": "Project full_name, regl",
      "display": "rreusser/regl-gpu-lines",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "Project stargazers_count, regl",
      "display": "190",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "Library name, ogl",
      "display": "ogl",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "Monthly downloads, ogl",
      "display": "4.4M",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "License, ogl",
      "display": "Unlicense",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "Package release, ogl",
      "display": "1.0.11",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "Package release date, ogl",
      "display": "Jan 2025",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "Install, ogl",
      "display": "npm install ogl",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "Quickstart, ogl",
      "display": "import { Renderer, Camera, Transform, Box, Program, Mesh } from 'ogl';\n\nconst renderer = new Renderer();\nconst gl = renderer.gl;\nrenderer.setSize(640, 360);\ndocument.body.appendChild(gl.canvas);\nconst camera = new Camera(gl);\ncamera.position.z = 5;\ncamera.perspective({ aspect: gl.canvas.width / gl.canvas.height });\nconst scene = new Transform();\nconst geometry = new Box(gl);\nconst program = new Program(gl, {\n  vertex: `\n    attribute vec3 position;\n    uniform mat4 modelViewMatrix;\n    uniform mat4 projectionMatrix;\n    void main() {\n      gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n    }\n  `,\n  fragment: `\n    void main() {\n      gl_FragColor = vec4(1.0);\n    }\n  `,\n});\nconst mesh = new Mesh(gl, { geometry, program });\nmesh.setParent(scene);\nrenderer.render({ scene, camera });\n",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "Official description, ogl",
      "display": "WebGL Library",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "Quickstart source file, ogl",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "Repository stars, ogl",
      "display": "4.8K",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "WebGPU renderer, ogl",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "Native React reconciler, ogl",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "Integration role, ogl",
      "display": "Low-abstraction WebGL renderer/scene classes aimed at developers writing their own shaders and render pipelines.",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "Application-owned material pipeline, ogl",
      "display": "The selected viewer example maps glTF material fields, optional vertex attributes, shader definitions, and environment textures into Program uniforms and culling/blending options.",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "Project function, ogl",
      "display": "function Controls() {\n  const controls = React.useRef<OGL.Orbit>(null!)\n  const gl = useOGL((state) => state.gl)\n  const camera = useOGL((state) => state.camera)\n\n  React.useEffect(() => {\n    gl.canvas.classList.add('controls')\n    return () => void gl.canvas.classList.remove('controls')\n  }, [])\n\n  useFrame(() => controls.current.update())\n\n  return <orbit ref={controls} args={[camera, { element: gl.canvas, enableZoom: false }]} />\n}\n",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "Project source file, ogl",
      "display": "examples/src/components/Controls.tsx",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "Project full_name, ogl",
      "display": "pmndrs/react-ogl",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "Project stargazers_count, ogl",
      "display": "220",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "Library name, @splinetool/runtime",
      "display": "@splinetool/runtime",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "Monthly downloads, @splinetool/runtime",
      "display": "3.0M",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "License, @splinetool/runtime",
      "display": "Not declared",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "Package release, @splinetool/runtime",
      "display": "2.0.194",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "Package release date, @splinetool/runtime",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "Install, @splinetool/runtime",
      "display": "npm install @splinetool/runtime",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "Quickstart, @splinetool/runtime",
      "display": "import { Application } from '@splinetool/runtime';\nconst canvas = document.getElementById('canvas3d');\nconst spline = new Application(canvas);\nspline.load('https://prod.spline.design/6Wq1Q7YGyM-iab9i/scene.splinecode');\n",
      "asOf": "2026-11-20"
    },
    "F205": {
      "label": "Official description, @splinetool/runtime",
      "display": "Spline is a collaborative design platform for creating production-ready interactive experiences in multiple dimensions. © 2026 Spline, Inc.",
      "asOf": "2026-11-20"
    },
    "F206": {
      "label": "Quickstart source file, @splinetool/runtime",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F207": {
      "label": "WebGPU renderer, @splinetool/runtime",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "Native React reconciler, @splinetool/runtime",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "Integration role, @splinetool/runtime",
      "display": "Loads exported Spline-editor .splinecode scenes into a browser canvas and exposes object/event/variable APIs.",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "Scene input workflow, @splinetool/runtime",
      "display": "The runtime loads a .splinecode file exported by the Spline editor; the README permits downloading/hosting that scene on the application server.",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "Project function, @splinetool/runtime",
      "display": "async function init() {\n          await speApp.load(scene);\n\n          for (let event of events) {\n            if (event.cb) {\n              speApp.addEventListener(event.name, event.cb);\n            }\n          }\n\n          setIsLoading(false);\n          onLoad?.(speApp);\n        }\n",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "Project source file, @splinetool/runtime",
      "display": "src/Spline.tsx",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "Project full_name, @splinetool/runtime",
      "display": "splinetool/react-spline",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "Project stargazers_count, @splinetool/runtime",
      "display": "1.4K",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "Library name, cesium",
      "display": "CesiumJS",
      "asOf": "2026-11-20"
    },
    "F216": {
      "label": "Monthly downloads, cesium",
      "display": "1.7M",
      "asOf": "2026-11-20"
    },
    "F217": {
      "label": "License, cesium",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F218": {
      "label": "Package release, cesium",
      "display": "1.147.0",
      "asOf": "2026-11-20"
    },
    "F219": {
      "label": "Package release date, cesium",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F220": {
      "label": "Install, cesium",
      "display": "npm install cesium",
      "asOf": "2026-11-20"
    },
    "F221": {
      "label": "Quickstart, cesium",
      "display": "import { Viewer } from \"cesium\";\nimport \"cesium/Build/Cesium/Widgets/widgets.css\";\nconst viewer = new Viewer(\"cesiumContainer\");\n",
      "asOf": "2026-11-20"
    },
    "F222": {
      "label": "Repository stars, cesium",
      "display": "16.0K",
      "asOf": "2026-11-20"
    },
    "F223": {
      "label": "WebGPU renderer, cesium",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F224": {
      "label": "Native React reconciler, cesium",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F225": {
      "label": "Integration role, cesium",
      "display": "Geospatial3D globe/map SDK with Cartographic/Ellipsoid/WGS84 coordinate models, camera APIs, and data/terrain ecosystem.",
      "asOf": "2026-11-20"
    },
    "F226": {
      "label": "Geodetic coordinates, cesium",
      "display": "Cartographic longitude/latitude are radians, height is meters, and WGS84 ellipsoid conversion yields Cartesian3 positions for the camera.",
      "asOf": "2026-11-20"
    },
    "F227": {
      "label": "Project function, cesium",
      "display": "setPosition(position: number[]) {\n    if (!this.toLonLat_) {\n      return;\n    }\n    const ll = this.toLonLat_(position);\n    console.assert(!!ll);\n\n    const carto = new Cesium.Cartographic(\n      toRadians(ll[0]),\n      toRadians(ll[1]),\n      this.getAltitude(),\n    );\n\n    this.cam_.setView({\n      destination: Cesium.Ellipsoid.WGS84.cartographicToCartesian(carto),\n    });\n    this.updateView();\n  }\n",
      "asOf": "2026-11-20"
    },
    "F228": {
      "label": "Project source file, cesium",
      "display": "src/olcs/Camera.ts",
      "asOf": "2026-11-20"
    },
    "F229": {
      "label": "Project full_name, cesium",
      "display": "openlayers/ol-cesium",
      "asOf": "2026-11-20"
    },
    "F230": {
      "label": "Project stargazers_count, cesium",
      "display": "1.2K",
      "asOf": "2026-11-20"
    },
    "F231": {
      "label": "Library name, @babylonjs/core",
      "display": "Babylon.js",
      "asOf": "2026-11-20"
    },
    "F232": {
      "label": "Monthly downloads, @babylonjs/core",
      "display": "1.6M",
      "asOf": "2026-11-20"
    },
    "F233": {
      "label": "License, @babylonjs/core",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F234": {
      "label": "Package release, @babylonjs/core",
      "display": "9.37.1",
      "asOf": "2026-11-20"
    },
    "F235": {
      "label": "Package release date, @babylonjs/core",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F236": {
      "label": "Install, @babylonjs/core",
      "display": "npm install @babylonjs/core",
      "asOf": "2026-11-20"
    },
    "F237": {
      "label": "Quickstart, @babylonjs/core",
      "display": "import { Engine } from \"@babylonjs/core/Engines/engine\";\nimport { Scene } from \"@babylonjs/core/scene\";\nimport { Vector3 } from \"@babylonjs/core/Maths/math.vector\";\nimport { FreeCamera } from \"@babylonjs/core/Cameras/freeCamera\";\nimport { HemisphericLight } from \"@babylonjs/core/Lights/hemisphericLight\";\nimport { CreateSphere } from \"@babylonjs/core/Meshes/Builders/sphereBuilder\";\nimport { CreateGround } from \"@babylonjs/core/Meshes/Builders/groundBuilder\";\nimport \"@babylonjs/core/Materials/standardMaterial\";\nconst canvas = document.getElementById(\"renderCanvas\") as HTMLCanvasElement;\nconst engine = new Engine(canvas);\nconst scene = new Scene(engine);\nconst camera = new FreeCamera(\"camera1\", new Vector3(0, 5, -10), scene);\ncamera.setTarget(Vector3.Zero());\ncamera.attachControl(canvas, true);\nconst light = new HemisphericLight(\"light1\", new Vector3(0, 1, 0), scene);\nlight.intensity = 0.7;\nconst sphere = CreateSphere(\"sphere1\", { segments: 16, diameter: 2 }, scene);\nsphere.position.y = 1;\nCreateGround(\"ground1\", { width: 6, height: 6, subdivisions: 2 }, scene);\nengine.runRenderLoop(() => {\n    scene.render();\n});\n",
      "asOf": "2026-11-20"
    },
    "F238": {
      "label": "Official description, @babylonjs/core",
      "display": "Getting started? Play directly with the Babylon.js API using our playground. It also contains a lot of samples to learn how to use it.",
      "asOf": "2026-11-20"
    },
    "F239": {
      "label": "Quickstart source file, @babylonjs/core",
      "display": "readme.md",
      "asOf": "2026-11-20"
    },
    "F240": {
      "label": "Repository stars, @babylonjs/core",
      "display": "26.4K",
      "asOf": "2026-11-20"
    },
    "F241": {
      "label": "WebGPU renderer, @babylonjs/core",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F242": {
      "label": "Native React reconciler, @babylonjs/core",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F243": {
      "label": "Integration role, @babylonjs/core",
      "display": "Modular Babylon engine core; publisher companion packages supply specialized materials, format loaders, GUI, serializers, and other integrations.",
      "asOf": "2026-11-20"
    },
    "F244": {
      "label": "Distribution and companion modules, @babylonjs/core",
      "display": "Modular @core is the canonical ranked package; unchanged Editor example imports current classic babylonjs9.37.1. Companion @babylonjs/loaders supplies OBJ/STL/glTF; these are not all bundled into the selected core.",
      "asOf": "2026-11-20"
    },
    "F245": {
      "label": "Project function, @babylonjs/core",
      "display": "export function getCameraFocusPositionFor(target: Vector3, camera: Camera, options: ICameraFocusPositionOptions) {\n\tconst fov = camera.fov;\n\tconst aspect = camera.getEngine().getAspectRatio(camera);\n\tconst sizeVec = options.maximum.subtract(options.minimum);\n\n\tconst verticalSize = sizeVec.y;\n\tconst horizontalSize = sizeVec.x;\n\n\tconst verticalDistance = verticalSize / 2 / Math.tan(fov / 2);\n\tconst horizontalDistance = horizontalSize / 2 / Math.tan((fov * aspect) / 2);\n\tconst idealDistance = Math.max(verticalDistance, horizontalDistance) * (options.distance ?? 2);\n\n\tconst cameraPosition = camera.globalPosition.clone();\n\tcameraPosition.y = Math.abs(cameraPosition.y);\n\n\tconst directionToMesh = cameraPosition.subtract(target).normalize();\n\n\tconst position = target.add(directionToMesh.scale(idealDistance));\n\tposition.y += sizeVec.y * 0.25;\n\n\treturn position;\n}\n",
      "asOf": "2026-11-20"
    },
    "F246": {
      "label": "Project source file, @babylonjs/core",
      "display": "editor/src/tools/camera/focus.ts",
      "asOf": "2026-11-20"
    },
    "F247": {
      "label": "Project full_name, @babylonjs/core",
      "display": "BabylonJS/Editor",
      "asOf": "2026-11-20"
    },
    "F248": {
      "label": "Project stargazers_count, @babylonjs/core",
      "display": "1.1K",
      "asOf": "2026-11-20"
    },
    "F249": {
      "label": "Library name, playcanvas",
      "display": "PlayCanvas",
      "asOf": "2026-11-20"
    },
    "F250": {
      "label": "Monthly downloads, playcanvas",
      "display": "712.8K",
      "asOf": "2026-11-20"
    },
    "F251": {
      "label": "License, playcanvas",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F252": {
      "label": "Package release, playcanvas",
      "display": "2.24.2",
      "asOf": "2026-11-20"
    },
    "F253": {
      "label": "Package release date, playcanvas",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F254": {
      "label": "Install, playcanvas",
      "display": "npm install playcanvas",
      "asOf": "2026-11-20"
    },
    "F255": {
      "label": "Quickstart, playcanvas",
      "display": "import * as pc from 'playcanvas';\nconst canvas = document.createElement('canvas');\ndocument.body.appendChild(canvas);\nconst device = await pc.createGraphicsDevice(canvas, {\n  deviceTypes: [pc.DEVICETYPE_WEBGPU]\n});\nconst options = new pc.AppOptions();\noptions.graphicsDevice = device;\noptions.componentSystems = [\n  pc.RenderComponentSystem,\n  pc.CameraComponentSystem,\n  pc.LightComponentSystem\n];\nconst app = new pc.AppBase(canvas);\napp.init(options);\napp.setCanvasFillMode(pc.FILLMODE_FILL_WINDOW);\napp.setCanvasResolution(pc.RESOLUTION_AUTO);\nwindow.addEventListener('resize', () => app.resizeCanvas());\nconst box = new pc.Entity('cube');\nbox.addComponent('render', { type: 'box' });\napp.root.addChild(box);\nconst camera = new pc.Entity('camera');\ncamera.addComponent('camera', { clearColor: new pc.Color(0.1, 0.2, 0.3) });\ncamera.setPosition(0, 0, 3);\napp.root.addChild(camera);\nconst light = new pc.Entity('light');\nlight.addComponent('light');\nlight.setEulerAngles(45, 0, 0);\napp.root.addChild(light);\napp.on('update', dt => box.rotate(10 * dt, 20 * dt, 30 * dt));\napp.start();\n",
      "asOf": "2026-11-20"
    },
    "F256": {
      "label": "Repository stars, playcanvas",
      "display": "17.3K",
      "asOf": "2026-11-20"
    },
    "F257": {
      "label": "WebGPU renderer, playcanvas",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F258": {
      "label": "Native React reconciler, playcanvas",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F259": {
      "label": "Integration role, playcanvas",
      "display": "WebGPU/WebGL2 graphics engine with entity/component application systems, asset handling, materials, instancing, and resource lifecycle APIs.",
      "asOf": "2026-11-20"
    },
    "F260": {
      "label": "Persistent scene-layer visibility, playcanvas",
      "display": "The observer task adds or removes the same forest MeshInstance array from a scene Layer instead of recreating its mesh, material, or instancing buffer.",
      "asOf": "2026-11-20"
    },
    "F261": {
      "label": "Project function, playcanvas",
      "display": "private frameRay(frame: CameraFrame, x: number, y: number, ray: Ray) {\n        invViewProj.mul2(frame.projection, frame.view).invert();\n        const unproject = (z: number, out: Vec3) => {\n            vec4.set(x * 2 - 1, 1 - y * 2, z, 1);\n            invViewProj.transformVec4(vec4, vec4);\n            return out.set(vec4.x / vec4.w, vec4.y / vec4.w, vec4.z / vec4.w);\n        };\n        unproject(1, vec);\n        if (frame.ortho) {\n            unproject(-1, vecb);\n            ray.set(vecb, vec.sub(vecb).normalize());\n        } else {\n            ray.set(frame.position, vec.sub(frame.position).normalize());\n        }\n    }\n",
      "asOf": "2026-11-20"
    },
    "F262": {
      "label": "Project source file, playcanvas",
      "display": "src/camera.ts",
      "asOf": "2026-11-20"
    },
    "F263": {
      "label": "Project full_name, playcanvas",
      "display": "playcanvas/supersplat",
      "asOf": "2026-11-20"
    },
    "F264": {
      "label": "Project stargazers_count, playcanvas",
      "display": "10.7K",
      "asOf": "2026-11-20"
    },
    "F265": {
      "label": "Entry what, regl",
      "display": "Replaces the WebGL API with two abstractions: GPU resources and draw commands.",
      "asOf": "2026-11-17"
    },
    "F266": {
      "label": "Entry what, ogl",
      "display": "Provides a small WebGL layer for developers who write their own shaders.",
      "asOf": "2026-11-17"
    },
    "F267": {
      "label": "Entry what, splinetool runtime",
      "display": "Loads scenes exported from the Spline editor and renders them in the browser.",
      "asOf": "2026-11-17"
    },
    "F268": {
      "label": "Entry what, babylonjs core",
      "display": "Publishes the Babylon.js engine as typed ES modules, with each class importable on its own.",
      "asOf": "2026-11-17"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best JavaScript 3D libraries three.js Babylon.js PlayCanvas Cesium code examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
