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

Logic

Russian | Italian | Spanish | French

Separate Logic from Content

To program interaction logic, sequences or any other more complex tasks, you should NOT start to weave the logic part deep into your patches but rather have a central command station where you handle all the logical states in an abstract way and send them as needed to other places in your patch.

Basic logic programming

Related nodes

...

Note, if you see too many of these nodes in your patch and the logic gets more and more confusing it's time to switch to State Machine.

Conditions

Wondering how to control data flow in manner of if-else statements? See Conditions.

State Machine

Related nodes

Automata

Use Automata (Animation) for complex logical structures. Automata allows you to distill complex logic into a textual description. See it's extensive helppatch.

Qfsm graphical tool is good for drawing State Machines, it allows you to export state machine statements for the Automata (Animation).

Automata UI

There is also a much more convenient Automata UI contributed by u7angel which enables you to design your program logic with states and transitions as well as giving them a duration within a visual editor.

Sequence based logic

Use Timeliner (Animation) for more sequence based logic. It has an Automata track to jump in the timeline. How to use Timeliner.



This is the landing page of the category Logic

anonymous user login

Shoutbox

~11d ago

joreg: Last call: 6-session vvvv beginner course starting November 4: https://thenodeinstitute.org/courses/ws24-5-vvvv-beginners-part-i/

~25d ago

joreg: Missed the last meetup? You can rewatch it here: https://www.youtube.com/live/MdvTa58uxB0?si=Fwi-9hHoCmo794Ag

~25d ago

theurbankind: When is the next big event, like node festival ?

~28d ago

~29d ago

joreg: Join us for the next vvvv meetup on Oktober 17th: https://visualprogramming.net/blog/2024/25.-vvvv-worldwide-meetup/

~1mth ago

joreg: 6 session beginner course part 2 "Deep Dive" starts January 13th: https://thenodeinstitute.org/courses/ws24-5-vvvv-beginners-part-ii/

~1mth ago

joreg: 6 session beginner course part 1 "Playground" starts November 4th: https://thenodeinstitute.org/courses/ws24-5-vvvv-beginners-part-i/

~1mth ago

joreg: Save the date: Oktober 17: vvvv meetup in Berlin!

~1mth ago

joreg: 12 session online vvvv beginner course postponed to start November 4th: https://thenodeinstitute.org/courses/ws24-5-vvvv-beginners-class/

~2mth ago