Thanks for the quick reply!
This question is a bit convoluted... so please bare with me
When I apply more than 70% pressure on my stylus, I can feel the nib wearing uncomfortably.
To test what I can do to adjust the feel of the brush, I was playing with the Tail Default brush, and only modifying the pressure-colour part.
I found that the solution that worked best was use Cubic Ease In/Out (Pressure), and to lower the position of the upper colour from 100% down to 70%. This gave me a rescaled Cubic Ease In/Out() function for pressures from [0,0.7], and max value from for pressures from [0.7,1]
From some quick play with size, I do not think this solution will carry over to other variables. From what I can understand, pressure is scaled from [0,1], so are any functions that dependent on it. This is so that f(Pressure) can be multiplied with the parameter they are modifying, such as colour or size. Meaning, if this is correct, f(Pressure)*pxSize is how the final size is calculated. If that's true, the solution for colour gradient does not carry over to variables like size because you cannot set a threshold value for Size, Opacity, etc. This can be rectified by setting the pxSize values to values that are ~43 % larger (100/70) than I need, but I lose the convenience of having a hard upper bound.
This would also unsolvable for brush elements that range from 0-100%, because I can't set opacity to 143% so that at 70% pressure I get 100% opacity.
I tried multiple function only solutions to avoid this issue. However, I found I would be losing too much sensitivity at the lower end, by improving the sensitivity of the higher end (i.e. Power Ease Out(Pressure), or Cubic Ease In/Out (Power Ease Out(Pressure)); the latter making the effects of the former on lower pressure worse
).
The big question then becomes: is there a way to rescale the cubic function so that it applies something like Cubic Ease In/Out pressure [0,Threshold], and Ceiling from [Threshold, 1]? Or more complex, create an asymmetric Cubic Ease In/Out function? Or even more complex make a compound function of Power Ease In and Power Ease Out such as:
-Power A Ease In [0,0.3)
-Linear Matching Function [0.3,0.7]
-Power B Ease Out (0.7,1]
--Where A and B are arbitrary values for the power functions; in this case B > A such that 70% pressure gives 95-99% output
--Where Matching function is a linear function that is calculated such that Power A Ease In [0,0.3) + Linear Matching Function [0.3,0.7] + Power B Ease Out (0.7,1] is continuous?
Riddlez