GlassNavMorphCurve class
The motion of a morphing cluster: the package's bouncy spring as a curve.
The cluster's width and item positions travel on this from the first frame of the transition to the last, overshooting the target and settling back exactly as the page lands — cluster and page share one clock. It samples GlassSpring.bouncy — the same profile the liquid morphs elsewhere in the package ride — as a curve rather than as a live simulation, because the pinned chrome is a pure interpolation of the route clock: a time-driven spring would detach the morph from back-swipe scrubbing.
Public for testing; held back from the barrel's show clause.
- Inheritance
-
- Object
- ParametricCurve<
double> - Curve
- GlassNavMorphCurve
- Annotations
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transform(
double t) → double -
Returns the value of the curve at point
t.inherited -
transformInternal(
double t) → double -
Returns the value of the curve at point
t.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- instance → const GlassNavMorphCurve
- The shared instance; the underlying simulation is stateless.