XaiJu
b2bk
b2bk

patreon


[TOE] FLEX Liquid Webcam

Hello everyone.

Today, let's make waves together.

A touchdesigner project, based on optical flow and nvidia flex solver. It detects movements in the image and apply them as a force on the fluid simulation.

Of course any other video input can also be used (video, generative content..), anything moving, actually.

Play as much as possible with the parameters (properties tab) of the solver itself, to get different fluids behaviors.

I had few issue with the solver on the version 2023.11600, sometimes should be initialized twice. But a soon as the simulation starts, it's very enjoyable ;)

EDIT : I've finally found a solution about the initialization problem, so I've uploaded a new version of the file. The issue was about the orientation of instances : I use the velocity of fluids to rotate the boxes, but, it doesn't find this data before the solver starts. My solution is a simple switch. No orientation for initialization, and velocity when the solver is running.

Tell me what you think of this one !

Comments

One of the most beautiful I've ever seen, but it starts really randomly, sometimes it doesn't start at all, it's really a pity! Can you please try to solve or tell what is the best td version to make it work? thank you.

fabio volpi

That's a problem. I will have a closer look to try to understand what happen. Now, I'm completely sure the problem exists with different computers/specs.. Thanks a lot for your comment.

B2BK

Hi! Very cool but Im having the same issue here, sometime starts and sometimes not, unpredictable behavior even with less particles. I´m working in a decent GPU (4080 laptop) so I guess thats not the problem. Thanks!

Oswaldo García Crespo

Really?? Did you try on the main project container called Flex_webcam? It should be initialized first, then started (with the two buttons). Can you tell me what happened for you? Which TD version are you using? I will correct the file as soon as I get what's wrong.

B2BK

this didnt seem to work for me, the flex didnt want to intialize!

Alon Hammer


More Creators