4

Building a Record Player

In this project, we will create a record player that will move an arm over the record, make the record spin, and play music when a button is pressed.

Sure, record players are a bit outdated now, but this project is a good way to learn new techniques about rotation – specifically, how to rotate objects around an anchor point. And you can always modify the design to look like a turntable, as many DJs still use vinyl, especially due to the vinyl resurgence in the last few years.

You might be thinking, didn’t we rotate circles in the first project? Well, this project is different. In the last project, the rotation animation we applied was on SwiftUI-created shapes, (specifically, circles), but in this project, we will ...

Get Animating SwiftUI Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.