constraints

capped-bar

Visualizes y = clamp(x, lo, hi) — slide x past the cap and y stops at the wall. Two bars: the input (pinned) and the derived output.

xy50503070

Slide x past 30 or 70 — y stops at the wall (the cap), showing the clamp visually.

Installation

Usage