splatOpacity function

double splatOpacity(
  1. double logit
)

logit through the logistic function, which is how a file stores opacity.

Implementation

double splatOpacity(double logit) => 1.0 / (1.0 + math.exp(-logit));