Also on macOS (and iPadOS) it's super easy to get started with Metal shaders in Playgrounds.
For swiftUI+metal specifically: https://metal.graphics