Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

The folding and unfolding effect of the NBA sand table

Seeing this magical sand table, the unfolding and folding effects are similar to spreading out cards, which is very interesting. But I don't know how to achieve it. I want to see if there are any ways to achieve this effect and give some ideas. May I ask if this effect can be achieved under the existing API

That's just my own analysis, not backed by any evidence…

AFAIK, there is no such built in animation effect (but I'm not fluent in VisionOS).

So my guess is that you have to rebuild programmatically.

What I see, is the field is split in stripes (30 or 40).

In each stripe, there are about 20 tiles, each with a specific orientation, higher at the border.

So, to animate, you should have to compute at each step the orientation of each tile and draw it accordingly. Not very difficult but pretty tedious to fine tune.

Good luck.

Thank you. The idea you gave is very interesting. It feels like piecing together flooring. Start from the center and move outward. When you reach the edge, there should be an actual NBA board at the bottom, and then expose the NBA board. I don't know if it's achieved this way. The debugging process is boring, but it's interesting to follow. Good luck to me

The folding and unfolding effect of the NBA sand table
 
 
Q