KOEN
All notes
GAME & DESIGN

Smooth motion, a moment behind

Drawing between received positions can mean waiting for the next one. Snapshot interpolation made me think about which moment a smooth screen represents.

A translucent amber figure between wooden posts, overlapping frame cards and an hourglass

Instead of making it faster

Imagine another player’s character stopping beside you, then appearing some distance ahead. Asked to fix the display, I would probably start by wanting the information to arrive faster.

A different response caught my attention in the MODAK Online developer’s explanation: interpolate between received positions of other characters. Having both ends means presenting a slightly older moment.

Show the recent past to make movement smoother.

I like the point where looking faster parts company with being more current. Perhaps I have been quietly folding “faster” into the much narrower impression of “less jerky.”

Glenn Fiedler’s implementation article describes briefly buffering snapshots and rendering between them. That accommodates uneven arrivals at the cost of added display latency. The time has not vanished; it has been spent elsewhere.

You cannot join a point that has not arrived

I tried a small arithmetic example: a fictional character has position 0 at time 0 milliseconds and position 10 at time 100. Ignore transit time and clock differences; assume a shared timeline, with both records available at time 100. These are invented inputs, not measurements from a game.

At that point, a display replaying time 50 can draw the midpoint, position 5. It is running 50 milliseconds behind. Rather than jumping from 0 to 10, it has room to show the journey between them.

At time 50, if only the first record has arrived, the second point is unavailable. Drawing position 5 then would require another choice: guessing where the character will go.

Even with both records, position 5 does not prove the actual path. The character might have waited at 0 before hurrying to 10. Five is the display position produced by our decision to join the two samples with a straight line.

That leaves different questions for the same image. Do I want movement that is comfortable to watch, or evidence of where something was at that moment?

Mirror’s documentation includes testing what happens when playback reaches the end of the available snapshots while awaiting another. Watching slightly behind cannot solve an indefinite absence of new records.

The little picture passing floor two

To think beyond games, I imagined an elevator-status display. This is a fictional interface example, not a proposal for an elevator controller. It has received just two reports: floor one, then floor three.

Fill the interval smoothly and a little elevator picture passes floor two. It looks convincing. Add “Arrived at floor two” beside it, however, and the interface makes another claim. Calculating that picture has not produced an observation that the elevator stopped there.

I would want the moving picture beside the last confirmed floor. That might look less tidy, but I would rather see both than have them appear interchangeable.

Keep the picture climbing after reports stop and it may initially look helpful. Someone waiting might use it to decide whether to take the stairs. A visual improvement can be read as fresh information.

How long should it fill the gaps? Where should it stop without another report? Several decisions hide behind “Please make it move naturally.” I suspect I might only think to ask after admiring the finished animation.

Back in the game, I can appreciate the choice to show a slightly older moment. When I want to watch someone run alongside me instead of a sequence of disconnected dots, that may be a price worth paying. The smoother picture still would not establish that the connection itself had improved.

On my imaginary status display, the little picture passes floor two. Below it, the last confirmed record still says floor one. I want to put a finger against the glass and ask:

Did it pass here, or did we draw it passing here?

Sources

All notes