DustTrail
fun DustTrail(modifier: Modifier = Modifier, color: Color = Color.White, particleCount: Int = 12, maxAlpha: Float = 0.3f)
Dust particle trail — small dots that kick up and drift away, like a Rarámuri runner kicking up canyon dust. Designed to overlay or sit behind a LottieRunner.
Particles spawn near the bottom-center (feet area), drift outward
upward, and fade to zero. Continuous loop — the trail never stops as long as the runner is running.
Parameters
color
particle color — pass palette.Light for palette-aware monochrome particles (white in dark mode, black in light mode).
particleCount
number of concurrent particles.
maxAlpha
peak opacity of each particle (keep low — dust is subtle).