Post

At the CSSWG there is an issue about 2D Mesh gradients. The consensus was that whatever we do, it should be PDF compatible. With the help of Gemini I found my way to “Coons Patches” as the underlying mechanism. Using AIStudio, I then generated this editor: genuine-waterfall-crane.codepen.app

3 reposts20 likes

The gradient in the screenshot there is this one: gist.github.com/bramus/0a1fe.... That link there is a JSON export of the gradient built with the tool. You can download it, and drop it on the editor to try. The tool can also give you the SwiftUI Code as well as the CSS code (proposed syntax).