talira

Babylon.js

An open, web-based 3D rendering and game engine backed by Microsoft

open sourceApache-2.0free

Babylon.js is an open source 3D engine for the web, written in TypeScript and backed by Microsoft. It renders through WebGL 1 and 2 or WebGPU behind one API, with a full scene graph of lights, cameras, materials, meshes, animation, audio and actions, physically based rendering, a node material editor, particles, a GUI layer, WebXR, and physics through Havok. Babylon Native runs the same scenes in native apps on iOS, Android, macOS and Windows. The browser-based Playground, Sandbox and node editors help build and debug scenes, and it's used for games, product configurators, digital twins and other interactive 3D on the web. It's on npm as babylonjs and the @babylonjs packages.

Problems it solves

  • build a 3D game that runs in the browser
  • show an interactive 3D product configurator on my website
  • a WebGPU 3D engine for JavaScript or TypeScript
  • render a digital twin or 3D model in a web app
  • add VR or AR to a web page with WebXR

Features

  • WebGL 1, WebGL 2 and WebGPU from one API
  • scene graph with lights, cameras, materials, animation and audio
  • physically based rendering and node materials
  • physics with Havok, including character controllers and ragdolls
  • WebXR support
  • GUI, particles and sprites
  • Playground, Sandbox and node editors in the browser
  • Babylon Native for iOS, Android, macOS and Windows apps

Alternatives

The same job

These do what Babylon.js does.

  1. three.js JavaScript 3D library
  2. PixiJS The fastest 2D WebGL and WebGPU renderer for the web
  3. A-Frame Web framework for building 3D, AR and VR scenes in the browser with HTML

Compare Babylon.js with the top 3