0:000:20
Post by Janum Trivedi
I built the Apple Pay Cash gradient animation over the weekend, just with UIKit and CA! The key idea is that you take the distance from each dot to some focal point, and "map" it to a hue in the HSL color space. If people are interested, I can post the code & a quick writeup.
Why it is here
A rebuild of the Apple Pay Cash card gradient, mapping each dot's distance from a focal point to a hue.
- Likes
- 2,5132.5K
- Replies
- 58
- All-time rank
- #54
- Week
- W152022
Went viral
Posted on X