HTML5 Canvas javascript smudge brush tool
问题 I need idea how i can make brush who can color smudge. Example in picture: right side painting with basic brush with two different colors in left also painting but additional use smudge tool, the result should be something like left side I need advice how i can try to do it 回答1: You will need to manipulate pixels to achieve a smudge effect. You can get the pixel information from the canvas using context.getImageData . As the user moves an imaginary brush over existing pixels, you can mimic