Circuit Racing
Train and save neural drivers, race their frozen checkpoints, or take the wheel. Two licensed 3D vehicles, three laps and shared arcade physics.
IgnitionAI is the ML-Agents of the JavaScript creative ecosystem. Describe your game world, call env.train(), and deploy anywhere via ONNX. No Python, no server, no GPU cluster.
No neural network code. No hyperparameter tuning. No config files. Describe your world, call train(), and the framework does the rest.
import { IgnitionEnvTFJS } from '@ignitionai/backend-tfjs';
import { CartPoleEnv } from '@ignitionai/environments';
const cartpole = new CartPoleEnv();
const env = new IgnitionEnvTFJS(cartpole);
env.train('dqn'); // Zero config. It just works.
// env.infer(); // Switch to inference after training.
// env.setSpeed(50); // Turbo training (50x faster).That's it. The agent learns. The pole stays up.
Describe your world in a class, call env.train(), and watch your agent learn in real time. No Python, no server, no GPU cluster.
Three algorithms, auto-configuration, ONNX export, HuggingFace storage, and 12 working demos. All TypeScript, all open source.
Train in the browser with TensorFlow.js, then export to ONNX and deploy in Unity (Sentis), Unreal (NNE), Python, C++, or edge devices. One pipeline from prototype to production.
DQN, PPO, and tabular Q-Learning. Switch with one word: env.train('ppo'). Override hyperparameters only when you need fine control.
Pair it with your Three.js scene — training loop runs independently of the render loop.
Input size deduced from observe(), action size from actions.length. You never touch network code.
TensorFlow.js auto-selects WebGPU → WebGL → WASM → CPU. No CUDA, no install.
env.setSpeed(50) — 50× faster convergence. Drop back to 1× to watch the agent play.
Save and load trained models from HF Hub with one line. Share weights like a dataset.
No any, Zod-validated configs, 184+ tests, CI/CD. Production-ready from day one.
Circuit Racing, Maze, CartPole, MountainCar, CartPole 3D, Drone Navigation, Maze 3D, GridWorld, Ball Thrust 3D, Robot Arm 3D, Space Dock — technical preview, Target Chasing. Clone, run, learn.
Pick an algorithm, hit Train, and watch the reward climb in real time. This is a simulation — open a live demo below to run real RL.
12 interactive environments showing IgnitionAI in action. Each runs in your browser. Circuit Racing supports keyboard play against learned drivers; Ball Thrust connects real Rapier physics to a trainable DQN and inference. The other environments explore reinforcement learning.
Train and save neural drivers, race their frozen checkpoints, or take the wheel. Two licensed 3D vehicles, three laps and shared arcade physics.
A low-poly humanoid trains in a Rapier 3D arena with prefab walls, sensor rays, doors, and moving hazards.
Classic pole-balancing benchmark with Euler physics.
Sparse reward challenge. Explore the momentum needed to reach the hilltop.
Classic CartPole rendered in 3D with React Three Fiber. Metallic materials and shadows.
A quadcopter learns to fly to moving target points. Rigid-body physics, 8 thrust combos, real gravity and torque.
A robot navigates a 3D maze to find keys, avoid traps, and reach the exit. Raycast observations, pathfinding challenge.
A discrete navigation environment for exploring rewards and learned action values.
Play a real Rapier arena, train a TensorFlow.js DQN, save locally and run the same network in inference. Seeded physics and measured evaluation; convergence is not guaranteed.
A 3-joint ideal kinematic arm learns to bring its tip onto an XYZ target. Grid actions, dense distance rewards, real DQN in the browser.
Temporary technical mockup: tow a rigidly linked cargo with real Rapier forces and collisions. Train a DQN in your browser or load an agent we pre-trained offline, watch it fly the tug without exploration, and compare with manual controls and an untrained scripted PD reference; final visuals pending.
An agent learns to reach a randomly placed target in a 3D Rapier scene, with a DQN you configure and train in your browser. A second page replays PPO checkpoints trained offline on a tiny 1-D task (3 seeds, 80 episodes), untrained versus trained, with every number read from the training logs. A demonstration of the mechanism, not a benchmark.
IgnitionAI ships fast. Here's the latest release — everything else lives on the full changelog.
One install command, one TrainingEnv class, one call to env.train(). Your agent learns in your browser, then deploys anywhere via ONNX.