Smoothly interpolating between more than 2 jit.gen objects.

username_required's icon

username_required

8月 27 2024 | 4:48 午後

I'm working on a video project that has a number of different jit.gen operators all containing different math to graph curves on screen with a jit.gl.mesh. However, I am having trouble setting up all these gen objects so that they smoothly interpolate between each set of equations. Right now I have another jit.gen object taking all of the others in and using a really stupid rat's nest of [mix] objects so that my mesh interpolates between the multiple gen objects it's receiving—since [mix] only accepts two inputs. I know there has to be a more elegant way of doing this, and I'd share the patch but it itself is a stupid confusing rat's nest.

Any help on how to smoothly interpolated between more than 2 jit.gen objects/functions would be extremely helpful!