plotterfun icon indicating copy to clipboard operation
plotterfun copied to clipboard

[Feature Request] Open web image and non-popup progress indicator

Open vguttmann opened this issue 4 years ago • 8 comments

I would wish that I could directly open images from a URL, and that, if plotterfun is recalculating, the popup wouldn't shift the whole layout when recalculating.

I am using Firefox 85.0.1 64-bit on Ubuntu 20.04.1 LTS.

vguttmann avatar Feb 15 '21 08:02 vguttmann

Open from URL could be nice.

By popup do you mean the message at the bottom that says things like "optimizing route"? Because that's position:fixed and shouldn't be shifting anything. Could you tell me which algorithm you're using, and how big the source image is, and how big your browser window is? Or better yet, record a quick video of the problem.

mitxela avatar Feb 15 '21 11:02 mitxela

No, I mean this spinny thing (like the windows 7 "busy" cursor), that appears above all the sliders whenever I change a value. My laptop is not the fastest, so you may haven't even seen that. Also, linedraw freezes, but that could also be down to my slow machine.

vguttmann avatar Feb 15 '21 13:02 vguttmann

Edit: Linedraw happens to freeze with those two images: image0 image1

This image, which was made in exactly the same way (converting to grayscale in GIMP and adjusting the curve for better contrast), works completely fine: 39998eb634f3ce3d5107f053b369f19e1

vguttmann avatar Feb 15 '21 17:02 vguttmann

Sooo, I checked the site, and the animation is called "loading.gif (https://mitxela.com/plotterfun/loading.gif), and is in the algorithm selection box. It has the image id "buffering", and appears every time I change a parameter.

vguttmann avatar Feb 16 '21 07:02 vguttmann

Something is quite wrong if the buffer wheel image is appearing whenever you change a parameter. It's only supposed to be needed when it's loading something over the network. As soon as an algorithm is loaded, it gets cached. Are you running this locally or is it hosted?

As for linedraw it will take a very long time to run on images which are big with lots of fine detail like that, it will try and trace the contours of every shading stroke. If you blur the image a bit first it will work better.

mitxela avatar Feb 16 '21 11:02 mitxela

I am using plotterfun as hosted on your website. I checked with my smartphone, using both firefox and chrome (chrome doesn't belong on my PC!), and the animation appeared every time, however, it always was in line with the algorithm dropdown, no matter if I viewed the mobile site or the desktop site (if that actually matters with your site).

And yes, blurring the image worked. I guess that was to be expected with a pencil-drawn image.

vguttmann avatar Feb 16 '21 13:02 vguttmann

How's that? shouldn't move the layout when it's shown now, anyway.

mitxela avatar Feb 23 '21 14:02 mitxela

Works like a charm on all devices and browsers. Thank you!

vguttmann avatar Feb 23 '21 16:02 vguttmann