Network lab · oaidot0 · 18 November 2026

Motion under
the microscope.

Why a physically plausible ball can appear to reverse. A review of actual browser traces, the timeline bug they exposed, and a separate congestion experiment.

Experimental · Couchslop PR #8 · No production deployment
Presentation bug
0.65 ball diameters

A measured backward visual jump. The presentation clock rewound about 46 ms while the ball moved roughly 2,500 units/s.

Mixed-play trace, host screen. A time-selection error, not proof that the physics impulse was wrong.
Transport candidate
60 → 30 → 20 → 60 Hz

Adaptive snapshot publication survived the tested jitter and loss, then returned to 60 Hz. Simulation did not slow down.

Transport survival is not a visual-quality verdict. Rate and timeline fixes are separate experiments.
Educational WebGL demo · illustrative, not measured

One ball, two clocks.

This standalone demo is not the game. A ball travels at constant speed. The middle lane repeatedly switches between now and 46 ms ago; the lower lane keeps a consistent presentation time. Slow playback makes the difference visible without changing the geometry.

Top: current trajectoryMiddle: switching clocksBottom: consistent display time

46 ms × 2,500 units/s = 115 units, or 0.63 of this 182.5-unit ball's diameter. These are chosen constants based on the measured example, not a replay. A real collision can change the trajectory; this demo deliberately has none.

Inspect raw measured traces (optional advanced controls)Measured trace · final scene transforms

Watch the clock go backward.

Scrub actual submitted ball poses. The red segments are frames whose presentation time moved backward. The small ball view shows measured vertical position, not a game screenshot. The chart cursor and readout follow real captured samples.

● Presentation clock● Backward-time segmentDashed diagonal: elapsed real time reference
Presentation clock traceVertical ball position

These are world-space transforms submitted to Three.js, not compositor pixel captures. Host and guest have independently zeroed elapsed times; this view does not claim cross-screen clock alignment. Source labels can change without a bug; backward presentation time is the issue shown here.

Illustrative diagram · not additional measurement

Correct the estimate, not the clock.

Observed selection error

oldernear nowvisible clock rewindsbufferedpredicted

After a fresh snapshot, no replay step may be needed. Missing companion prediction fields caused the ball and remote cars to fall back to an intentionally older buffer.

Candidate: consistent presentation time

sample / replay toward display timeauthoritydisplay time

Use authority endpoints on the same presentation clock when replay is unnecessary. Keep real reconciliation separate. Increasing smoothing is not the proposed cure for selecting the wrong time.

Validation caution: a capture named “fixed toss” was found to contain a stationary ball. It is excluded from the animation and cannot establish a moving-bounce before/after improvement. A new asserted moving capture at 7c65ee1 is included separately: host 576 frames and guest 584 frames, each spanning more than 1,400 height units, with zero backward-time steps. Coverage matters: the after host has 344 authority-interpolated and 232 predicted frames; all 584 guest frames are buffered while its menu was paused. This toss supports the host clock fix, NOT guest prediction validation. Before and after are different runs, not identical plays. Zero clock rewinds does not establish zero prediction error.

Measured adaptive run + separately summarized controls

Backpressure is a different problem.

Native WebRTC/SCTP traversed a userspace UDP relay on one VM. Independent 50 ± 20 ms each-way delay permits reordering; 3% datagram loss was also injected. This is not a cross-NAT or real-WAN benchmark.

Peak native send queue

Controls are different runs. Do not compare these as a single continuous time series. Severe congestion and event floods can still trigger bounded fallback.

Actual adaptive rate changes

Adaptive publication timeline

Elapsed seconds since the host page's performance origin, not since match start. No buffer time series is fabricated from the peak measurement.
RunLossPeak bytesObserved outcome
Fixed 60 Hz0%255,563Fallback
Fixed 30 Hz0%93,201Survived
Fixed 30 Hz3%254,816Fallback
Adaptive 60 / 30 / 20 Hz3%137,336Survived; 60 Hz held about 28 s after recovery

Pacing occurs before patch generation. Events, repairs and lifecycle messages bypass it. Physics substeps remain 120 Hz; these numbers describe snapshot publication, not rendering FPS.

Illustrative recurrence · measured symptom reported separately

When “correction” mistakes motion for error.

A perfect target advances 25 units every frame. With no shared replay tick, the old fallback compares yesterday’s displayed position to today’s target. That is normal movement, not a same-time prediction error. Repeating the mistake creates visible lag even when the target is right.

Before · motion mistaken for error

Ideal · no false correction

Illustrative 60 Hz steps, fade = exp(−14/60), no packet loss, no collisions. The camera follows the target; the target is moving in world space. Both scenes run together. The outlined ball marks the correct position. The right scene illustrates eliminating false correction, not a replay of the candidate patch.

Independently measured before capture: guest final ball pose differs from its pre-easing target by up to 95.766 units (0.525 ball diameters), across 577 frames with target telemetry. That is presentation residual, not automatically physics prediction error. After the fallback correction, a separate moving clean run has 573 guest target-bearing frames and a peak residual of 0.01035 units (less than 0.00006 diameters). Before and after are independent mixed-play runs, not identical input replays. Both after screens have more than 540 units of ball-height variation. The host does not expose target samples in this capture, so no host final-versus-target residual is claimed. This demonstrates removal of a large clean-run presentation artifact, not elimination of genuine contact uncertainty.

Deterministic replay of one received browser snapshot

Client replay must remember the host’s contact state.

Multiple kicks and simultaneous hits by different players are valid gameplay. The host decides them. This candidate does not add a gameplay cooldown or change the host solver: it carries an existing per-car host cooldown field into client replay, so restoring a remote car does not lose that part of the authoritative state.

Contact at tick 1043 → snapshot at 1044 → replay at 1045.
The snapshot’s actual cooldown is preserved in one replay and removed in the other. Everything else starts from the same state. This deliberately forces restoration; it is not a side-by-side recording of two live matches.

Host state missing in replay

Existing host state restored

Solid ball: replayed position. Dashed ball: recorded authority on sampled ticks; otherwise the retained-cooldown replay as a reference (not invented authority). Same snapshot and same elapsed time in both scenes. Car is a schematic contact marker, not measured car animation. Ball diameter and forward separation share a common scale; vertical motion is flattened for clarity.

Show the numerical error chart

Coral: cooldown removed. Mint: actual received cooldown retained. Dots are ticks with authoritative comparison samples; connecting lines are visual guides. Physics steps are 120 Hz. Values compare against rounded authoritative telemetry.

On the first replay step, forward velocity is about 1,036 units/s without the field, versus 605 units/s with it. At step 24 (200 ms), positional error is 82.350 units versus 0.00367 units. The ball’s cached impulse was zero in both cases, isolating the missing car cooldown rather than retained ball cache.

This is a controlled, same-snapshot negative control using a field actually received by a browser. The original live anomaly was intermittent: a second before run did not show it, because an existing replay chain can avoid restoration. Separate candidate browser contact runs passed, but this replay does not establish that all collisions, packet loss, or prediction corrections are solved. This is prediction-state restoration only, not a new global cooldown. Distinct players can still hit in the same tick; legitimate repeated or simultaneous authoritative hits must remain intact. No extra smoothing is being demonstrated.

What this does, and does not, establish.

Established in these captures

  • The ball's rendered time can move backward on a clean local connection.
  • The size can exceed half a ball diameter during mixed play.
  • The controlled moving toss has no changing player inputs or car contact.
  • Adaptive publication can avoid the tested send-queue fallback and recover.

Still under investigation

  • Additional moving scenarios and every clock boundary under stress.
  • True replay error around player contacts and sensitive map corners.
  • Input jitter, clock drift and correction settling, independently.
  • Visual quality under adaptive publication and real WAN conditions.
Source artifacts and integrity hashes

Raw captures remain local. This portable review embeds only ball data, source labels and aggregate transport measurements.