Skip to content

Examples ​

Every example runs in your browser, here, and its code is a click away: press the </> on a card to read it on GitHub. Each one is its own small Vite app in examples/, run against the engine's sources, so you can clone the repository and start any of them with one command.

Running them yourself

sh
git clone https://github.com/QusaiAlbonni/eulerjs.git
cd eulerjs
npm install
npm run dev          # the sailboat
npm run dev:city     # the city
npm run dev:f1       # the formula car at Monza
npm run dev:wedding  # the wedding
npm run dev:ocean    # the spectral ocean
npm run dev:basics   # the short examples
npm run dev:three-addons  # three.js's own physics examples

Games ​

Complete games built only on the public API: what the engine is for.

Basics ​

Short examples, one idea each, in plain three.js.

three.js's own examples ​

three.js's physics examples, copied as they are with one change: they await EulerPhysics(), from @eulerjs/scene, where they awaited RapierPhysics().

Tools ​

Pages that measure rather than show: checks of the GPU's waves and benchmarks.

WebGPU

The examples marked WebGPU draw with three's WebGPURenderer, which uses WebGPU where the browser has it and falls back to WebGL 2 by itself where it doesn't: they run in any current browser.

Released under the MIT License.