Giter Club home page Giter Club logo

html5-paint-bucket-tool's People

Contributors

williammalone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

html5-paint-bucket-tool's Issues

Wrong click positions

in the createMouseEvents function we have

var mouseX = e.pageX - this.offsetLeft,
    mouseY = e.pageY - this.offsetTop;

but, with the canvasDiv inside another div structure, like bootstrap container, the click offset i not in the right place.

There is a way to fix it?
I couldn't figure out.

Fill on white background

@williammalone,

The script now only fills the all transparent space, but what should be changed to get it also working for any color that is clicked? Or for example, if I use white area's that must be filled. I think this is a minor tweak in the code, but can't find it.

Thanks in advance!

Issue with 100% canvas width and height

Hi

Your script is very good. I was trying to use for my app but I am facing one problem. When I give the percentage to canvas and image which i am loading to fill then script do not work. Is there any possibility to use this script for responsive.

Thanks

ie8?

hate creating issues for questions but no other way to do that on github (that I know of).. Have you done any work on getting this to work with IE8? I tried it with excanvas and it's a no go..

Wrong Y setting

Thanks a lot for the script and good explanation in your post.
In line 194 the y value will be incremented. However, this will result in a wrong position in the following pixelStack pushes at 208 and 220. Instead, the y should be incremented after checking for left/right.

How to change picture image

Hi,

First of all, congratulations for your excellent job with this tool.

A simple question: how can I replace the "watermelon" picture file to a bigger and different one?

Thank you in advance.

Isaac

iPad performance

Performance on iPad 2 mobile safari is not very good.

Is there any way to make it better?

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.