The base circle is carved by a sevenfold cosine term, so the trail blooms into a rotating seven-petal ring.
Jetpack Compose Loaders
A Gallery of Mathematical Compose Loading Animations
Replacing the sevenfold term with a fivefold term reduces the inner loops, giving the curve a cleaner five-petal rhythm.
A ninefold term packs more inner turns into the same orbit, so the floral ring feels denser and more finely braided.
The radius expands and contracts with cos(7t), so the orbit breathes into repeated petals while staying anchored to a circle.
Using r = a cos(5t) creates five evenly spaced lobes, and the breathing multiplier gently swells each petal in and out.
With k = 2, the cosine radius forms broad opposing petals, and the breathing factor makes the center pulse like the original.
With k = 3, the curve resolves into three rotating petals, and the inner breathing keeps the motion from feeling mathematically rigid.
With k = 4, the petals settle into a balanced cross-like rose, and the breathing core adds the same soft pulse as the original loader.
Different sine frequencies on x and y make the path cross itself repeatedly, producing the woven feel of an oscilloscope trace.
The 1 + sin²t denominator pinches the center while preserving two lobes, so the curve naturally reads as a breathing infinity sign.
The rolling-circle terms create nested turns and offsets, so the path feels like a compact spirograph traced by a machine.
This rolling-circle setup resolves into three large looping petals, all breathing together like a compact spiral flower.
With R = 4, the rolling-circle path settles into four looping petals, rotating and breathing as one ring.
With R = 5, the loop count increases to five petals, giving the spiral flower a denser and more ornate rhythm.
The rolling-circle path splits into six petals, and the whole ring breathes in one unified pulse like the original loader.
Exponential and high-frequency cosine terms stretch the wings unevenly, giving the path its unmistakably fluttering butterfly shape.
Because r = a(1 - cos t) collapses to zero at one side and swells on the other, the curve reads like a soft pulsing heart wave.
Starting from r = a(1 + cos t) and rotating the coordinates turns the textbook cardioid into a more legible upright heart.
The x^(2/3) envelope supplies the heart outline, while sin(bπx) fills its interior with adjustable horizontal ripples.
A fast-growing angle combined with a cosine-modulated radius creates a spiral that opens out and closes cleanly back into itself.
Several sine and cosine components interfere with one another, so the shape keeps mutating like a living waveform.
Take the online course and join the exclusive community
Master Jetpack Compose and learn how to work efficiently with it. Enjoy the perfect mix of theory and exercises with the best trainer. Join a community of 500+ devs.
