propjockey / eased-gradient

generate css gradients with an easing function applied to the spectrum

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

generate css gradients with an easing function applied to the spectrum

License:BSD 2-Clause "Simplified" License


Languages

Language:JavaScript 65.4%Language:HTML 34.6%