SECOND STAGE // NAVIGATION AS A WIPE

TRANSISI BAB

One slider, one quad, no buttons

The front page already uses an iris wipe, but as a consequence: the chapter machine closes the aperture because the scroll crossed a boundary, and the same number is shared with the car so both objects cut on one frame. Here the wipe is the control itself. You are not told which chapter is next; you are handed the aperture and asked to close it.

A · HOW A PAGE SHOULD FEEL AT REST

Stillness is a feature. A page that keeps painting while nobody moves is spending a visitor's battery on a conversation that has already ended.

So the frame loop sleeps four seconds after the last thing you did, and wakes on the next one. Nothing about the content changed while you were away, and nothing charges you for pretending it did.

B · HOW A PAGE SHOULD SPEND ITS FRAMES

A frame should carry a number. Parallax that reports the depth it was computed from, a wipe that reports the aperture it was given, a bar whose height is the quotient printed next to it.

Motion that reports nothing is decoration painted over an empty page. This curtain moves because you moved it, and it tells you how far.

APERTUREA · tutup 0.00 · bukaan 1.00

Arrow keys move the aperture by one step; Home and End jump to an end of the axis. The crossfade happens at the far side of closed, which is why it never shows two exposures at once — and why the whole navigation costs one quad.

HOW THIS PAGE IS BUILT

THE CUT ONLY HAPPENS CLOSEDtutup = 1 - |2x - 1|: open at both ends of the axis, fully shut at the midpoint. The text changes sides where the screen is already paper, so two exposures are never blended on top of each other.
A SLIDER, NOT A BUTTON PAIRThe control is a native range input, which is a real role=slider for assistive technology: arrow keys step it, Home and End jump it, and its value is announced. Nothing here is a click handler wearing a div.
BOTH TEXTS ALWAYS EXISTBoth paragraphs are in the DOM at every position of the axis; only their opacity is commanded. The navigation can hide a passage from sight but never from a reader, a search, or a browser without WebGL.
ONE QUADThe curtain is a single plane carrying two uniforms — a radius and an aspect — and a handful of lines of fragment: distance from centre tested against that radius, feathered by one pixel of derivative. The feather is fwidth, so it stays one device pixel at any resolution.
THE MARK IS THE SAME FRAGMENTA one-pixel rim traces the aperture's own radius and a hairline marks the axis, both multiplied by the same derivative as the feather and both masked to the lower half of the frame. They cost no second mesh and no second draw call, and they never enter the top-left corner where the paper's luminance is measured — the verifier counts ink pixels per half and fails if the upper half has any.
NOT THE STAGE'S SHADERThe front page's wipe shares two module-level holders between objects on purpose. This route does not import that material at all — it has its own shader, and a source-level gate in the verifier fails if the import ever appears.
NO EASING, NO LOOPThe commanded number is the printed number. There is no animation between values because the slider is the animation; the canvas wakes for one frame per command and goes back to sleep.

WHAT THIS PAGE DOES NOT KEEP

The slider position belongs to this page load only. It is not posted anywhere, not stored, and not used to decide which chapter you are allowed to read — both passages are in the DOM the whole time, so hiding one is a display choice, never an access one. Nothing on this route is counted: there is no visitor figure, no telemetry read, and no number that claims to describe anybody but the aperture you set.