canvas-sweep-gradient

0.3.0 • Public • Published

canvas-sweep-gradient

This is an attempt to render a multi-stop gradient that fills by sweeping around a circle, rather than the “bulls-eye” effect that is generated by CanvasRenderingContext2D.createRadialGradient.

Example output

Sweep fill

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.3.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.3.0
    2
  • 0.2.0
    3
  • 0.1.0
    4

Package Sidebar

Install

npm i canvas-sweep-gradient

Weekly Downloads

9

Version

0.3.0

License

MIT

Unpacked Size

11.5 kB

Total Files

5

Last publish

Collaborators

  • twisty