Last checked
| Feature | Bloom Engine | Three.js |
|---|---|---|
| Game language | TypeScript[1] | JavaScript / TypeScript[6][8] |
| Engine licence | MIT[1] | MIT[12] |
| Current version | 0.4.19[2] | r187 (0.187.0)[12] |
| Editor | Separate World Editor[3] | Three.js Editor[13] |
| Game targets | macOS · Windows · Linux · iOS · tvOS · watchOS · visionOS · Android · Web[1][4] | Desktop and mobile browsers[6] |
| Rendering | wgpu · Metal · DX12 · Vulkan · OpenGL · WebGPU / WebGL · SwiftUI / SceneKit[1][4] | WebGL / WebGPU[6] |
| Physics | Jolt on supported native targets. watchOS uses a different backend.[1][4] | Optional Rapier integration[14] |
| Agent workflow | TypeScript files compiled with Perry[1] | Edit source files with your coding agent[8] |
| Price | The engine is free under its published licence.[1] | The engine is free under its published licence.[12] |
Same game, same agent
Mac and iPhone
One run per arm using Claude Opus 5.5 in Claude Code. Agent working time excludes waits for a human. The machines and build targets differed.Apple M1 Max. The port, Bloom native and the hybrid also ran on a physical iPhone 16 Pro. Bevy ran only in the iOS simulator. The web game ran in Chrome.
| Engine | Agent working time | macOS package | iOS package | Input tokens | Output tokens |
|---|---|---|---|---|---|
| Three.js in Chrome | 33 min | — | — | 12M | 175K |
| Three.js port on Bloom | 158 min | 94 MB | 103 MB | 36.3M | 112K |
| Bloom native | 73 min | 71 MB | 76 MB | 61.7M | 184K |
| Three.js + Bloom systems | 132 min | — | ≈107 MB | 37.4M | 156K |
| Bevy 0.20.1 | 145 min | 131 MB | 130 MB | ≈44.2M | ≈214K |
Bloom native used the most input tokens. A one-line rebuild took 5.4 s. On Low it held 60 fps on the iPhone 16 Pro. The agent logged 29 points of friction.
The browser game finished fastest and used the fewest input tokens of the measured arms.Five alternating benchmark rounds in Chrome on the Apple M1 Max. Memory is the median footprint of all Chrome processes during the race. The two games rendered different effects. Both held 120 fps. Bloom WASM loaded more slowly and used more memory.
| Engine | Load time | Browser memory | FPS |
|---|---|---|---|
| Three.js | 0.56 s | 994 MB | 120 |
| Bloom WASM | 3.44 s | 1,378 MB | 120 |
The port changed 2 lines of gameplay among 428 changed lines. Its iOS app was 103 MB. A one-line rebuild took ≈16 s. The WebView wrapper had no timed run.
Compare bars within one column and machine. A dash means no comparable package was built. The hybrid produced a Mac binary and separate assets. Three.js produced a web build. The unfinished folio-2025 port was a different project and has no timed result.
Read the experiment · Code and logs · Last checked
Three routes to a store app
A WebView packages the browser game. The bridge keeps the Three.js scene graph and replaces the renderer. Bloom native uses Bloom for rendering and gameplay systems. The hybrid experiment kept Three.js rendering and added Bloom physics, input, audio and HUD.[7][8][9]
RAXXO reports a WebKit GPU-process termination under memory pressure in its shipped wrapper. A forum user separately reports context loss. WebKit issue 294338 remains open. The iOS 26 observation concerns an installed web app. Embedded WKWebView refresh rates remain unconfirmed.[9][10][11]
Move a sprite
The sprite moves right at 120 units per second and wraps at 640. Download sprite.png
Bloom Engine
Place sprite.png beside the executable and launch it from that directory. Use the released engine with Perry and Rust.[1][2][3][4]
import { initWindow, runGame, clearBackground, Colors } from "@bloomengine/engine";
import { loadTexture, drawTexture } from "@bloomengine/engine/textures";
initWindow(640, 360, "Bloom");
const sprite = loadTexture("sprite.png");
let x = 0;
runGame((dt) => {
x = (x + 120 * dt) % 640;
clearBackground(Colors.BLACK);
drawTexture(sprite, Math.floor(x), 180, Colors.WHITE);
});Three.js
Serve this module in a web project with three installed and sprite.png at the site root.[6][7][8][9][10][11]
This browser example uses THREE.Sprite. The bridge does not draw it. The Bloom example draws the texture directly.[7]
import * as THREE from "three";
const renderer = new THREE.WebGLRenderer();
renderer.setSize(640, 360);
document.body.appendChild(renderer.domElement);
const scene = new THREE.Scene();
const camera = new THREE.OrthographicCamera(0, 640, 360, 0, 0.1, 10);
camera.position.z = 1;
const map = await new THREE.TextureLoader().loadAsync("sprite.png");
map.colorSpace = THREE.SRGBColorSpace;
const sprite = new THREE.Sprite(new THREE.SpriteMaterial({ map }));
sprite.scale.set(32, 32, 1);
sprite.position.y = 180;
scene.add(sprite);
renderer.setAnimationLoop((ms) => {
sprite.position.x = (120 * ms / 1000) % 640;
renderer.render(scene, camera);
});Choose Bloom if…
You want a compiled store app and can replace unsupported materials, particles and DOM-heavy HUD elements.[1][2][3][4][8]
Choose Three.js if…
Your game depends on browser APIs, particle sprites or custom shaders, or players should open it from a link.[6][7][8][9][10][11]
Migration notes
Keep the scene graph and game rules. Check Points, Sprite, Line, InstancedMesh, normal and ORM maps, sky backgrounds and the cost of the HUD on a real phone.[6][7][8][9][10][11][1]
Frequently asked questions
Can I keep my Three.js renderer?
The bridge substitutes its renderer. It maps supported meshes and materials. Custom shader materials and post-processing passes need a different implementation.[6][7][8][9][10][11]
What does it cost to use Three.js?
The engine is free under its published licence.[12]
What can I reuse when moving to Bloom?
Keep the scene graph and game rules. Check Points, Sprite, Line, InstancedMesh, normal and ORM maps, sky backgrounds and the cost of the HUD on a real phone.[6][7][8][9][10][11][1]
Which Bloom limitations matter for this decision?
Bloom is in preview. The published package is 0.4.19. Builds require Perry and Rust. The ecosystem is small. Gameplay is written in code. The separate World Editor supports terrain and entity placement. Prefab authoring is unfinished. Bloom has no bundled general-purpose gameplay editor.[1][2][3][4]
Ship a Three.js game as a native app
Sources
Last checked
- github.com /Bloom-Engine/engine/tree/3cde2788
- registry.npmjs.org /@bloomengine/engine/latest
- github.com /Bloom-Engine/editor
- github.com /Bloom-Engine/engine/blob/3cde2788/docs/watchos-target.md
- apps.apple.com /us/app/bloom-jump/id6761447092
- github.com /mrdoob/three.js
- github.com /Bloom-Engine/three/tree/0392aa5
- /blog/one-racing-game-six-ways
- raxxo.shop /blogs/lab/shipping-a-three-js-game-to-the-ios-app-store
- discourse.threejs.org /t/how-to-fix-context-lost-android-iphone-ios/56829
- bugs.webkit.org /show_bug.cgi
- registry.npmjs.org /three/latest
- threejs.org /editor
- github.com /mrdoob/three.js/blob/dev/docs/pages/RapierPhysics.html.md