These roses are made from a SwiftUI component I designed called NoteButton, which also forms the basis of the keys in my app “I Love a Piano.” It’s a button that takes MIDI values as an argument, sustains the note while pressed, and enables sliding between buttons.