RouteNumber Example

 2
               
by
Team cables

Published Feb 21, 2018 at 11:09
Open In Editor


The SimpleAnim op outputs a steady signal (in this case between 0 and 1).
We connect this to the Value port of the RouteNumber op, this is our signal we want to route to one of the three shapes.

The Index port of the ValueRouter op is connected to the Incrementor op, so it is either 0, 1 or 2, depending how often we clicked.

Click anywhere in the patch area and press the fkey to enable Flow Mode. Now click back in the canvas (a few times) and you should see how the flow of value coming out of SimpleAnim changes depending on how often we clicked – it goes to either the Rectangle, the Circle, or the Triangleop.


Example for ops:
Ops.Number.RouteNumber 

Licence: Public Domain Dedication

Commercial use ok, freely remix, reuse this work without restriction, please credit the author.
 



More patches made by cables users





what is cables?


Cables is a tool for creating beautiful interactive content. With an easy to navigate interface and real time visuals, it allows for rapid prototyping and fast adjustments.

cables is free to use!

Register