-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
User interaction #25
Comments
currently it's tied to mouse... but this is a great point! I will document the code here in this issue best I can in attempt to help create a feature for this. uservariable and userlinein the
It basically just re-renders everything on each sliderslider is really it's own component that gets injected:
state variables as a potential solutionso seems that we may want to move the variables out of these individual contexts, and into state, which is decoupled from the actual rendering environments. |
One application of having access to points in the pspicture could be that the user could modify it through the DOM interface. Another could be to create an animation where the variable changes based on a timer. |
I love this project! Very well thought out and implemented. While working with the interactive samples, I could not tell if uservariable and slider are available for any pstricks code, or if they are hard-coded to only work with mouse ( for psline ) or psplot. i.e. Could I get users choice via html/javascript input to control location of psline?
The text was updated successfully, but these errors were encountered: