JSPM

eased-gradient

0.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q46927F
  • License BSD-2-Clause

PropJokey eased-gradient - generate CSS for a linear or radial gradient with an ease applied to the spectrum

Package Exports

  • eased-gradient

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eased-gradient) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

James0x57

eased-gradient by PropJockey

  const props = {
    draw: "circle at center",
    stops: { "0%": "#ff0000", "100%": "#0000ff" },
    ease: ["factory.steps", 8, "jump-end"],
    freq: 0.067
  }
  easedGradient(props, returnRawData)

See demo.html and test/eased-gradient.js for example code use.

image image