I’m trying to trigger a value ‘pulse’ that only lasts for a frame.
I want to move a variable from 0 to 1 in a frame, and then move it back to 0 for the next frame. (Note: I am simulating a quick ‘mouse click’ which resets the buffers of a shader that I have pulled from ShaderToy).
My current approach is using the TriggerCHOP. I have reduced the decay length, the release length and the attack length to 0.001. I am triggering manually by clicking ‘Pulse’ - it feels a bit slow but ~maybe~ workable. The main problem with this is that I can’t figure out how to trigger the ‘pulse’ on the triggerChop from python code.
Does anyone have any ideas about how to trigger a quick, one-shot ‘pulse’ value in Touch Designer?
I found another simiar thread on this question: derivative.ca/forum/viewtopi … =27&t=5227. It suggested the TriggerCHOP, and elburz suggested the AnimationCOMP but I was confused by his explanation, and unsure if it was the right solution for this problem as the original post was a little more vague.