Skip to content

Make pressure transitions smoother

Nayeem Rahman requested to merge pressure-smoothing into master

Fixes #43 (closed).

Before: before

After: after

The smoothing can be scaled arbitrarily, at the cost of giving more points to d3. See the comments above smoothPath().

MAX_PRESSURE_DELTA might suffice for this, but I think MAX_POINT_DISTANCE supplements it in a subtle way.

@im2517 @ml5717 Please review.

Edited by Nayeem Rahman

Merge request reports

Loading