You are familiar with textual programming and are missing some of the basic concepts of your mother tongue in vvvv. Here is collection of common programming concepts and some hints to where you can find them in vvvv.
Basically vvvv avoids the concept of sequential loops. You basically calculate all iterations at the same time by using a spreaded calculation, which does all calculations in the same frame. Look for the spread nodes especially I, Integral, Differential, Cross, Resample, Shift and the various spectral nodes are key for implementing many common scenarios for using loops.
If you are really looking for a way to generate a loop like you would do with: for, do while, repeat until you can of course iterate variables in successive frames, but this takes time.
have a look at the HelpPatches of the following nodes:
Counter (Animation) or FrameCounter (Animation) will help you to simulate the famous iterating variable i.
Also FrameDelay (Animation) and FrameDelay (String) will be needed when it comes to looping. See Creating Feedback Loops
= (Value) or = (String) may help you define a condition to stop the loop. The members of the Boolean? category will help you to combine several conditions to break a loop like you used to do with and, &&, or, ||, not, !. If you need a timebased stop condition have a look at MonoFlop (Animation).
Change (Animation)
Switch (Value Input)
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).
Subpatches and Modules is what you are looking for.
There is no concept of Objects or Classes in vvvv. Next best concept is again Subpatches and Modules .
IOBoxes, Send/Receive, FrameDelay
Queue (Spreads), RingBuffer (Spreads)
see Empty Spreads
anonymous user login
~6h ago
~7h ago
~8h ago
~11h ago
~11h ago
~19h ago
~21h ago
~1d ago