Creating a brush texture

Hi, english isn’t my native language so I’m sorry in advance for any spelling mistakes/awkward writing. I’m in need for some help for a college project and I’d appreciate any kind of guidance you can give me.

So, the project consists of a series of abstract paintings which we have to use as inspiration for our own piece. You should be able to interact with this piece with the mouse (X,Y for now).

We’ve split the elements of the painting, but we’re having trouble recreating the pencil texture and the different colors. Does anybody know how to recreate the brush texture and how it mixes the different colors?

Which one of the different parts of the image do you mean? How would you describe what you see and how could that relate to mouse position?

Please show your code so far since this is homework

1 Like

Hi, sorry I didn’t clarify that: the brush that I’m talking about is this one.
It’s like a bristle brush.

I don’t have any code yet, because I don’t know if this is even possible to make in Processing. Anyways, I’m asking for some idea to begin to create the texture of the brush, not a complete code or something like that.


You could start by a sketch that draws a wide gray brush with the mouse

Your example brush is quite difficult to model – mixed paint colors on a 3D volume changing with the changing direction of the stroke, and also blending / running / dripping / spattering.

I wouldn’t recommend working up from a simple pixel brush, in this case. Instead I would recommend looking at fluid dynamics examples in PixelFlow for Processing.

In particular see the examples for Fluid Dynamics or Flow Field.


Thank you! I think this will work