flutter_math_curve_loading library

Mathematical-curve loading indicators for Flutter.

A particle trail rides a parametric curve (rose, Lissajous, cardioid, butterfly, Fourier, …) over a faint background track. Ported from https://github.com/Paidax01/math-curve-loaders.

Classes

MathCurve
A single mathematical curve for MathCurveLoading.
MathCurveLoading
A loading indicator that animates a particle trail along a mathematical curve, with a faint background track, breathing detail, and optional slow rotation.
MathCurves
Ready-made curve presets — default invocations of MathCurve's named constructors. Tweak any of them with MathCurve.copyWith.

Typedefs

CurvePointFn = Offset Function(double progress, double detailScale)
Maps a normalized progress (0..1 around the curve) and a breathing detailScale to a point in a 0..100 coordinate space (origin top-left, y growing downward), matching the reference SVG viewBox="0 0 100 100".