I have a type of entertainment on a page where I choose a drawing that is placed inside a% color%.
I already have the brush and the colors. But I want something that does the bucket function that paints an entire area.
Click on the bucket, then click on a part of the drawing and paint the region that was clicked.
You have a site that has this:
I tried to understand the source code, but I could not find the function.
Does anyone have any idea how I can do it? Just the beginning.
The plugin I'm using is this: