controlling displace to make it play back and forth

hey, i did a fluid effect in touchdesigner with displace nodes and a feedback loop. with the slider i want to be able to control the fluid, to make it expand or to make it shrink until its not visible anymore. the numbers of the slider, which range from negative to positive, are connected to the displace weight of the displace node. but it doesnt rly work. when the slider is negative, the fluid shrinks a bit but then it just stops, but i want it to vanish completly and expand again when the slider is positive. does anybody have an idea about how i could approach this ?

thanks for ur help ! :slight_smile:

Hey, welcome to the forum!

It would be easier for others to help if you attach your .toe network. If you’re not allowed yet to attach files as a new user, just browse the forum for a few minutes.

test.toe (6.0 KB)

I think the tricky part is that negative Displace Weight does not really work like a “reverse growth” or shrink control. It mostly changes the direction of the displacement.

I would try separating the controls: use the positive side of the slider for Displace Weight, and use the negative side to drive a Level TOP / opacity / feedback decay, or maybe a Transform TOP scale, so the image can actually fade or shrink out completely.

So instead of wiring the -1 to 1 slider directly into Displace Weight, remap it into two separate control values.