react-postprocessing icon indicating copy to clipboard operation
react-postprocessing copied to clipboard

feat: Ramp

Open chasedavis opened this issue 2 years ago • 3 comments
trafficstars

Ramp effect for linear and radial color gradients, as well as masking of effects before it in the effect array

Example: https://codesandbox.io/s/ramp-effect-w-postprocessing-zdpzei?file=/src/Ramp.js:0-3359

  • Screen Shot 2023-06-09 at 9 42 32 PM
  • Screen Shot 2023-06-09 at 9 42 15 PM
  • Screen Shot 2023-06-09 at 9 41 59 PM

chasedavis avatar Jun 03 '23 16:06 chasedavis

@talentlessguy any idea on how I can fix the tests on this to merge? I am not a TS person so the error message on the ci is a bit cryptic to me, though I'm happy to learn with a little guidance

chasedavis avatar Jun 14 '23 01:06 chasedavis

I added JSDoc comments for the effect's parameters. Are these accurate? I'll want to mirror this in documentation.

CodyJasonBennett avatar Aug 23 '23 14:08 CodyJasonBennett

Thanks @CodyJasonBennett for fixing the types! left a few comments/suggestions.

chasedavis avatar Aug 24 '23 01:08 chasedavis