-
/* FILENAME: PatternBoxParamControlItemView DESCRIPTION: Select an compose widgest. AUTHOR: Marinus Klaassen (2012, 2021Q3) a = PatternBoxParamControlItemView().front; a.bounds */ PatternBoxParamControlItemView : View { var <>bufferpool, <> ...
-
... .. args| this.subclassResponsibility(thisMethod) } *extractUGenMethod { |class, selectors| selectors.asArray.do { |selector| var res = class.findRespondingMethodFor(selector); if(res.notNil) { ^res } }; ^nil } *extractUGenArgNames { |ugen| ...
-
... paces { this.collect { |ch| if (ch.isClean) { ch } { $ }; } } // or not. { this.select(_.isClean) } } } + Document { clean { |space=true| var cleanedString; cleanedString = this.string.clean(space); if (cleanedString != this.string, { this. ...
-
... f(p.age>maxAge, { p.dead= true; dead.add(p); }); }; dead.do{|p| physics.springs.select{|s| s.a==p or:{s.b==p}}.do{|s| physics.removeSpring(s)}; physics.removeParticle(p); }; physics.tick; Pen.fillColor= Color.green(0.6, 0.3); physics.partic ...
-
... wo modes :-) *** IMPATIENT MODE - if needed, install Quarks, recompile, boot, - select all and evaluate - play - maybe read later *** DETAIL MODE - if needed, install Quarks, recompile, boot, Read sections, run code segments, do all the tes ...
-
... f(p.age>maxAge, { p.dead= true; dead.add(p); }); }; dead.do{|p| physics.springs.select{|s| s.a==p or:{s.b==p}}.do{|s| physics.removeSpring(s)}; physics.removeParticle(p); }; physics.tick; Pen.width= 0.25; physics.springs.do{|s| Pen.strokeCo ...
-
... sn't do anything, but needs to be there *postPossible { var oscmktls = MKtl.all.select(_.protocol == \osc); "\n/* OSC devices not found automagically yet. Use OSCMon: */\n" "o = OSCMon.new.enable.show;\n".postf(thisMethod); if (oscmktls.siz ...
-
... put up on the gui *instVarsForGui { ^[] } *publicInstVars { ^this.instVarNames.select({ |ivar| this.findRespondingMethodFor(ivar).notNil }) } topGui { arg ... args; ^this.guiClass.new(this).performList(\topGui,args); } smallGui { arg ... a ...
-
... put up on the gui *instVarsForGui { ^[] } *publicInstVars { ^this.instVarNames.select({ |ivar| this.findRespondingMethodFor(ivar).notNil }) } topGui { arg ... args; ^this.guiClass.new(this).performList(\topGui, args); } smallGui { arg ... ...
-
... lement| this.elements = this.elements.add( element ); } size { ^elements.size } select { |function| ^elements.select( function ) } collect { |function| ^elements.collect( function ) } inject { |thisValue, function| ^elements.inject(thisValu ...