Giter Site home page Giter Site logo

Comments (8)

mitxela avatar mitxela commented on July 30, 2024

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.

from plotterfun.

vguttmann avatar vguttmann commented on July 30, 2024

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.

from plotterfun.

vguttmann avatar vguttmann commented on July 30, 2024

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

from plotterfun.

vguttmann avatar vguttmann commented on July 30, 2024

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.

from plotterfun.

mitxela avatar mitxela commented on July 30, 2024

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.

from plotterfun.

vguttmann avatar vguttmann commented on July 30, 2024

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.

from plotterfun.

mitxela avatar mitxela commented on July 30, 2024

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

from plotterfun.

vguttmann avatar vguttmann commented on July 30, 2024

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

from plotterfun.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.