Skip to project

Open-source simulation toolkit

PaddockJS

The racing simulator behind this site’s project race. Use the full race view, arrange its components yourself, or run the simulation without a browser.

Open the project race View source

Host supplies

Drivers · tracks · rules
Simulation coreRace state, physics, and control

Browser

Watch the raceCanvas, controls, timing, telemetry

Headless

Step the environmentObservations, actions, repeatable scenarios
Both interfaces use the same simulation. Rendering belongs to the browser side.

Full race view or individual components

A complete race

The complete browser view includes the track, cars, controls, and timing. On this site, selecting a driver opens its project.

Individual components

Mount the race canvas, timing, controls, and telemetry into separate parts of a page. A shared controller keeps each view connected to the same race.

Headless control and browser playback

The headless environment exposes reset and step operations for custom controllers. It runs without PixiJS or a browser, with observations and actions for testing driving policies.

Bring the controller back to browser playback to inspect its braking, track limits, and recovery.

Install from npm

npm install @inventure71/paddockjs
Open npm package

Browse the grid without changing the race

Grid Walk presents the starting grid as an explorable project index. Switching between that view and the race preserves simulation time, random state, laps and pit state. Browsing is a presentation change, rather than a new simulation.

A shared model with explicit boundaries

Arcade and advanced physics

The advanced mode models tire forces, combined grip, wheel geometry and contact impulses. It supports repeatable simulation experiments; it is not a calibrated replica of a real Formula 1 car.

Repeatable policy evaluation

Seeded scenarios, controlled drivers and reset/step observations let an external policy interact with the same core used in browser playback. Packaging checks exercise the browser, data and headless import boundaries.

Next: Neural Noir All projects