ncase / loopy

A tool for thinking in systems
http://ncase.me/loopy/
Creative Commons Zero v1.0 Universal
1.62k stars 212 forks source link

functionnal groups #35

Open 1000i100 opened 4 years ago

1000i100 commented 4 years ago

why not an option to make functionnal group : like visual group but with a switch to activate functionnal logic : in a functional group, some nodes are named input, output or anything else. if there is more than 1 input node, it should have different colors. only one node should be named output. it could be some wiring logic between input nodes, commons nodes and output nodes of the functionnal group, and with outside nodes also. the name of the functionnal group can be used in other nodes like a prefix.

Nodes prefixed with the name of the functionnal group will act like if there was the group (with near instant internal transmissions). colored signal will be handled by the same color input (or the only input if only one input it created).

When running the functionnal group, all inside group nodes will perform as instance specific node, and linked outside nodes will act like globals.

functionnal group can be displayed in play and edit mode or can be hided in play mode for lisibility.

1000i100 commented 4 years ago

what about a switch to choose if the group preserve internal timing or to do internal stuff in an instant.