» Conditions
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.



Patching pages


Basic usage

In the most simplest scenario you want to switch between two inputs according to the result of some boolean operation (0 and 1).

This is what the  Switch (Value Input) is for.

By default the Switch node has 2 inputs to switch between: in case of 0 Input 1 and in case of 1 Input 2.

More Inputs

The Switch node can accept any number of inputs to switch between by setting the Input Count via the Inspektor. The Switch input then takes an integer value ranging from 0 to Count-1 to switch between the inputs.

See also
  • If you want to apply a LERP (linear interpolation) between the inputs instead of switching between them have a look at  InputMorph (Value).
  • In order to switch Values according to a String, have a look at  Case (Value Input).

Alternatively to switching between multiple individual values you can use the GetSlice (Spreads) as shown to switch between the slices of a spread.

Boolean operations

Boolean operations

There is no special Boolean datatype in vvvv. Boolean values are simply represented by 0 (false, off) and 1 (true, on). Use the following nodes for basic boolean operations:

Relational operators

>, <, =,... return 0 or 1.

State conditions

There are some special nodes that return a Boolean according to a change in state.


See the helppatches of these nodes for details.

State Automatas

When patching anything that can be separated into a series of states and events that cause transition from one state to another you are likely looking for Automata (Animation). Also the Timerliner has an automata built in.

See also:

anonymous user login


~5h ago

joreg: Interested in #visualprogramming with #vvvv? Meetup in #berlin on the 25th: 10-berlin-vvvv-meetup Featuring @kopffarben

~22h ago

ggml: is pepperoni dmx adapter still expected to work with b38 ?

~1d ago

bo27: @sinus hi! Thanks for using the template. Run is for endusers and it kills explorer. Try developer.bat to access patches

~1d ago

sinus: @bo24: sorry for da hassle. everything´s fine again. several restarts did the job.

~1d ago

sinus: @bo24: my mail db@servus.at

~1d ago

sinus: @IvanRastr aka bo24: found your project template, tested run bat.file, now my screen is black. only cursor. what to do?

~6d ago

cznickesz: @tonfilm thanks for the info. Can´t wait to give it a try!

~7d ago

tonfilm: @cznickesz #vvvv #vl #xenko integration is not ready for the public yet, it's still under heavy development... more updates soon.

~7d ago

cznickesz: Possibly dumb question: is there any release containing xenko-integration right now?