Skip to content

Improve pressure application on radius

Nayeem Rahman requested to merge pressured-radius into master

Also:

  • Interpolate with curveBasis instead of curveLinear
  • Increase the default stroke radius to 5 from 1

Cherry-picked from erasure-intervals.

@ml5717 I think this was approved already but please take a quick look.

Update: One important consideration I had missed was that a pressure of 0.5 should not affect the stroke radius. I'm now using a quadratic which ensures this - see getPressureFactor().

Edited by Nayeem Rahman

Merge request reports

Loading