graphic user interface design: creation of a "bubble" user interface design like the one used in the Apple Music application

I've been thinking about experimenting with a design like the one used in the Apple Music app on iOS.

The interface is the "bubble" interface that is used to choose your preferences, etc.

enter the description of the image here

But I really do not know where to start. Is there a name for the general idea of ​​creating this type of designs based on semi-physics?

I would love to know what I need to look for to learn how they work.

I would write it on iOS in Swift but I would look for the name of this type of interface more in order to learn the principles behind its creation.

Thank you