cogentcore / core

A free and open source framework for building powerful, fast, and elegant 2D and 3D apps that run on macOS, Windows, Linux, iOS, Android, and the Web with a single pure Go codebase, allowing you to Code Once, Run Everywhere.
http://cogentcore.org/core
BSD 3-Clause "New" or "Revised" License
1.32k stars 71 forks source link

Add support for conic gradients #1000

Open kkoreilly opened 2 days ago

kkoreilly commented 2 days ago

Describe the feature

These gradients shift by angle (instead of distance like radial gradients). See https://developer.mozilla.org/en-US/docs/Web/CSS/gradient/conic-gradient. This is low priority until someone needs it; I think that the color picker is actually pretty good without it, although we could reconsider that when we implement this; there are no urgent needs for this as of now.

Relevant code

No response