Giter VIP home page Giter VIP logo

Comments (3)

casperhart avatar casperhart commented on September 15, 2024

In the example, I don't think the smile is highlighted, it's just the points are packed so densely that they appear darker due to the overlap, which makes it harder to distinguish the highlighted vs. non-highlighted points.

For example here, I have only the small cluster selected:
image

And it isn't clear that it's only the small cluster that's selected until I change the colour:
image

To show this more clearly, If I select both the small cluster along with some of the smile, the selected points in the smile do become darker:
image

So this could definitely be made better, but I'm not sure the best approach that will retain the alpha transparency in both the selected and non-selected points. What do you think?

from detourr.

dicook avatar dicook commented on September 15, 2024

Oh, I'm sure you're right. I kept thinking going back and forth on whether it was correct or not.What about automatically colouring the selection with the current colour? This would then make it clear what is selected or not, and allow the alpha transparency to stay as it is.

from detourr.

casperhart avatar casperhart commented on September 15, 2024

The problem with applying the current brush colour immediately is if some brushing / selection has already been done, the same issue will crop up again.

I think having the selection highlighted with some colour could work, but it should work separately from the brush and be cleared when the selection is cleared. There would still be some risk of the highlight colour clashing with a brush colour, but this shouldn't be much of an issue.

Alternatively, the highlighted points could be given a red border or something. Maybe a red and white border in case the points have already been brushed red.

I'm not sure what these would take to implement, but I might have time to look in to it in a few weeks.

from detourr.

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.