I build the engine room of slot games.

Six years in games, leading a frontend org that ships slots. In 2026 I open-sourced the engine room: reels, a Spine runtime, GPU particles, audio, a HUD and the tools that measure them, all for PixiJS v8.

Selected work

All projects

pixi-reels

The reel engine for PixiJS v8

Everything between “spin” and “the reels have stopped”: speed profiles, anticipation, cascades, Hold & Win, MultiWays, big symbols, infinity reels. Math stays in your game. Spins run headless in Node.

  • Mechanics become configurationCascades, Hold & Win, MultiWays, big symbols and growing reel sets are builder options. A studio adds a mechanic to a game without forking its reel code.
  • Reel feel is specified, not eyeballedMotion is defined by fourteen laws checked in every orientation. A stop that jumps a pixel fails CI instead of reaching players.

pixi-marrow

A faster Spine runtime for PixiJS v8

Plays Spine 4.1, 4.2 and 4.3 in the same scene on WebGL2, WebGPU and WebGL1. Batches small skeletons into one draw call, lets resting skeletons sleep, and stays bit-exact with the official runtimes.

  • Small skeletons stop costing a draw call each200 Spine coins render in one draw call instead of 400, so effect-heavy win sequences keep their frame rate.
  • Idle animation is freeSkeletons that hold still skip posing and upload nothing. Fifteen resting reel symbols cost close to zero.

Pylinka

Node-graph particles, compiled to GPU shaders

Wire an effect in a browser editor; Pylinka compiles the graph to WGSL compute for WebGPU or transform-feedback GLSL for WebGL2. Particle state never leaves the GPU, and tweaking a knob is one uniform write.

  • Animators build effects, the GPU runs themEffects are wired in an editor and compiled to GPU shaders. Particle work leaves the main thread, which is where phones drop frames.
  • What you preview is what shipsThe editor and the game share one behaviour. An approved effect looks the same in production.

Spine Benchmark

Measure what a Spine skeleton costs, on real phones

A browser workbench, CLI, live in-game profiler and embeddable viewer for Spine 4.2 on PixiJS v8. Since v4 it measures instead of guessing, and every per-device estimate comes with its error band.

  • Cost in milliseconds on real phonesEstimates come from regressions fitted on ten real devices and are shown with their error, so a review discusses a phone, not a score.
  • Replaced a score that did not workThe old weighted score explained 2% of measured frame time. v4 measures instead and says what it cannot measure.

How I work

Read more
01

Performance is a budget, not a vibe

A frame is 16.7 ms and a phone is not a MacBook. I write the budget down, measure against it, and publish the numbers with the conditions they were taken under, including what they don't prove.

pixi-marrow DESIGN.md §16; Spine Benchmark error bands

02

Measure in pixels, not by eye

Renderers get checked by renderers. Headless Chrome draws the hard cases and a script compares pixels across backends and against the reference runtime.

check-render.mjs in pixi-silk and pixi-marrow; D3D11 CI job

03

Size is a CI gate

Every library has a committed size baseline and a check that fails the build when it grows. Expensive features are opt-in by name, never hidden in a default.

size-check.mjs in reels, wheels, silk, marrow; zvuk size-limit

04

Headless and deterministic

Game logic that only works with a GPU and a real clock can't be tested. My engines run in Node with a fake ticker, and they ship that harness to users as a public export.

pixi-reels/testing, pixi-wheels testing, zvuk Web Audio mock

05

Docs are built from the code

Numbers in a README come from a facts file the tests also read. Examples are imported from the template they describe. llms.txt is generated and diff-checked in CI.

marrow facts.json + check:facts; slotplate docs; build-check.yml

06

Engines stay out of the game

Reels don't know the paytable, wheels don't know the RTP, the HUD doesn't know the RGS. Small typed surfaces: builders, presets, typed events, strict TypeScript with noUncheckedIndexedAccess.

pixi-reels ADR 007; WheelBuilder; open-slot-ui headless core

Contact

For questions about the libraries, frame-time problems or work. Telegram is the fastest way to reach me.