Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade 2d density colourization to support decimal level resolution #4

Open
nicbarker opened this issue Jan 17, 2018 · 0 comments
Open

Comments

@nicbarker
Copy link
Member

At the moment, the 2d density colourization algorithm uses Math.floor when calculating the density of points in a square around the current point, then uses the density value to determine the colour. This means that there will be slightly more intense density colourization as x or y gets closer to zero (this could potentially be misleading for scales that exaggerate or linearize points close to zero, such as biexponential)

screenshot 2018-01-17 17 42 36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant