pixi-reels
Reference
Physics

Motion

How a column of symbols scrolls, wraps and stops exactly on the grid.

Watch one column of a slot machine while it spins. Symbols stream past, the top one slides out of view, a new one slides in at the bottom, and when the column stops every symbol sits dead centre in its cell. Now imagine doing that for a few seconds at sixty frames a second, on a tab that might freeze and refocus, with a player hammering the skip button. The easy implementation, "move each sprite down a bit each frame and recycle it when it leaves", drifts: a rounding error here, a skipped frame there, and after a long spin the column lands half a pixel off, or one symbol short.

pixi-reels avoids that by refusing to accumulate anything per symbol. A reel keeps a single number, how far the strip has travelled since it was last snapped to the grid, and recomputes every symbol's position from that number and the symbol's place in an array on every frame. This page is about that layer: the strip of symbols, the one formula that places them, how the array rotates when a symbol wraps, how the same code runs a vertical or horizontal reel, and what happens in one tick of the clock.

The strip

Some vocabulary first, because the rest of the page leans on it. The strip is the array of symbols one reel owns. The visible cells are the ones inside the window the player sees; the window is a mask on the viewport. On either side of the window the strip carries extra buffer cells, drawn but clipped, so there is always a symbol ready to scroll in and one still on its way out. The strip therefore has M = bufferStart + visibleCells + bufferEnd symbols, where bufferStart and bufferEnd are the number of buffer cells on each side. With one buffer per side (the default) and three visible cells, that is five symbols per reel.

Each symbol has one coordinate the motion layer cares about, which this page calls main: its position along the direction the strip travels. On a vertical reel main is y; on a horizontal reel it is x. The distance from one symbol's main coordinate to the next is the pitch: the cell size along the strip plus the gap between cells. If your cells are 96 pixels tall with a 4 pixel gap, the pitch is 100 and every symbol sits exactly 100 pixels after its neighbour.

Figure 1 lays one strip out as a table: seven symbols, two buffers above the window, three visible, two buffers below. Notice that index 0 is always the symbol nearest the start edge (the top, on a vertical reel) no matter which way the reel is travelling, and that the first visible cell is at main 0 because the buffer cells above it have negative coordinates.

istripmainKQA7J9W0123456-200-1000100200300400bufferStart (2)feed edge, forwardvisible (3): the windowbufferEnd (2)exit edge, forwardtravelmain = (i - bufferStart) * pitch + off
One reel's symbol array, with the main coordinate each index gets at pitch 100 and off 0. Index 0 is always the symbol nearest the start edge, whatever direction the reel travels; the dashed outline is the mask.
buffer celloutside the mask, random-filled by slot kind
visible cellinside the window, what getVisibleSymbols() reports
Reelowns the array and picks ids
ReelMotionwrites every main coordinate

The formula at the bottom of the figure is the whole placement rule, so it is worth reading slowly. Take a symbol's index i in the array and subtract the number of buffer cells above the window; that tells you how many cells the symbol is below the first visible cell (negative if it is a buffer above). Multiply by the pitch to turn cells into pixels. Then add off, the fraction of a cell the whole strip has scrolled since the last wrap, which is the same for every symbol on the reel. That is it: no symbol has a position of its own, only an index.

The figure also names the two ends of the strip. The feed edge is where new symbols enter while the reel is moving, and the exit edge is where they leave. On a forward reel the feed edge is the start (top) and symbols travel toward the end; on a reverse reel it is the other way round. In code, the pitch is ReelMotion.slotPitch, and getCellMain(cell) is the same formula read by visible cell number instead of array index. snapToGrid() sets travel and the offset back to zero and re-renders, which is how a landed reel ends up with every symbol exactly on its grid seat. One rule to hold on to: bufferStart is always the side with the smaller coordinate, forward or reverse (ADR 016 section 3.4). Buffers are about geometry, not about which way the reel happens to be moving.

Derive from index, never accumulate

Here is the idea that the whole layer is built on. When the controller asks the reel to move by some number of pixels, advance(delta) does not touch any symbol. It adds the delta to a single travel number (with the sign flipped on a reverse reel, so that "travel" always means "in the reel's own direction"). Then it asks a simple question: how many whole cells is that?

The answer is travel / pitch, rounded down, and it is worth seeing why that is the number of wraps. The pitch is the distance from one seat to the next. Every time the strip has moved one more pitch, every symbol has advanced exactly one seat, so the symbol at the exit edge has moved out of the strip entirely and a new seat has opened at the feed edge. That is one wrap. Dividing total travel by pitch therefore counts how many times that has happened since the last snap. The motion layer rotates the array until the number of rotations it has applied matches that count, keeps the remainder as off, and writes every position from the formula above.

ADR 018 (docs/adr/018-motion-contract.md) records why this matters. The earlier implementation accumulated an offset per frame and wrapped when it crossed a threshold; a property-based test suite found that it could skip a wrap when the strip landed exactly on a cell boundary, which leaves the landed frame one symbol short. Deriving the wrap count from total travel makes that impossible by construction. The suite in packages/pixi-reels/tests/contract/ now runs the laws below in CI against all four orientation and direction combinations.

LawWhat it means
Rigidity and orderNeighbours in the array are always exactly one pitch apart on screen, and the array is sorted by screen position. Array index is screen order, so getSymbolAt, getVisibleSymbols, placeSymbols and the z-index formula all index by array position.
Any step size is legalThere is no "at most one wrap per call" rule. A step of three pitches applies three rotations inside the same advance() call. The half-pitch cap in StandardMode exists only for smoothness.
Inverse and additivityadvance(d) followed by advance(-d) restores the exact state, and advance(a) then advance(b) equals advance(a + b). Frame rate therefore cannot change where a reel ends up.
Nobody else writes a main coordinateThe reel reads each view's position back to work out which seat it is in (in beginMotion, notifyLanded and _replaceSymbol), so a bent or shifted value would compound on every round trip. The one documented exception is ReelSymbol.playDestroy, which restores what it touched. Curves hand the symbol a quad instead of moving it.
Travel is not facingDirection changes which way the strip moves and which edge feeds it. It never rotates or mirrors the art (ADR 017); view.rotation stays 0 in every combination.
The epsilon snaptravel / pitch is rounded to a whole number when it is within 1e-9 of one, so a travel of exactly N pitches lands on rotation N rather than N - 1 when float residue leaves it a hair short. The remainder is zeroed under the same epsilon.

The wrap cycle

Figure 2 is advance() drawn as a flow. Follow the single number down the middle: the delta goes into travel, travel gives a wrap count and a remainder, and the array is rotated one way or the other until it has caught up. Notice that the array can rotate in either direction, because travel can go backwards too (the brief step-back at the start of a spin does exactly that).

advance(delta)delta = 0 returns at oncetravel += polarity * deltaodometer += |delta|rot = floor(travel / pitch)off = travel - rot * pitchboth snapped within 1e-9_rotateToStart()symbols.pop(), then unshift()the wrapped symbol is index 0_rotateToEnd()symbols.shift(), then push()the wrapped symbol is index M-1rot roserot fell_render()every view, plus the curve quadmain = (i - bufferStart) * pitch + off
advance() derives rotation. Travel is one number; the whole-wrap count comes from it, the array is rotated until it matches, and _render() writes every position from index.

A rotation moves one symbol from the exit edge of the array to the feed edge, but it does not decide what that symbol should now show. That is the reel's job, and figure 3 shows how it chooses. Each rotation hands the wrapped symbol to the reel, which asks up to three sources in order: a nudge in flight supplies its own ids; a reel that is stopping takes the next id from the queue of symbols it must land on; and otherwise the id is a random draw. The first source that answers wins, and the seat is refilled before anything is drawn.

Reel._onSymbolWrapped()called once per rotationnudge queuefirst: while a nudgeis in flightStopSequencer.next()then: while isStoppingand hasRemainingRandomSymbolProviderotherwise: next('spinning')layered pools, injected rng_replaceSymbol(index, id)release, acquire, resize,place, then symbol:createdrefreshZIndex()every index shiftedid in hand, back to _render()
The wrap callback picks an id. Each rotation hands the wrapped symbol to the Reel, which asks three sources in order; the first that answers wins, and the seat is refilled before _render() runs.

With an id in hand, the reel swaps the symbol in the wrapped seat. It first notes where the old view was, so it knows which seat it is filling. Then it takes one of three routes. If the id is the invisible stub that marks the tail of a big symbol, it installs a stub. If the new id is the same as the old one, it keeps the same instance, which costs no pool round trip and raises no event. Otherwise it returns the old symbol to the factory's pool and takes a fresh one for the new id. The new view is sized to the cell, reset to alpha 1 and scale 1, positioned, given its z-index and a parent (the reel container, or the unmasked layer when the reel is at rest), and only then does the set emit symbol:created. That whole path is Reel._onSymbolWrapped and _replaceSymbol in packages/pixi-reels/src/core/Reel.ts. How the pool works is on the symbols page; where the landing ids come from is the frame pipeline.

The axis

Everything so far talked about "main" without saying whether that is x or y, and that is deliberate. One small object per reel, the axis, is the only thing that knows. It holds three facts: which screen property is along the strip (the main axis) and which is across it (the cross axis), the polarity, a plus or minus one that says which way along that property counts as forward travel, and which end of the array is the feed edge. Figure 4 shows the four combinations the builder can produce; the motion code is identical in all four, only those three facts change.

vertical / forwardthe defaultABCfeedexitmain 'y', polarity +1, feed 'start'vertical / reverseroll-upABCexitfeedmain 'y', polarity -1, feed 'end'horizontal / forwardABCfeedexitmain 'x', polarity +1, feed 'start'horizontal / reverseABCexitfeedmain 'x', polarity -1, feed 'end'
ReelAxis, built once per reel by reelAxis(orientation, direction). The same ReelMotion code runs all four combinations; only the property key, the polarity and the feed edge differ. The arrow is travel; new ids enter at the feed edge.

The axis lives in packages/pixi-reels/src/core/ReelAxis.ts and offers getters and setters for the main and cross coordinates of a view, plus two conversions: toLocal(width, height) turns a screen-space size into a cross and main pair, and toScreen(cross, main) turns it back. Everything public stays in screen space, so a symbol class you write receives an ordinary width and height in resize(w, h) and never has to think about orientation. The builder makes one axis per reel from .orientation() and .direction() or .directionPerReel(); there is no way to change direction for a single spin.

Two consequences are easy to miss. The GSAP tweens inside the phases use the axis's property name as a computed key, which is what lets the bounce, the cascade fall and the pin squash work on any axis without a special case. And stacking order is geometric, not relative to travel: cellStacking defaults to 'ascending', meaning the cell with the larger coordinate draws in front, and a reverse reel does not flip that. The orientation guide shows the combinations in a running demo.

One tick

Figure 5 is one frame of the clock, top to bottom. The controller registers exactly one ticker callback. Each tick it visits every reel in index order and asks it to move by the time that has passed; only then does it update the active phases. Look for the two things the phases never do: they never write a position, and they never call advance(). A phase only sets a reel's speed, or the speed it should head toward, and the motion layer turns that into distance.

PIXI.Tickerticker.deltaMSSpinController._onTick()returns at once unless _isSpinningfor each reelReel.update(deltaMs)dt = min(deltaMs, MAX_TICK_MS)stepDrive(state, target, dt)drive model only, then reel.speedcomputeDelta(pitch, speed, dt)StandardMode: pitch * speed * dt / 1000clamped to half a pitch either wayReelMotion.advance(delta)rotations, wraps, then _render()for each active phasephase.update(deltaMs)StopPhase: tickSteps()
The whole per-frame path, top to bottom: every reel in index order, then every active phase. Phases never write positions: they set reel.speed or reel.targetSpeed and the motion layer does the rest. A reel at speed 0 returns before computeDelta, so a parked reel never wraps.

The first thing a reel does with the elapsed time is clamp it to MAX_TICK_MS. A browser tab that was in the background for a minute reports one enormous delta when it comes back, and without the clamp the strip would leap a thousand cells in a single frame. Then the default spinning mode, StandardMode, turns speed into distance: pitch times speed times seconds elapsed. Speed is therefore in cells per second, whatever the cell size. The sign of the result is kept as is, which is how the brief backwards pull at the start of a spin (a short negative speed) travels through the same path; "travel" always means relative to the reel's own direction, not always positive.

Alongside the signed travel the motion layer keeps an unsigned odometer that never resets. Reel.travelledCells divides it by the pitch, and the anticipation phase uses it to end a tease after a number of cells rather than a number of milliseconds, so the hold looks the same at every speed. A related value, speedNormalized, is the current speed divided by the referenceSpeed, which is set to the active profile's spinSpeed at the start of every spin. The controller side of all this is _onTick in packages/pixi-reels/src/spin/SpinController.ts.

ReelDrive: bounded acceleration

By default a phase changes a reel's speed with a GSAP tween: "go from 0 to 30 over 400 ms with this ease". That is simple and looks good, but it is a timing model, not a physical one: the reel reaches the speed in the time you asked for, however far apart the two speeds are. With builder.motionModel('drive', config) the reel instead behaves like a motor: a phase sets a targetSpeed, and each tick the reel moves its actual speed toward that target by no more than a fixed acceleration, optionally with a limit on how fast the acceleration itself may change (jerk), which rounds the corners into an S-curve. The code is packages/pixi-reels/src/core/ReelDrive.ts.

The bounds can be given in two forms, and the two must not be mixed; the builder throws if they are. The table shows both and how each resolves.

FormKeysResolved bounds
profile-relative (recommended)accelFrames, decelFrames?, jerkFrames?accel = spinSpeed / accelFrames, decel = spinSpeed / (decelFrames ?? accelFrames), jerk = spinSpeed / jerkFrames or 0. Re-resolved whenever referenceSpeed changes, so turbo accelerates harder than normal.
absoluteaccel, decel?, jerk?Used as given, in speed units per frame squared (and cubed for jerk). Only right for a single-profile game: one bound makes super turbo take 53 frames to reach speed where normal takes 20.

The profile-relative form is the one to reach for. "Reach full speed in 20 frames" means the same thing in normal and turbo, because the bound is recomputed from the profile's spinSpeed; an absolute bound makes a faster profile take proportionally longer to get going.

The per-tick step, stepDrive, runs once per reel and mutates a reusable state object so a long spin allocates nothing. In plain terms: convert the elapsed milliseconds to frames (a frame is 1000/60 ms). If the speed is already within 1e-4 of the target, snap to it and stop accelerating. Otherwise choose the acceleration bound when speeding up and the deceleration bound when slowing down; the comparison is on magnitudes, so the negative step-back pull picks the right bound too. With jerk configured, walk the acceleration toward that bound by at most jerk * dt per tick, and start easing it off once the remaining speed gap drops below accel^2 / (2 * jerk), which is the point at which a smooth stop must begin. Finally step the speed and clamp it if it crossed the target.

Two helpers matter for the stop. haltDrive() zeroes speed, target and acceleration together; setting speed to 0 on its own would leave the old target in place and the reel would ramp straight back up on the next tick. forceSpeed(v) jumps to a speed with no ramp and is what slams use. Under the drive model the stop phase sets targetSpeed for the spin-out rather than forcing a speed, and land() calls haltDrive(). The builder checks the shape of the config at build(), so a bad number is reported against the motionModel(...) call that caused it.

The landing

A reel does not stop by hitting the brakes. It keeps spinning at full speed while the symbols it must land on are fed in one wrap at a time, and once the last one is in place it snaps to the grid and bounces. Figure 6 shows the four steps inside the stop phase that make that happen; the spin-out in the middle is where this page's wrap cycle and the frame pipeline meet.

delaystop staggercut by quickenspinOutsetStopFrame()isStoppingM wrapsone id per wrapuntil exhaustedland()snap, notify,'landing'bounce()overshoot,then back
The animated stop is four steps inside StopPhase: wait out the stagger, load the frame and spin out through M wraps, land, bounce.

The spin-out starts when the reel is handed its stop frame: the full list of M ids it must end up showing, buffers included, in start-to-end order. Reel.setStopFrame loads that list into the StopSequencer (packages/pixi-reels/src/core/StopSequencer.ts) along with the reel's feed edge, and from then on every wrap takes the next id from the sequencer instead of a random draw. Because the sequencer holds exactly M ids, exactly M wraps happen, and when the last one lands the whole strip, buffers included, matches the frame.

The order the ids are handed out in is the part people get wrong. The frame is always listed start to end. On a forward reel new symbols enter at the start edge and get pushed toward the end, so the symbol that must finish at the end of the strip has to go in first: the sequencer consumes the frame end-first, cursor at the last index, stepping backwards. On a reverse reel the feed edge is the end, so it consumes the frame head-first, cursor at 0, stepping forwards. Get this backwards and the reel lands a frame that looks right but is upside down, which is why the sequencer has a test per combination. next() throws once the frame is exhausted; its only caller checks hasRemaining first.

The spin-out normally keeps full spinSpeed. The exception is a stop that follows a tease, where the reel has already slowed down for drama: then preserveSpeed keeps the current slow speed, floored at 8% of spinSpeed and capped at spinSpeed, so the reel does not visibly speed up again before stopping. The stop and skip paths in full are on spin lifecycle and skipping.

When the sequencer runs dry, land() (in ReelPhase) finishes the job in a fixed order. The table lists the steps; the order matters because each one assumes the previous.

StepWhat happens
haltDrive()speed, target speed and the drive state all go to zero together
isStopping = falsethe wrap callback stops asking the sequencer
snapToGrid()travel, rot and off go to zero and every view is re-rendered on its grid seat; then _finalizeFrame() and refreshZIndex()
notifySpinEnd()every symbol on the strip gets onReelSpinEnd()
notifyLanded(cells)every symbol gets onReelLanded(ctx); the reel raises 'landing' and the set emits spin:reelLanding

Then comes the bounce, the small overshoot and settle that makes a stop feel mechanical. bounce() moves the whole reel container rather than the symbols: two legs of half the duration each, first to the base position plus the bounce distance in the direction of travel, then back to base, with bounceEase defaulting to 'power1.out'. Any symbol that has been lifted out of the mask is shifted along every frame by followLifted so it does not appear to detach. A distance of 0 or less returns an already settled bounce. spin:reelLanded fires after the bounce, via _markLanded.

There is a second way to stop, with no steps and no bounce: the slam. A skip press, an explicit slamStop(), an abort, a timeout or a phase chain that threw all take the path in figure 7, where the entire target frame is placed in a single tick.

slam pathno steps, no bounceforceComplete(ctx)cancels the running stepignores skippableStopPhase.onSkiphaltDrive(), isStopping = falseplaceStrip(targetFrame)rest, then snapcontainer back to its base mainthen reel.snapToGrid()controller lands it
The slam path: skip(), slamStop(), an abort, a timeout or a phase chain that threw. The full target frame is placed in one tick, buffers included, and nothing bounces.

The whole strip is placed, buffers included, so a big-symbol tail that is parked in a buffer above the window lands correctly too. The container is returned to its rest position before the snap, because a slam that interrupts a bounce would otherwise bake the overshoot into any lifted view. The controller then does by hand what land() would have done: placeSymbols, notifySpinEnd, notifyLanded, _markLanded.

Big-symbol occupancy

A big symbol, one that covers a block of two or more cells, is stored as a single real symbol at its anchor cell plus an invisible stub in every other cell of the block. The stubs are plain ReelSymbols the reel allocates itself, never pooled through the factory. The motion layer does not treat them specially: they wrap, they get a position, and they carry the block's shape through the strip like any other seat. That is what lets a big symbol scroll through the window as one object without the motion code knowing it exists.

What does know about blocks is the snap. On every snap, _finalizeFrame() rebuilds the reel's occupancy map: it scans the visible anchors first, then any anchor in the buffer above whose block reaches into the window, and resizes each anchor to the size of its whole block. That size includes the gaps between cells, so a 2 by 2 block on 80 px cells with a 4 px gap is 164 px across, not 160. A block's size.reels always spans the cross axis and size.cells the main axis, so under a horizontal orientation the screen width and height they map to swap. getSymbolAt and getVisibleSymbols resolve a covered cell to the anchor's id. See the big symbols guide.

Nudge: a post-stop reposition

A nudge moves a reel that has already landed by a whole number of cells and reveals ids you supply, the "reel creeps one more symbol" feature. The call is Reel.nudge({ distance, direction, incoming, duration?, ease?, startDelay?, signal? }), and it leans on everything above: the incoming ids are pre-placed into the buffer the strip will wrap through, the tween feeds motion.advance(), and the usual wrap callback takes ids from the nudge queue first.

direction is relative to the reel's own axis. Whether the strip will wrap into the start or the end buffer follows from the sign of the travel and the reel's polarity, and that decides which buffer the incoming ids are pre-placed into (as many as fit). Any that do not fit wait in the nudge queue, padded with buffer-pool draws for the wraps that only reach the off-screen cells. The tween drives a 0 to 1 progress and hands the motion layer steps of at most 0.45 * pitch, clamped to the intended total, so an ease that overshoots cannot cause a spurious extra wrap. The z-index refresh that normally happens on each wrap is deferred to the final snapToGrid(). The default duration is 200 * distance ms and the default ease is 'power2.out'.

A nudge refuses to start in a number of situations, all of which throw. The table lists them and the reason behind each.

Throws whenWhy
The reel is moving, stopping or already nudginga nudge is a post-stop move; two at once would fight over the strip
distance is not a positive integer strictly below Mat M the strip would rotate fully and any pre-placed buffer entries would be silently dropped
incoming.length is not equal to distanceevery revealed cell needs exactly one id
An incoming id is unregistered, or is a big symbolbig symbols cannot be introduced through a nudge
A same-reel block would be split by the wrap boundaryhalf a big symbol cannot wrap on its own
A visible cell belongs to a cross-reel blockthe neighbouring reel would be left holding a torn block

The set emits nudge:start, nudge:complete and nudge:cancelled; the reel itself emits phase:enter and phase:exit with the name 'nudge'. skipNudge() jumps straight to the landed state. See the nudge guide and the nudge recipes.

Per-reel geometry

Reels in one set do not all have to be the same length; a pyramid board has a short reel at each side and a tall one in the middle. Four values per reel describe that, and the motion layer reads them rather than assuming a uniform grid.

ValueWhat it is
extentThe length of the reel box along the strip. It comes from reelExtents([...]), multiways({ reelExtent }), or cells * cellMain + (cells - 1) * mainGap.
mainOffsetWhere a shorter reel sits inside the tallest strip, chosen by reelAnchor: 'start' gives 0, 'end' gives tallest - extent, 'center' (the default) gives half of that. It is written to the reel container and re-baked into any lifted unmask view by _syncUnmaskedViewOffsets after every motion write.
cellMainThe size of one cell along the strip for this reel: (extent - (cells - 1) * mainGap) / cells when explicit extents are set, otherwise the symbol size itself. spinCellSize is the cell every MultiWays reel spins on; AdjustPhase reshapes to the landed size afterwards through Reel.reshape and ReelMotion.reshape, which only refresh the pitch and bufferStart.
symbolWidth / symbolHeightaxis.toScreen(cellCross, cellMain): the screen-space pair every resize() call receives.

The per-reel geometry guide shows pyramids and jagged boards built from these.

Caveats, from reading the code

Two places where the comments and the code disagree. In both, the code is the source of truth.

The second is wording only. ReelMotion's constructor still names its parameters symbolHeight and symbolGapY, Reel.update calls its result deltaY, and the StandardMode and StopSequencer headers describe a strip "scrolling downward". The behaviour is axis-generic; the names are leftovers from the vertical-only first version.

Defaults

The numbers this page relies on, with the file each one is set in.

ItemValueWhere
Axisvertical / forward (VERTICAL_FORWARD)core/ReelAxis.ts
Buffer symbols per side1config/defaults.ts
symbolGap{ x: 0, y: 0 }config/defaults.ts
reelAnchor'center'config/types.ts
cellStacking / reelStacking'ascending'config/types.ts
MAX_TICK_MS / EPS / DRIVE_EPS100 ms / 1e-9 / 1e-4core/Reel.ts, ReelMotion.ts, ReelDrive.ts
StandardMode cappitch / 2 either directionspin/modes/StandardMode.ts
DRIVE_FRAME_MS1000 / 60core/ReelDrive.ts
accelFrames (suggested)20 (~330 ms at 60 fps); decelFrames = accelFrames; jerk 0core/ReelDrive.ts
spinSpeed normal / turbo / super30 / 50 / 80config/SpeedPresets.ts
bounceDistance, bounceDuration22 px 220 ms / 14 px 140 ms / 8 px 90 ms; ease 'power1.out'config/SpeedPresets.ts, ReelPhase.ts
Nudge duration / ease / step200 * distance ms / 'power2.out' / 0.45 * pitchcore/Reel.ts

Where this lives

packages/pixi-reels/src/core/
  • ReelMotion.ts advance, snapToGrid, getCellMain, odometer, _render
  • ReelAxis.ts ReelAxis, reelAxis(), VERTICAL_FORWARD
  • ReelDrive.ts ReelDriveConfig, resolveDriveConfig, stepDrive
  • StopSequencer.ts setFrame(frame, feedEdge), next, hasRemaining
  • Reel.ts update, _onSymbolWrapped, _replaceSymbol, nudge, _finalizeFrame, geometry getters
packages/pixi-reels/src/spin/
  • SpinController.ts _onTick
  • modes/StandardMode.ts computeDelta and the half-slot cap
  • phases/StopPhase.ts delay, spinOut, land, bounce; onSkip
  • phases/ReelPhase.ts land(), bounce(), defaultBounce
docs/adr/
  • 016-orientation-axis.md, 017-facing-travel-and-the-reel-stage.md, 018-motion-contract.md