-
Peak value at Math.round with linear fall-off?
Hi there…
I know that I’m missing something terribly simple here, but I just can’t seem to find what I’m looking for…
As with a post I made around a week ago, I’ll present my query as a simplified hypothetical … It’s all part of the same project; itself a fun but otherwise pointless exercise I’ve devised in order to improve my proficiency with expressions…
Let’s say that I want to link a layer’s opacity to a slider, having it reach 100% whenever the slider’s value represents a whole number, then to ramp down linearly to 50% between integers.
Thanks in advance,
DP