{"id":13408752,"url":"https://github.com/galacean/engine","last_synced_at":"2026-01-12T01:56:41.131Z","repository":{"id":37668123,"uuid":"319569318","full_name":"galacean/engine","owner":"galacean","description":"A typescript interactive engine, support 2D, 3D, animation, physics, built on WebGL and glTF.","archived":false,"fork":false,"pushed_at":"2025-12-26T02:36:51.000Z","size":39571,"stargazers_count":5669,"open_issues_count":263,"forks_count":392,"subscribers_count":74,"default_branch":"main","last_synced_at":"2025-12-27T12:57:29.957Z","etag":null,"topics":["2d","3d","animation","graphics","html5","input","javascript","physics","typescript","web3d","webgl","webgl2"],"latest_commit_sha":null,"homepage":"https://galacean.com/engine","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/galacean.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCTOR.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["galacean"],"open_collective":"galacean"}},"created_at":"2020-12-08T08:07:37.000Z","updated_at":"2025-12-27T08:36:24.000Z","dependencies_parsed_at":"2023-09-07T08:22:24.988Z","dependency_job_id":"bca36ffd-82ec-429b-992a-71d42862aa75","html_url":"https://github.com/galacean/engine","commit_stats":{"total_commits":1999,"total_committers":38,"mean_commits":52.60526315789474,"dds":0.5382691345672836,"last_synced_commit":"4a269a189b8a7febd4151809c380729667bbd2c6"},"previous_names":["ant-galaxy/oasis-engine","oasis-engine/engine","galacean/engine","galacean/runtime"],"tags_count":568,"template":false,"template_full_name":null,"purl":"pkg:github/galacean/engine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/galacean%2Fengine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/galacean%2Fengine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/galacean%2Fengine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/galacean%2Fengine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/galacean","download_url":"https://codeload.github.com/galacean/engine/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/galacean%2Fengine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28331362,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"ssl_error","status_checked_at":"2026-01-12T00:36:15.229Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["2d","3d","animation","graphics","html5","input","javascript","physics","typescript","web3d","webgl","webgl2"],"created_at":"2024-07-30T20:00:55.011Z","updated_at":"2026-01-12T01:56:41.115Z","avatar_url":"https://github.com/galacean.png","language":"TypeScript","readme":"# Galacean Engine\n\n\u003ca href=\"https://www.npmjs.com/package/@galacean/engine\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@galacean/engine\"/\u003e\u003c/a\u003e\n![npm-size](https://img.shields.io/bundlephobia/minzip/@galacean/engine)\n![npm-download](https://img.shields.io/npm/dm/@galacean/engine)\n[![codecov](https://codecov.io/gh/galacean/engine/branch/main/graph/badge.svg?token=KR2UBKE3OX)](https://codecov.io/gh/galacean/engine)\n\n[Galacean Engine](https://www.galacean.com/engine) is a high-performance, real-time interactive engine designed primarily for web and mobile platforms. It employs a component system architecture and emphasizes ease of use and lightweight design. Developers can create projects using either editor or pure code.\n\n![image](https://github.com/user-attachments/assets/057c2c99-85a8-4ace-a268-c70daa1a449e)\n\n## Features\n\n- 🖥 \u0026nbsp;**Platform** - Support HTML5 and wechat minigame\n- 🔮 \u0026nbsp;**Graphics** - Advanced 2D + 3D graphics engine\n- 🏃 \u0026nbsp;**Animation** - Powerful animation system\n- 🧱 \u0026nbsp;**Physics** - Powerful and easy-to-use physical features\n- 🎨 \u0026nbsp;**GUI** - Flexible UI system with drag-and-drop and dynamic interactions\n- 👆 \u0026nbsp;**Input** - Easy-to-use interactive capabilities\n- 📑 \u0026nbsp;**Scripts** - Use TypeScript to write logic efficiently\n\n## Usage\n\n### Using Editor\nWe recommend using [**Editor**](https://galacean.antgroup.com/editor)  for a streamlined workflow that enables seamless integration between artists and developers. Its intuitive visual tools allow artists to quickly create scenes and enable developers to write custom logic, with convenient platform export. You can even create projects based on pre-built case templates.\n\n![image](https://github.com/user-attachments/assets/18f63fef-696c-4f9f-b44a-d8b7af481a3e)\n\n\n### Using Pure Code\nIf you want to build your project using pure code via runtime, install the engine from npm:\n\n```sh\nnpm install @galacean/engine\n```\n\nCreate a simple scene:\n\n```typescript\nimport { BlinnPhongMaterial, Camera, DirectLight, MeshRenderer, WebGLEngine, PrimitiveMesh } from \"@galacean/engine\";\n\n// Create engine by passing in the HTMLCanvasElement id and adjust canvas size\nconst engine = await WebGLEngine.create({ canvas: \"canvas-id\" });\nengine.canvas.resizeByClientSize();\n\n// Get scene and create root entity\nconst scene = engine.sceneManager.activeScene;\nconst rootEntity = scene.createRootEntity(\"Root\");\n\n// Create light\nconst lightEntity = rootEntity.createChild(\"Light\");\nconst directLight = lightEntity.addComponent(DirectLight);\nlightEntity.transform.setRotation(-45, -45, 0);\ndirectLight.intensity = 0.4;\n\n// Create camera\nconst cameraEntity = rootEntity.createChild(\"Camera\");\ncameraEntity.addComponent(Camera);\ncameraEntity.transform.setPosition(0, 0, 12);\n\n// Create sphere\nconst meshEntity = rootEntity.createChild(\"Sphere\");\nconst meshRenderer = meshEntity.addComponent(MeshRenderer);\nconst material = new BlinnPhongMaterial(engine);\nmeshRenderer.setMaterial(material);\nmeshRenderer.mesh = PrimitiveMesh.createSphere(engine, 1);\n\n// Run engine\nengine.run();\n```\n\n## Contributing\n\nThis repository contains the runtime's source code and documentation. Everyone is welcome to contribute—whether you find a bug, have a feature request, or want to tackle a task from our roadmap, please get in touch.\n\nMake sure to read the [Contributing Guide](.github/HOW_TO_CONTRIBUTE.md) / [贡献指南](https://github.com/galacean/engine/wiki/%E5%A6%82%E4%BD%95%E4%B8%8E%E6%88%91%E4%BB%AC%E5%85%B1%E5%BB%BA-Oasis-%E5%BC%80%E6%BA%90%E4%BA%92%E5%8A%A8%E5%BC%95%E6%93%8E) before submitting changes.\n\n## Clone\n\nPrerequisites:\n\n- [git-lfs](https://git-lfs.com/) (Install by official website)\n\nClone this repository:\n\n```sh\ngit clone git@github.com:galacean/engine.git\n```\n\n## Build\n\nPrerequisites:\n\n- [Node.js v15.0.0+](https://nodejs.org/en/) and NPM (Install by official website)\n- [PNPM](https://pnpm.io/) (Install globally by `npm install -g pnpm`)\n\nIn the folder where you have cloned the repository, install the build dependencies using pnpm:\n\n```sh\npnpm install\n```\n\nThen, to build the source, using npm:\n\n```sh\nnpm run b:all\n```\n\n## Links\n\n- [Official Site](https://galacean.antgroup.com/engine)\n- [Editor](https://galacean.antgroup.com/editor)\n- [Documentation](https://galacean.antgroup.com/engine/docs)\n\n## License\n\nThe engine is released under the [MIT](https://opensource.org/licenses/MIT) license. See LICENSE file.\n","funding_links":["https://github.com/sponsors/galacean","https://opencollective.com/galacean"],"categories":["Repository","GameEngine Design","TypeScript","Libraries"],"sub_categories":["WebGL","JavaScript"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgalacean%2Fengine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgalacean%2Fengine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgalacean%2Fengine/lists"}