Forum Replies Created

  • Evgenii Filippov

    September 14, 2022 at 11:00 am in reply to: Recreate speed graph with bezier curves

    I was playing with the curve here https://editor.p5js.org/codingtrain/sketches/_R7RgtGfA press “run” to run the code

  • Thank you, Dan, you are the best!

  • Thank you Dan so much for clearing this out for me 🙂

    Honestly I would like to do it as applyPreset(ffx) method as well. But I don’t know how to get around the issues I face with this approach.

    I know that the applyPreset applies the effect preset as many times as selected layers/properies. I need as many effect controls as property objects selected. So I select only one layer and select needed properties and then run applyPreset. If Properties selected inside content or transform property groups then it creates as many effects as properties selected, everything is ok in this case.

    But whenever I select a property from layer’s effects group and from transform/contents group at the same time, It creates as many effects controllers as selected properties only from contents/transform without counting the properties from the effect group. However If I select property only from effects group it applies correctly.

    I was thinking about some workarounds and I thought if I select the layer without any properties selected and run the applyPreset method on it N times in a loop it will apply it N times, however it applies only once

    I really don’t know how to fix that

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy