A curated list of awesome things related to the Babylon.js game engine.
Babylon.js is an open-source game and rendering engine written in TypeScript designed to be powerful, beautiful, simple, and open. It supports cross-platform game development through WebGL, WebGPU, and the Babylon Native runtime.
Your contributions are always welcome! Please read the contributing guidelines to get started.
Official Babylon.js links.
- Babylon.js Documentation
- Babylon.js Editor
- Babylon.js Features
- Babylon.js Playground
- Babylon.js Sandbox
- Babylon Native
- Babylon React Native
- Changelog
- Community Demos
- Forum
- Node Material Editor
- Partners Using Babylon.js
- Specifications
- Social Media
- SpectorJS - Explore and Troubleshoot your WebGL scenes with ease
- Start Contributing to Babylon.js
Books about or for Babylon.js developers.
- Babylon.js Essentials
- Going the Distance with Babylon.js: Building extensible, maintainable, and attractive browser-based interactive applications using JavaScript
Noteworthy examples of community-contributed content on the Babylon.js playground.
- 360 portal
- 3D UI
- Ammo.js Heightmap
- Antigravity racing game demo
- Augmented Reality Drum
- Basic Swimming Fish
- Basketball
- Bowling and grabbing in XR
- Bowling
- Bowling lane
- Buttons always face user
- Camera positioning on event
- Captain Dude Fishing
- Car following path
- Change color on collide
- Chessboard Demo
- Circle menu
- Collectible health packs
- Colliding and deforming cubes
- Coronavirus
- Custom button mesh
- Custom WebXR controller mesh
- Dock the boat
- Dynamic snow demo
- Dynamic text in UI
- Exploding Lofi Sphere
- Exploding Lofi Torus
- Exploding Object with Solid Particles
- Explosion on keydown
- Explosions + City burning
- Fenerator 3D with explosion
- Flight Simulator Experiment
- Fruit Ninja VR Game
- Furball Shader
- Glowing marbles falling
- Glow World
- Grab and move a ball in WebXR
- God of War NME Weapons FX Demo
- Great White Shark
- GUI follows viewpoint in WebXR
- Gun firing
- Happy Holidays 2020 VR
- Happy holidays custom font
- HERO X
- Hit the cube
- Holographic keyboard
- Hopping game
- Joint Impulse Example
- Laser Saber
- Lego Buggy Mesh
- Light Paddle
- Mallot and Nail VR
- Marble slide
- Marble Tower
- Mesh Speech Synthesis API
- Music Visualizer
- Newton cradle
- Open url by clicking object
- Pac-Man Arcade Machine in WebXR
- physicsImposter parenting
- Ping pong in 3D
- Point Cloud Morphing
- portal + gravity mechanics
- Portal
- Progressive loading of glTF with LOD
- Pulsars / Imps
- Rollercoaster
- Screen Capture and Composition
- Shattered mesh with baked physics demo
- Simple XmlLoader GUI
- Slice mesh
- Soft body physics - wrecking ball + blocks
- Solid Particle System collisions
- Space Invader
- Space Ship Battle
- Spheres change color only when looked at
- Sphere Spiral
- SPS change color on click
- StakeShooter
- Submarine
- Table billards
- Tank playground with sound
- Tap to Bounce
- Targeting System
- TensorFlow.js + Webcam Demo
- TestTowerDef2
- The Pirate Fort
- Tic-Tac-Toe
- Track with Carriage Following It (First Person)
- Track with Carriage Following It (Third Person)
- Trailing mesh
- Under Water Demo
- Velocity test on soccer balls
- Virtual Joystick GUI
- Virtual Tour Booth
- VR Rythym Game
- Watch out for swords
- Water Refraction with RTT
- Wave Racer
- WebXR Catching Game
- WebXR Physics playground
- WebXR Tennis game
- XR Goal Keeper Trainer
- XR Throw Lab
- Yellow sphere volumetric light mini-game
- Yoshi Falling Balls
Official Babylon.js demos that really showcase what it is capable of.
- ActionBuilder - Turn the lights on/off using flip switches. [source]
- Actions - A torus that goes around in a circle and changes shape when it hovers over another shape. [source]
- Amp360Video - Explore a video in 360°. [source]
- AssetsManager - A human skull. [source]
- AudioAnalyser - Babylon isn't just graphics; it's a full game engine. [source]
- Bones - A walking soldier + animated bunnies. [source]
- Boom - Make things explode with a touch. [source]
- Bump - Render a ball using bump mapping. [source]
- CellShading - Use cell-shading to reproduce a cartoon-like effect. [source]
- Charting - 3D charts. [source]
- ChibiRex - An animated baby T-Rex. What more do you need? [source]
- Dancers - Animated 3D dancers. warning: takes a long time to load. [source]
- Dancing CSG - Constructive Solid Geometry using lights and a sparkly texture. [source]
- Decals - Touch the cat to splatter it with black ink. [source]
- DiStraction - A JavaScript driving game demo. Works with a DS3. [source]
- DragNDrop - Drag and rearrange different shapes. [source]
- Espilit - Explore an entire (barebones) house. [source]
- ExtrudePolygon - Destroy your own house. [source]
- Facets - A fountain of countless balls falling onto a complex shape, showcasing physics. [source]
- Flat 2009 - Explore an extremely detailed apartment, including a fishtank and bathroom. [source]
- FlightHelmet - A realistic aviator's helmet. [source]
- Fur - A disturbingly furred bunny. [source]
- GLTF - A GLTF Alien model featuring facial animations. [source]
- GUI - An interactive 3D UI. [source]
- GlowLayer - Make a neon pipe glow like plasma. [source]
- GlowingEspilit - Espilit but with glowing effects. [source]
- Heightmap - Generate terrain using a heightmap. [source]
- HillValley - Explore a town isolated from the outside world, like in The Twilight Zone. [source]
- HillValleyVR - HillValley but creepier in VR. [source]
- Ink - Quick Demo of using Babylon.js to simulate inking. [source]
- InstancedBones - A group of soldiers marching in sync. [source]
- Instances2 - A complex, moving space engine. [source]
- LookAt - Stare at a colored ball moving around in a box of shapes. [source]
- Mansion - Explore a haunted mansion. [source]
- MansionVR - Explore a haunted mansion in virtual reality. [source]
- MotionBlur - Blur things like if you were moving like The Flash. [source]
- PBRGlossy - Physically based rendering of a battle-damaged sci-fi helmet. [source]
- PBRGlossyBloom - Similar to PBRGlossy, but with an extra bloom filter. [source]
- PPBloom - Simple post-processing. [source]
- PPConvolution - A more advanced post-processing demo. [source]
- Particles - Colorful particles erupting. [source]
- Physics - Spheres and blocks with gravity added. [source]
- Polygon - It's a bird, but how did it get so flat? [source]
- Procedural - Don't hard-code content; generate it procedurally. [source]
- Retail - Explore a small store (no stealing). [source]
- SPS - Simulate asteroids around a planet using a solid particle system. [source]
- SPSCollisions - Solid particles as confetti being raining down on a ball. [source]
- SpaceDeK - Pretty darn close to a space-shooter. [source]
- Sponza - The most famous Babylon.js demo. [source]
- SponzaDynamicShadows - A simpler version of Sponza, but with dynamic lights. [source]
- TheCar - A futuristic car parked all by itself in a garage. Too bad there's no key. [source]
- Train - An incredibly realistic train. [source]
- Tunnel - Travel inside an endless rust-filled tunnel. [source]
- V8 - A complex, moving replica of a V8 engine. [source]
- Video Processing Sample - Quick Demo for setting up a Babylon.js real-time video processing using a webcam. [source]
- WCafe - Windows Cafe is a great place to unwind and have a relaxing look around. [source]
- Yeti - A non-threatening Yeti, complete with snow. [source]
Extra demonstrations of Babylon.js
- Minority Race - A racing game made in 2016 for a film school. [source]
- Robot Presentation - A robot gives a timed presentation, with an interactive slider to control animation status. [source]
- Sandbox - A sandbox for playing with Babylon files. [source]
- World Monger - Become a God and shape the world around you. [source]
Open source games built with Babylon.js
- Alien Cargo - A WebGL 3D game inspired by the classic puzzle game Sokoban. [demo]
- Attack of the Killer Bunnies - Where bunnies go to die. [demo]
- Block - A puzzle game made with Babylon.js [demo]
- Cube Endless Runner - Cube Endless Runner is a 3D game built with BabylonJS engine on top of WebGL and HTML5 technologies. [demo]
- Defend - Procedural Cross-Platform 3D Tower Defense Web Game with Physics and AI and Procedural Sound. [demo]
- F18 Fighter Simulation - Simulation driving of F18 Fighter. Based on babylonjs + ammojs. [demo]
- Hide and Seek Demo - Multiplayer Hide-and-Seek made with BabylonJS and Colyseus. [demo]
- Light Speed Ready! - A spaceship game of gathering resources and leveling your ship. [demo]
- NeoTrap - Music-based game built with Babylon.js [demo]
- Raucous Running and Rampaging Robot Racer Rally (R6) - A fast-paced many-explosion robot racer game. [demo]
- Roll A Ball - 3D Game to illustrate getting started with the BabylonJS game engine. [demo]
- Simple 3D FPS - A simple FPS game with BabylonJS engine following Clean Code principles. [demo]
- Space Invaders - Space Invaders in your browser with 3D WebGL. Built with BabylonJS. [demo]
- Summer's Festival - Source code for the game tutorial written by capucat. [demo]
- Theasis - FPS game using the BabylonJS framework. [demo]
- VoxelSrv - Voxel browser game inspired by Minecraft. [demo]
Open source projects using Babylon.js
- 3D Tetris - 3D Tetris using the Babylon.js engine. [demo]
- BABYDOOM - Doom clone using the JavaScript Babylon.js engine. [demo]
- babylon-demo - Babylon.js demo for academic purposes. [demo]
- BabylonFpsDemo - A first-person shooter with BabylonJS. [demo]
- BabylonJS-CharacterController - A CharacterController for Babylon.js [demo]
- BabylonJS-Doom-Clone - Doom-style game crafted with love using BabylonJS. [demo]
- BabylonJSFirstSteps - You will find here my first steps on Babylon.js [demo]
- Babylon.js "magic" piano portal - An augmented-reality WebXR animation of Chopin's "Winter Wind" Étude to hang on your wall! Works on flat-screen, too. [demo]
- BabylonJS Typescript Logic Examples - A collection of small projects that show possible ways of handling game logic with BabylonJS.
- babylonjs-typescript-webpack-starter - A starter template for those who want to use the famous JavaScript 3D game engine Babylon.js with TypeScript and Webpack.
- babylonjs-webpack-es6 - Babylon.js basic scene with typescript, webpack, es6 modules, editorconfig, eslint, hot loading and more. Will even make coffee if you ask nicely.
- babylonjs-webxr-template - Babylon.js + TypeScript WebXR template project. [demo]
- babylon-mtoon-material - Unity MToon Shader WebGL porting to Babylon.js. [demo]
- Babylon PostEffect Designer - Full control of post effects adjustments in Babylon.js. Support real-time post-effect adjustments, mesh import, and post-effect data sharing. [demo]
- babylon_ragdoll_robi - Babylon.js ragdoll robot. [demo]
- babylon-steering - Steering behaviors library for Babylon.js for moving entities in the x/z plane.
- Bomberman 3D - Experimental game dev with Babylon.js and Angular 5. [demo]
- cannon-es-debugger-babylonjs - This is a debugger for use with cannon-es and BabylonJS. [demo]
- Christmas runner - A Babylon.js game made for Christmas. [demo]
- ecsy-babylon - Experimental Babylon.js implementation of ECSY.
- Epic Guide - A game about going for a walk in a friendly world :) [demo]
- fps-babylon-js - Online Multiplayer First Person Shooter with Babylon.js & SocketIO. [demo]
- HTML5 FPS - Demo of an HTML5 first-person rig built on Babylon.js and React. [demo]
- Kicker - A soccer ball game made for Babylon.js February Challenge. [demo]
- KZ Climbing - A 3D platformer browser game prototype made with the Babylon.js framework written in TypeScript. [demo]
- Molvwr - WebGL molecule viewer made with Babylon.js [demo]
- Multiplayer Babylon JS "Game" with Client & Server-Side Physics Engine - Multiplayer Babylon.js game with server and client-side physics engine synchronization. [demo]
- Multiplayer FPS-Game - A Multiplayer FPS built with Babylon.js [demo]
- nengi + Babylon 3D shooter template - A template game for multiplayer 3D shooters made in Babylon.js + nengi.js with client-side prediction and lag compensation.
- OceanDemo - Ocean demo in WebGPU with Babylon.js [demo]
- Oculus Quest Remote Desktop - Remote desktop for Oculus Quest. Using Babylon.js, React and WebRTC. [demo]
- Playlist Browser XR - Browse Spotify playlists in Virtual Reality. [demo]
- react-babylonjs - React for Babylon.js [demo]
- react-babylon-spring - Build spring-physics based 3D animation with the power of react-babylonjs and react-spring. [demo]
- Roblox meets film noir - A 3D platform game demo using Babylon.js and React. [demo]
- Space Jam: A New Legacy BabylonJS Mixed Reality Experience - This repository pairs with the BabylonJS Mixed Reality module that is part of the Microsoft Learn learning path inspired by the Space Jam: A New Legacy film.
- Swarm - A Babylon.js scene made for the screensaver jam. [demo]
- TanksBattle_WebGL_Using_Babylonjs - 3D Tanks Battle WebGL game using Babylon.js game engine. [demo]
- Tomb Raider Nostalgia - View levels and play cut scenes for old Tomb Raider games 1/2/3/4. [demo]
- VR Office Throwing Game - A VR throwing game. [demo]
- Vue-BabylonJS - A ready-to-go 3D environment for Vue.js using Babylon.js [demo]
- WebXR Depth Testbed Babylon.js - testbed for WebXR Depth Feature. [demo]
- WebXR Measuring Tape - ⚡ An Augmented Reality real-world length measuring web application built by the modification of the example being provided by babylonjs - concept of using WebXR HitTarget feature. [demo]
- yuka-babylonjs-examples - Yuka Game AI + 3D rendering with Babylon.js [demo]
Demos of Babylon.js on the web.
- Roller coaster [JS]
- Star Fighter [JS]
- Blowing Wall [JS]
- Trailing Particles [JS]
- SPS AssemblyScript Demo [JS] [AS]
- Yuka Corridor Algorithm [source]
- Yuka First-Person Shooter [source]
- Yuka Hide And Seek Shooter [source]
- Yuka Navigation Mesh [source]
- Yuka Navmesh Performance [source]
- Yuka Savegames [source]
- Yuka Tic-Tac-Toe [source]
Information by developers, for developers.
- Babylon JS Day 10: Terrarium - Final in a series of lessons that explains how to use
assetsManager
. - Babylon JS Day 19: Golf Club - Shows how to leverage
AssetsManager
to load a custom model as a VR controller. - Babylon Native in a Headless Environment - A guide to some of the internals of the new Babylon Native engine.
- Babylon on Quest - Tips on how to develop WebXR games using a Quest headset.
- Building the Web-Based 3d Digital Experience for the Mayflower Autonomous Ship - A behind-the-scenes look at a production-quality Babylon.js project.
- Canvas Accessibility and GUI Animations with Babylon.js - The Babylon.js team introduces two interesting new features in Babylon.js 5: GUI Animations and the Accessibility Twin Renderer.
- Challenges of a web VR throwing game - DEV Community - Developer Wilco Schoneveld shares his experiences developing a VR game using a Quest 2, including the source code.
- Frame at Microsoft Build: Speaking the World Into Existence - FrameVR explains their web-based metaverse platform they demoed at Microsoft Build.
- Getting cross-platform rendering with Babylon Native and GLFW - A guide to the low-level rendering architecture using in Babylon Native.
- How to Setup Babylon + Next.js Production Build Optimized for SEO & Speed - 3Designer explains how to use Next.js to improve any Babylon.js project with faster loading and search engine visibility.
- How we published a new Babylon.js recipe book Vol. 1 - CrossRoad explains their road to creating the first book for the Japanese Babylon.js community. [playground]
- Journey Beyond The Docs - Introduction by the Babylon.js team to the officially-endorsed book.
- Mesh shattering with baked physics - Besides explaining how to use precompute physics for mesh shattering, this official blog post from the Babylon.js team shows how to integrate it with Node Material Editor.
- MR and the Web with Babylon.js 5.0 - Microsoft Learn session introducing Babylon.js 5.0 and the new Babylon Native. [youtube]
- Optimizing a Large-Scale Babylon.js Scene - Gives tips on how to render a large number of meshes and vertices without impacting performance.
- Using WebXR With Babylon.js — Smashing Magazine - Provides a comprehensive introduction to WebXR and how to use it to develop immersive experiences.
- Yuka + Babylon.js Examples - Game AI Examples with Babylon.js - A first-rate collection of Babylon.js demos, each using Yuka for AI.
Valuable and informative links from the Babylon.js forum.
- Demo Ammo Physics Scene - Explains the Mustang Demo developed with the Babylon.js Unity Exporter.
- Observablehq.com + BabylonJS StarterKit - Explains how to use Babylon.js on ObservableHQ, the JavaScript equivalent Jupyter Notebooks.
- Yuka Game AI + Babylon.js Examples - A complete list of all the Yuka Babylon.js links.