We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I want to create something like textured brush, so I use PImage with mask() to get textured stroke effect. But is there a possibility to somehow use a mask for simple colored rectangle? Because I want my brush contain both texture and picked color. So, it would be great if both PImage texture and colored rectangle have the same mask. Maybe there is some trick?
Answers
You can color images with tint. https://processing.org/reference/tint_.html
BarbaraAlmeida, oh, I forgot, there is a Tint()! Last time I use it, it was a little bit tricky, but now I know Processing better, so, Tint() is an answer! Thanks!