Giter VIP home page Giter VIP logo

Comments (3)

JohnMcLear avatar JohnMcLear commented on August 22, 2024

Can you explain exactly what you mean?

from draw.

supun19 avatar supun19 commented on August 22, 2024

I have two major issues. One is some of the points (i.e. points drawn close to the edges in larger screens like laptop )cannot be seen in mobile view. I doubt whether it's due to mobile view not having larger cordinates like the laptop view. The other problem is if I draw in larger screen and switch to a smaller view some the drawings cannot be seen instead of dropping the ratio and showing the whole drawing. Can you help me out? I can contribute to fix this if it's necessary

from draw.

supun19 avatar supun19 commented on August 22, 2024

This is the way how we tried. We made up the canvas to 14:9 ratio. Whatever the size of the screen, we sent cordinates converted to 1400:900 canvas. It worked but we faced several problems, one was, a long line was drawn at the start of drawing.
We couldn't find a method to convert the cordinates loaded from the db which are in 1400:900 cordinate system. Can you suggest me a method? We used 'resize' method in paper js to scale the current coordinates when the window is resized. But we couldn't find how to apply the scale method in paper js. Can you suggest me a good method?

from draw.

Related Issues (20)

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.