-
Notifications
You must be signed in to change notification settings - Fork 155
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
Floating magnifier showing details in the result image #216
Conversation
This adds a magnifier to the html interface of the mumax results page, that shows a zoomed in detail of the result image.
@jsampaio awesome, thanks! have you tried to test it against different browsers? |
@godsic : thanks! I've tried on safari and firefox. |
In very small images (and near the edges of all images) the loupe wasn't updated.
@jsampaio how the image of the loupe is constructed? Is it fetched from elsewhere? |
It’s the same image, from the same address. The zoom is done just with css and JavaScript in the user’s browser |
Hi, I made it in a little bit different way: https://www.youtube.com/watch?v=xN2JIwht92g&feature=youtu.be and second, draggable: If you like it I plan to add zooming functionality using wheel in mouse. What do you think about this solution? |
My solution or the two from @kkingstoun 's seem ok to me. My comments on the three solutions:
for information, here's a screenshot of the loupe: |
@jsampaio you have the right suggestions, I will prepare graphical toolbox with icons representing loupe, drag, resize, and zoom. I think that user, should have an option to use it, because not every time the loupe is useful. I'm thinking also about requesting render to return an image in higher resolution (upon request) for loop and zooming, but i have to test how it will influcene on the computing performance. |
The loupe/zoomed image conserves the sharp pixels (no smoothing, no interpolation) which corresponds better to the simulation cells.
This adds a magnifier to the html interface of the mumax results page. The magnifier floats on top of the image and shows a zoomed-in detail of the image under the cursor.