Giter Site home page Giter Site logo

Comments (7)

deepampriyadarshi avatar deepampriyadarshi commented on August 20, 2024 1

Hi @yashchaudhari008 can I implement this feature?

from drawit.

yashchaudhari008 avatar yashchaudhari008 commented on August 20, 2024 1

Just update me here before making an PR

from drawit.

deepampriyadarshi avatar deepampriyadarshi commented on August 20, 2024 1

Why did the topbar break? Looks good to me, can we make the cursor little transparent (try of it looks good) else fine with current one.

Regarding the top bar-- It didn't break. Actually in the second GIF if look carefully, the Google Chrome Window doesn't have the bookmarks bar as in the first GIF (Don't know how it got disabled). So this eventually increased the screen size which disturbed the previous orientations since the divs are not optimised for various screen resolution (Which can be dealt in separate commit).

Transparent Cursor -- Transparent in the sense you want the cursor to be visible as we draw the stroke? And by the term cursor you mean the default arrow cursor or the new modified paint brush tip?

from drawit.

deepampriyadarshi avatar deepampriyadarshi commented on August 20, 2024

Just update me here before making an PR

Existing feature

old

Modification

new

@yashchaudhari008 This is what I have been working on (The GIF uploaded above kinda looks slow).

from drawit.

yashchaudhari008 avatar yashchaudhari008 commented on August 20, 2024

Why did the topbar break?
Looks good to me, can we make the cursor little transparent (try of it looks good) else fine with current one.

from drawit.

yashchaudhari008 avatar yashchaudhari008 commented on August 20, 2024

I just wanted the new cursor should be visible. Like, cursor clearly should be differentiated from canvas drawing.

from drawit.

deepampriyadarshi avatar deepampriyadarshi commented on August 20, 2024

I just wanted the new cursor should be visible. Like, cursor clearly should be differentiated from canvas drawing.

Modified.

modified

In this modification I have given a contrasting outline with respect to the colours that will be present on the canvas, to the brush tip.

P.S- The thickness of the outline of the circle is included the effective painting area of the brush tip. Which means on clicking the the area enclosed in the circle + the thickness of the outline will get painted.

from drawit.

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.