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

Dependencies (0)

    Dev Dependencies (7)

    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