Skip to content

v2.3.0

Choose a tag to compare

@NiceArti NiceArti released this 20 May 15:49
· 17 commits to main since this release

v2.3.0 - Radial & Conic Gradients

Gradiente v2.3.0 expands the library into a more complete gradient engine with support for radial and conic gradients across parsing, serialization, interpolation, Canvas 2D, and WebGL rendering.

Highlights

  • Added improved conic-gradient() support
  • Added conic-gradient() WebGL rendering
  • Improved conic-gradient() Canvas 2D interpolation
  • Added interpolation support for radial and conic rendering
  • Improved Canvas 2D and WebGL consistency

Known limitations

Some extreme repeating gradients with very small hard-stop intervals may still show minor differences between Canvas 2D and WebGL because of pixel sampling and edge interpolation.

Example:

repeating-conic-gradient(from 45deg, white 0%, white 4%, black 4%, black 8%)

Some degenerate repeating radial cases where the radius becomes extremely small may also differ between render targets and will be improved in a future rendering precision update.