1
$\begingroup$

I want to paint a sequence of colors dynamically onto an object. In the blender docs under the category Dynamic Paint > Paint there is an example image that shows a sequence of colors painted on a surface. In the settings of the brush I can only draw a single color.
Blender Docs Image
How can this be achieved?

$\endgroup$

1 Answer 1

1
$\begingroup$

If you have e.g. a plane as canvas, you can make e.g. two objects (or even more) as brushes. If you give them a different color, you can get this:

enter image description here

Shading nodes of the plane:

enter image description here

You can of course animate/keyframe the brush/paint color.

enter image description here

result:

enter image description here

for color by distance feature you can use this node setup:

enter image description here

result:

enter image description here

although the animated gif looks a bit weird here (the white stripe isn't really white) but if you follow my node setup it works.

$\endgroup$
4
  • $\begingroup$ but can I change the color based on the traveled distance instead of the shading nodes of the plane? I want this to be like a pen that is filled with different colors that releases the colors in the given order, independent of the surface. $\endgroup$
    – Leggin
    Commented Nov 4, 2021 at 7:31
  • $\begingroup$ just animate/keyframe the brush color. I updated my answer $\endgroup$
    – Chris
    Commented Nov 4, 2021 at 7:38
  • $\begingroup$ ah! great, I didn't know that the color value could be keyframed, thanks! $\endgroup$
    – Leggin
    Commented Nov 4, 2021 at 12:20
  • $\begingroup$ You are welcome $\endgroup$
    – Chris
    Commented Nov 4, 2021 at 12:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .