RepositoryTypeScript
layabox

layabox/LayaAir

LayaAir is a fully platform rendering engine with rich 2D/3D rendering capabilities and a mature integrated development platform

2.3kstars
556forks
4issues
5views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: minigames

#1 Repository of the week

1
TINIX TRENDING·Topic: 2d-game-engine

#1 Repository of the week

2
TINIX TRENDING·Topic: 3d-engine

#2 Repository of the week

LayaAir Engine

LayaAir engine, under the Layabox brand, is a 3D engine that supports full-platform publishing. It can be applied in various fields such as games, education, advertising, marketing, digital twins, metaverse, AR guides, VR scenes, architectural design, industrial design, etc.

中文

Screenshot of LayaAirIDE

LayaAir engine has adapted to many mainstream graphics APIs, such as WebGL/WebGPU/OpenGL/Vulkan, and supports programmable rendering pipelines, next-generation PBR rendering streams, ClusterLighting multi light technology, Forward+rendering pipelines, etc.

LayaAir engine can be released to multiple game platforms with one click. In addition to HTML5 WEB, it also supports the release of Native APP (Android、iOS、Mac、Windows、Linux), mini games (such as WeChat mini-games, ByteDance mini-games, Alipay mini-games, OPPO mini-games,vivo mini-games, and Xiaomi Quick Games).

LayaAir engine provides a powerful IDE, including a 3D scene editor, material editor, particle editor, blueprint editor, animation editor, physics editor, and UI editor. The IDE provides rich extension capabilities for developers to customize workflows, and developers can upload plugins to the resource store for sharing and sales.

LayaAir engine actively embraces AI and has built-in AIGC framework, providing AI creation generation, AI control IDE, AI customer service and other products.

Getting the engine

Binary downloads

Download LayaAir IDE directly from the official website of LayaAir, which includes the corresponding version of the engine.

LayaAir Engine Download.

Compiling from source

Install

Run the following command from the command line in the engine root directory, as shown below:

npm install

Run tests

Run the following command from the command line in the repo root directory, as shown below:

npm run start

And then open bin/index.html with live server.

Build

In the root directory of the engine, run the following command from the command line. After that, a build folder will be generated in the root directory, where the compiled engine is located. As shown below:

npm run build

How to use compiled engine in LayaAirIDE

If you need to use your own compiled engine instead of the IDE's built-in engine, you can copy the JavaScript files from the "build/libs" folder of the engine to the "root directory of your project/engine/libs". You don't need to copy all the JavaScript files, you can only copy the files you need to overwrite.

How to choose a branch

  • LayaAir_3.x: e.g. LayaAir_3.1. These are stable versions of the LayaAir3 engine, with each sub version number corresponding to a branch.

  • LayaAir_2.x: e.g. LayaAir_2.13.3. These are stable versions of the LayaAir2 engine, with each revision version number corresponding to a branch.

  • Master3.0: The active development version of LayaAir3, please do not use it for production environments.

How to contribute

Fork an official open source project from github to your own repository, clone it to your local computer, make changes to the code, and submit a PR to the official repository. We will respond as soon as possible and provide Approve and merge for you. Welcome everyone to join us in building together.

Project Showcase Policy

By using the LayaAir Engine, you agree that Layabox may display, reference, and promote projects created with the engine for non-profit showcase purposes related to the LayaAir ecosystem.

Such use may include, but is not limited to, project names, logos, screenshots, videos, descriptions, and other publicly available information. Showcase channels may include the official website, documentation, presentations, social media channels, community content, and other promotional materials.

This authorization is non-exclusive, royalty-free, and limited to project showcase and ecosystem promotion purposes only. All intellectual property rights of the project remain with their respective owners.

License

MIT

Similar Projects

Discover other similar projects and AI models.

RepositoryJavaScript
mrdoob/three.js

JavaScript 3D Library.

120.1k
Dec 2, 2026
RepositoryJavaScript
mrdoob/three.js

JavaScript 3D Library.

120.1k
Dec 2, 2026
RepositoryJavaScript
twbs/bootstrap

The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.

175.1k
Dec 1, 2026
RepositoryTypeScript
BabylonJS/Babylon.js

Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.

26.6k
Dec 2, 2026
RepositoryC++
electron/electron

:electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS

124.3k
Dec 2, 2026
Repository
getify/You-Dont-Know-JS

A book series (2 published editions) on the JS language.

184.8k
Oct 31, 2026
RepositoryTypeScript
heygen-com/hyperframes

Open-source AI video editor: edit your own footage, or create and remake any video with Claude Code, Codex or the free Studio app. Write HTML, render MP4. By HeyGen.

94.6k
Dec 2, 2026
RepositoryTypeScript
mermaid-js/mermaid

Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown

91.3k
Nov 29, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

487.0k
Dec 2, 2026