A powerful and easy to use live mesh gradient renderer for iOS.
This project wouldn't be possible without the awesome work from Nikita's Mesh Gradient Library
MeshKit is an easy to use live mesh gradient renderer for iOS, macOS, tvOS, and visionOS. In just a few lines of code, you can create a mesh gradient.
You can use the Mesh
to render the SwiftUI view.
Mesh comes with all the essentials from MeshGradient but MeshKit adds some improvements to make it easier to use.
Mesh(colors: MeshKit.generate(palette: [.blue, .green]))
- The mesh crashes in SwiftUI previews.