-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
should bangs be saved as IIPs? #9
Comments
I take it a bang is some kind of trigger. This need typically crops up So, yes, for me - the bang would be a process, rather than an IIP... On Wed, Sep 25, 2013 at 9:04 AM, Forrest Oliphant
|
It makes sense to me that when a user clicks a bang button in the ui that So, should the clock example kick the animation loop on load to start it? |
Love the video! Can you animate a process as a big red button?! With On Wed, Sep 25, 2013 at 2:10 PM, Forrest Oliphant
|
Certainly 😉 http://meemoo.org/iframework/#gist/6705468 |
Beautiful! I almost got it untangled! [?] On Wed, Sep 25, 2013 at 4:22 PM, Forrest Oliphant
|
@forresto correct, bangs via user input should not be stored as IIPs. |
I think the easiest way to make this work would be to add and remove the IIP when receiving a bang. This way it would still get transmitted (and executed) in the NoFlo runtime, but wouldn't end up in the stored graph. |
I tried to make a requestAnimationFrame version of the clock gist http://noflo.github.io/noflo-ui/#example/6699161
If you press start and stop in the animationFrame component IIPs are set for both. When you load the graph in the UI, currently those inputs change to text "true" instead of buttons.
If IIPs are not supposed to start anything (as I think @jpaulm was saying) then maybe we shouldn't be saving bangs as IIPs at all.
What's the equivalent of Pure Data's
loadbang
?Kick
?The text was updated successfully, but these errors were encountered: