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

Define slider range #106

Open
brandonjackson opened this issue Aug 12, 2015 · 2 comments
Open

Define slider range #106

brandonjackson opened this issue Aug 12, 2015 · 2 comments

Comments

@brandonjackson
Copy link
Contributor

The sliders are useless in two situations:

  • When trying to change really small numbers (such as the length of an arc, which ranges from 0 to 2)
  • When trying to change positions (which span both positive and negative numbers)

I think we need to be able to define the range of the sliders. This could be linked together with changes to the validation system that would allow us to define a range of acceptable values for a parameter.

@alecmolloy
Copy link
Contributor

Ideas:

  • Slider range and precision is explicitly defined for challenge steps: so play can be validated and occur within mandated parameters.
  • For either just playground or both: Slider range is calculated as some form of: n + dx^dy. So horizontal mouse movement controls value with vertical movement controls precision, with the original value's precision respected

@alecmolloy
Copy link
Contributor

Also:
The slider currently thinks in terms of the 1D number line, but for angle values in radians (Math.PI * .5) or degrees (90 * Math.PI / 180) there might be better interactions. The circular knob isn't as easy to manipulate, but allows for infinite manipulation (https://youtu.be/MS30IRMh1sc?t=55)

A lot of cool things can be done by thinking radially, but as you have pointed out our system really doesn't lend itself very well to this. Would like to discuss this idea AFK next time you're in London.

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

No branches or pull requests

2 participants