How Fluid Gradient works
mainFluid Gradient creates an animated, seamless gradient effect by stacking multiple 'blobs' in a coordinate space and applying a blur.
Technically, it uses CAGradientLayer instances added to two distinct CALayer layers:
- Base layer: Contains the primary color blobs.
- Highlight layer: Contains highlight color blobs using an overlay blend mode to create unique, fluid patterns.
You can customize the colors for both the base and highlight layers to control the visual output.