flekschas / regl-scatterplot

Scalable WebGL-based scatter plot library build with Regl
https://flekschas.github.io/regl-scatterplot/
MIT License
194 stars 24 forks source link

feat: add support for linear and constant point scaling via a new property called `pointScaleMode` #195

Closed flekschas closed 1 month ago

flekschas commented 1 month ago

This PR introduces a new property called pointScaleMode to add support for constant and linear point scaling.

Description

What was changed in this pull request?

We introduce a new property called pointScaleMode to allow the user to switch between three point scale modes:

  1. "asinh" transform (default)
  2. "linear" transform
  3. "constant" (a.k.a., no transform)

Why is it necessary?

This is a follow up PR to #194 (which was authored by @abast) to ultimately fix #169.

Checklist