Giter VIP home page Giter VIP logo

Comments (7)

CodeDoctorDE avatar CodeDoctorDE commented on May 23, 2024

There i already a circle painter. You can find it under the shapes

from butterfly.

claws99 avatar claws99 commented on May 23, 2024

There i already a circle painter. You can find it under the shapes

yeah. I'm using it, its an enhancement proposal for the current circle painter.

from butterfly.

CodeDoctorDE avatar CodeDoctorDE commented on May 23, 2024

Hmm, the problem is: The aspect ratio is a property of the shape painter.
We can override this behavior when pressing shift or ctrl if you want.
I would like to have a similar behavior on mobile. It would be cool if there is a similar behavior on mobile devices

from butterfly.

claws99 avatar claws99 commented on May 23, 2024

I would like to have a similar behavior on mobile. It would be cool if there is a similar behavior on mobile devices

I'm with you on providing similar behavior. Providing similar behaviour is what makes app coherent.

Just to clarify my thinking, similar behavior shouldn't mean identical behaviour. As identical features in most of the cases won't be the optimal/best possible solutions on all device types. This is fundamentally because different devices have different input and output devices.

This just simply means:

  • For devices with touch input, optimizing app to be easily interactable using gestures
  • For devices with keyboard input, optimizing app to be easily interactable using keyboard keys.
  • etc

This is inline with #433

Example: Excalidraw is great to be used with mouse, but its a nightmare on smaller and touch&pen-input devices.

In short, the principle I'm referring to is "There's more than one way to do it," commonly known as TMTOWTDI,

from butterfly.

CodeDoctorDE avatar CodeDoctorDE commented on May 23, 2024

The circle behavior can be replicated when setting aspect ratio to one. But i don't think it's really user friendly on mobile

from butterfly.

claws99 avatar claws99 commented on May 23, 2024

Sure! your call :)

from butterfly.

CodeDoctorDE avatar CodeDoctorDE commented on May 23, 2024

Added in 2.0.0-beta.6
Recoded the shape painter.
The same system can be used in a new stamp painter (#stamp

from butterfly.

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.