# Clothoid gradient helper provenance

`clothoid-gradient.ts` is an unchanged copy of the corrected PopHops Compass Web utility:

`web/src/components/compass/ui/clothoid-gradient.ts`

Source SHA-256: `52e43b9f3370dcca38214c308c2ec0c22c9505f589fdb3a16f478ac01669de55`.

The PopHops Builder copy at `builder/src/utils/clothoidGradient.ts` has the same hash. Compass Web's 17 August 2026 QA entry documents the direction fix: reverse easing reflects the forward curve as `1 - E(1 - t)`, moving the flat end to the transparent boundary. Older copies in the other local projects do not expose `curveDirection`.

The source remains verbatim. `scripts/gradients.mjs` imports it during the build, samples its curves, and emits the studio's themed gradient CSS. This self-contained copy lets the studio bundle rebuild independently of the PopHops workspace. Future updates should replace the source from the corrected upstream helper and record its new hash here.
