» 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

~4d ago

~7d ago

joreg: The Winter Season of vvvv workshops is now over but all recordings are still available for purchase: https://thenodeinstitute.org/ws23-vvvv-intermediates/

~14d ago

schlonzo: Love the new drag and drop functionality for links in latest previews!

~22d ago

joreg: Workshop on 29 02: Create Sequencers and Precise Clock Based Tools. Signup here: https://thenodeinstitute.org/courses/ws23-vvvv-08-create-sequencers-and-precise-clock-based-tools-in-vvvv-gamma/

~29d ago

joreg: Workshop on 22 02: Unlocking Shader Artistry: A Journey through ‘The Book of Shaders’ with FUSE. Signup here: https://thenodeinstitute.org/courses/ws23-vvvv-12-book-of-shaders/

~1mth ago

joreg: Talk and Workshop on February 15 & 16 in Frankfurt: https://visualprogramming.net/blog/vvvv-at-node-code-frankfurt/

~1mth ago

woei: @Joanie_AntiVJ: think so, looks doable

~1mth ago

xd_nitro: Anyone remember who increased projector brightness by removing some components that product the color?

~1mth ago

Joanie_AntiVJ: This looks super interesting (vectors over network) would anyone here know how to implement this in beta? https://github.com/madmappersoftware/Ponk