Git Product home page Git Product logo

Comments (5)

OverloadedOrama avatar OverloadedOrama commented on May 22, 2024

You can choose where the custom brushes get their color from, under the brush size where it says "Brush color from". If set to 1, then all of the color will be taken from the selected color. If set to 0, then the brush color will not be affected at all from the selected color. This is because it's possible for some custom brushes to have multiple colors and not be just plain black.

Now, this does cause issues when alpha comes into play. If "brush color from" is set to 1, then the color fully comes from the selected color, and all alpha values get lost. If set to 0, the brush keeps its alpha, but it will always be black.

I'm not entirely sure what is the best way to handle this. If anyone has any ideas, feel free to let us know!

from pixelorama.

SbNanduri avatar SbNanduri commented on May 22, 2024

Thanks for the timely response, and I tried setting that 'brush color from' value to something less than 1, and the brush appears with the proper transparency, but when I click to apply it, no transparency is applied.

from pixelorama.

OverloadedOrama avatar OverloadedOrama commented on May 22, 2024

That's because the mouse click happens for multiple frames, so the brush gets drawn over and over and it appears opaque. To fix this we need a way to make custom brushes get drawn only once at a time. I will try and resolve this soon.

from pixelorama.

SbNanduri avatar SbNanduri commented on May 22, 2024

That makes sense, thanks.
I also noticed something else with transparency. If I select the one pixel brush and choose a transparent colour, it replaces the colour on the current layer as you draw over it instead of overlaying the transparent colour on top. Is this intended?

from pixelorama.

OverloadedOrama avatar OverloadedOrama commented on May 22, 2024

I'd say that this is intended yes, If you want to draw over it you could use another layer. If you, or anyone, thinks that this shouldn't happen, feel free to discuss about it. Personally I think it makes sense, but I'm not that much of an artist myself so I can't be sure that this behavior is the best.

from pixelorama.

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.