» 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

~19min ago

StiX: @synth you sauin something about 420? if mangosh gets confirmed i am coming with him as we are in one ... package

~20h ago

synth: @evvvvil here only to do lasers, they don't let me near the screens after last time ...

~20h ago

evvvvil: hahaha yes, please sir, can I have some more sir? Hopefully me and you be battling for visual space soon, GTFOH with your lasers.

~20h ago

synth: BTW - Got 4 20w Kvant lasers here thinking of testing the ILDA nodes live :)

~20h ago

synth: @evvvvil Hell yeah! Couldn't get Vux drunk but your going to get it :D

~21h ago

evvvvil: @synth: hopefully I should be going to GEM FEST soon, not confirmed yet, but if so, beer is on you why not ;) (and me ok)

~22h ago

synth: BTW any vvvv guy coming to Georgia for GEM Festival shout out I am here for the entire thing alone. Some beer on me ;)

~22h ago

synth: @dominikKoller perfect! Count me in :)

~1d ago

dominikKoller: @synth I am! It's going to be donation/ based (or sponsored by someone) though :)

~1d ago

dominikKoller: @joreg I found it, my FF has flash disabled (by default), and those are old embeds that still use flash.