GraphiteEditor / GraphiteEditor/Graphite

Conic gradients

Open
#2,302 0 comments 0 reactions 0 assignees View on GitHub
Graphics
Dominant language
Rust
Stars
27.2k
Forks
1.3k
Avg merge
20h 5m
Merged PRs (30d)
57

Description

This could be implemented using a few strategies, and we probably will want multiple so the user can pick what's best for their use case.

For support in all SVG viewers:
- A whole bunch of solid-colored pie slice triangles
- Rasterized as a base64 image at a set resolution

For support in some SVG viewers like browsers:
- `

`
- Possibly fewer pie slice triangles made out of linear gradient quads given CSS perspective transforms to turn them into triangles by pinching a pair of corners, however pure SVG only supports affine transforms

![Image](https://github.com/user-attachments/assets/ce862322-078a-4204-a202-1bccb0af5c39)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.