I'm posting a website where you can visualize colors on a wall by uploading a photograph of your home. They are flood filling colors on the area where I'm clicking. They are creating shapes (maybe by detecting edges) over another canvas. Can anyone tell me how they have achieved it? Link to the site: https://www.visualizecolor.com/ppgpaints# .
And suggest if any js library exists that do the same.
I can see two different ways of doing this.
First idea
Second idea
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.