-
... function for SCPen draw{ // Draw the fill SCPen.fillColor = Color.grey; Pen.addRect(Rect(0,0, this.bounds.width*value,this.bounds.height)); Pen.fill; // Draw the triangle SCPen.fillColor = Color.red; Pen.moveTo(((this.bounds.width*value)-5 ...
-
... ,{ var p; p = Patch ( instr ); Sheet ({ arg f; var esp,tf; tf = SCTextField (f, Rect (0,0,500,350)); tf.string = instr.func.def.sourceCode; p.gui(f.startRow); ActionButton (f.startRow, "PLAY Pbind" ,{ if(esp.isPlaying,{ esp.stop }); esp = P ...
-
... downward; 2. If a boundary is encountered or if two agents collide, reverse direction; 3. If two agents attempt to occupy the same cell, each agent should rotate 90 degrees to its left and continue moving Sound is generated whenever a ...
-
... used within CVWidgetMSEditor only and there shouldn't be any need to call new directly. Arguments: parent a View that takes the GUI-elements bounds a Rect or a Point , determining position and size. widget the widget: a CVWidgetKnob , a CVW ...
-
... at(i, \poisson)}); z.plot(discrete: true); z.histo.plot(discrete: true, bounds: Rect(0,0,400,300), name: "histogram"); a = Tendency.new(6); z = 500.collect({arg i; a.at(i, \poisson)}); z.plot(discrete: true); z.histo.plot(discrete: true, bo ...
-
... , speeds= {|i| i+1/1000}.dup(n); var points; //--world w= RedWindow("3Dpoints", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.01]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.01); //--objects {|i| var loc= RedVe ...
-
... , speeds= {|i| i+1/1000}.dup(n); var points; //--world w= RedWindow("3Dpoints", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.01]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.01); //--objects {|i| var loc= RedVe ...
-
... = {|i| i+1/1000}.dup(n); var hypercubes; //--world w= RedWindow("3Dhypercubes", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.01]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.01); //--objects {|i| var loc= RedVe ...
-
... ETab Extension A tab for use with MiniIDE. This class is not meant to be used directly and should always be subclassed. Location: NOT INSTALLED! See also: MiniIDE Description This is a tab for use with MiniIDE. This class is not meant to be ...
-
... = {|i| i+1/1000}.dup(n); var hypercubes; //--world w= RedWindow("3Dhypercubes", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.01]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.01); //--objects {|i| var loc= RedVe ...