-
... dth; o.loc[1]= o.phase.cos*o.amp/2+0.5*height; o.size= o.delta.abs*40+4; }; //--render world.objects.do{|o| Pen.fillColor= Color.grey((o.delta.abs*10+0.25).min(1), 0.8); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce ...
-
... ith MainMenu, "-" cannot be repeated without adding a unique name (which is not rendered) defaultAction a default action, in case not action is specified. globalAction a global action which is run for any item. lazyLoad default: defaultLazy ...
-
... }; o.update; //object update world.contain(o); //keep within world borders //--render if(o.isKindOf(RedRock), { Pen.fillColor= Color.blue(1, 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }, { Pen.strokeColor= Color.grey(0.7, 0.9); Pen.stro ...
-
... Bus of a cutter, and how to swap cutsynths on-the-fly CutMixer - control final rendering bus, master volume, and ampfunc and panfunc parameters of cuts CutTrig1 - trigger samples from cuts (which may come from a set of buffers) CutStream1 ...
-
... 1, //pan= x position \beat, (1-(o.loc[1]/height)*400) //freq= y position ); //--render Pen.fillColor= Color.grey(o.state[\cell]*0.85+0.15, 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); w.onClose= { ...
-
... wrapAt(i-1), world.objects.wrapAt(i+1)); }; world.objects.do{|o| o.update}; //--render Pen.width= 5; Pen.strokeColor= Color.black; Pen.fillColor= Color.white; world.objects.do{|o| var p, x, y; p= o.loc.asPoint; Pen.addOval(Rect.aboutPoint(p ...
-
... l-time use at a later time (see -play ) Arguments: starttime In NRT or CtkScore rendering mode, the starttime of an CtkGroup event. In real-time mode, this parameter is ignored (defaults to nil). duration A duration for the CtkGroup. If not ...
-
... ve setOrtho setPerspective translateX translateY skewX skewY originDist eyeDist renderDistanceSize pointDistScale refresh Internal properties userView pointsNorm pointsPx Other export Inherited instance methods Examples Classes (extension) ...
-
... mp= (width-o.loc.distance(w.mouse)/width).pow(8); synths[i].set(\amp, amp); //--render Pen.fillColor= Color.grey(amp.max(0.1), 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); w.onClose= {synths.do{|x ...
-
... d class methods Instance Methods . note Arguments: starttime In NRT or CtkScore rendering mode, the starttime of an CtkNote event. In real-time mode, this parameter will schedule the event for starttime seconds in the future. duration If no ...