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

Improvements to point-size slider #28

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Improvements to point-size slider #28

wants to merge 3 commits into from

Conversation

marohrdanz
Copy link
Collaborator

There are several issues related to the point-size slider. This PR will address some of these.

Adding this debouncing improves things enough so that the browser
page doesn't lock up. However it's still not ideal.
@marohrdanz marohrdanz marked this pull request as draft March 21, 2021 01:49
The granularity of the point slider is controlled in the jquery-ui
implementation. To give the illusion of greater granularity, increasing
the range, and dividing the value by 2 before drawing the points.

Addresses #21
It looks cool for the point size to change interactively when the user
moves the slider. And for small numbers of points it responds just fine.
So only use debouncing on the slider when there are many points.
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

Successfully merging this pull request may close these issues.

1 participant