Why
Before 2026, the slot code I wrote lived in closed codebases. In every studio I saw the same components written again: reels, the HUD, the round state machine, particles, sound. Each version had its own bugs, and each bug had to be fixed in each game.
In 2026 I started to publish one version of each part.
What each library changes
| Part | Library | First release | What changes for a studio |
|---|---|---|---|
| Reels | pixi-reels | Apr 20 | New mechanics are builder options, not a rewrite of the reels |
| Audio | zvuk | May 3 | Ducking, voice limits and music stems in a web slot |
| HUD | open-slot-ui | Jun 28 | One HUD for all games, configured by a spec |
| Game core (Stake) | stakeplate | Jul 9 | Platform rules in one versioned package |
| Particles | Pylinka | Jul 11 | Animators build effects; the GPU runs them |
| Profiling | Spine Benchmark v4 | Jul 28 | Animation cost in milliseconds on real phones |
| Bonus wheels | pixi-wheels | Sep 14 | The wheel spins before the server answers |
| Vector graphics | pixi-silk | Sep 26 | UI shapes stay sharp at any scale |
| Game core (Artube) | artubeplate | Oct 3 | A math export becomes a playable game |
| Spine runtime | pixi-marrow | Nov 13 | Small skeletons share one draw call |
How they fit together
artubeplate shows how the parts combine. A game supplies four things: a config, a function that turns a math result into presentation steps, a scene built on pixi-reels, and its presentation phases. The core adds the HUD from open-slot-ui, audio from zvuk and particles from Pylinka. It also handles the RGS connection, reconnects, free rounds, autoplay and replay. pixi-silk draws the debug overlays for pixi-reels and pixi-marrow.
The main results
- Mechanics as configuration. pixi-reels 4.0 added reel sets that grow during a round. Reel construction became a factory that the set keeps, so a reel added at runtime is built by the same code as the first five.
- Measured animation cost. Spine Benchmark's original score explained 2% of measured frame time. Version 4 removed it and estimates cost per phone with the error shown. The details.
- Batched Spine. pixi-marrow draws 200 coin skeletons in one draw call instead of 400, and idle skeletons upload nothing. Why I wrote it.
- One behaviour for preview and game. Pylinka 2.0 removed every difference between the editor preview and the shipped effect. How the compiler works.
- Specified reel motion. The pixi-reels motion contract found a defect in the shipping engine. The write-up.
How the work was done
The same gates in every repository. Each repo runs lint, type checks, tests, the build, the docs build, a check of the npm package contents, a bundle-size limit, and changesets. Releases use npm trusted publishing. At this pace, the gates catch what attention misses.
Test harnesses ship with the libraries. pixi-reels and pixi-wheels export their fake ticker and test helpers, so game teams can test their own flows in Node.
Docs for people and for coding agents. Every docs site has runnable examples and an llms.txt. pixi-marrow puts an AGENTS.md in its npm package. Many developers now read docs through an assistant, and docs that a model reads correctly are also clear for a person.
Conditions next to every number. "1.03 ms against 3.46 ms" needs "headless Chrome, Apple M4, 200 instances, WebGL2, no phone data" next to it.
One library at a time. I stay on one library until it stands. pixi-marrow went from the first commit to a published 0.3 in eleven days.
Next
- pixi-marrow 1.0, with a migration guide and phone measurements before GPU skinning becomes the default.
- On-device performance numbers for Pylinka.
- More writing. RSS.