Skip to main content
All craft

Playback in the island

PhayarSar - Buddhist Prayers In development

Playback controls that stay close when you need them, and quietly tuck away when you don’t.

A little room for control

You’re following along with a prayer as its recitation cells scroll automatically, each at its own reading duration. A small indicator at the top keeps your place without getting in the way. Press it, and it opens into controls for playback, speed, and verse progress.

When you’re finished, it folds back up. The prayer stays right where you left it.

Wait, did Apple make that?

Someone once asked if this was an official Dynamic Island animation from Apple. It wasn’t, but honestly, I was pretty happy they asked.

The app is in the foreground, so I couldn’t use a Live Activity for this interaction. I built the whole effect myself, with help from AI. Having someone mistake it for something Apple made felt like passing the exam.

A little Mac magic

For the transition, I borrowed a familiar idea from the Mac: the Genie effect you see when minimizing and restoring a window.

As the player opens and closes, it moves around a fixed anchor point. Shrink, tilt, blur, and fade all work together to make it feel like the controls are unfolding from one place, then finding their way back. Getting those details to move together at 120Hz took some tuning.

Pull it. It pulls back.

The player isn’t just something you tap. Put your finger on it and drag, and the whole component stretches with you. The controls underneath step aside while you’re dragging, so the gesture feels like you’re moving the player itself.

Behind that elasticity are springs working in different directions. Let go, and the player flexes back into place.

The part that took a few tries

Getting the release to feel right was trickier than I expected. The movement needs to account for how fast your finger was going when you let go, then gradually lose energy on the way back.

AI didn’t quite nail that on the first try. I went back to what I remembered from studying physics simulations, worked through the decay calculation with AI, and kept adjusting it. Four or five attempts later, it finally moved the way I had imagined.