-
... owView; o = SSObject(w,name:\O); // don't do nothing since it's static ⧉ ✔ --> \rect Rectilinear motion. It takes as argument an Array with the initial velocity in each axis. Physical model actions can still interact with the object. With r ...
-
... instNames, btns, showInst, tuningNode, skippy, comp; w = Window("Scale Graph", Rect(100, 0, 1300, 800)).front; w.view.background_(Color.black); instNames = VGTuning.mulTrees[scale].branches.keys.asArray.sort; comp = CompositeView(w, Rect(0 ...
-
... e also: Color , HiliteGradient Creation / Class Methods *new (color1, color2, direction, steps) color1 - An instance of Color. color2 - An instance of Color. direction - \h or \v for horizontal and vertical respectively. Default value is \h ...
-
... (out, Pan2.ar(z*e, pan)); }).add; s.sync; //--world w= RedWindow("bounce test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[-0.1, 0.98]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.1); //dim,grav,maxvel,damp //worl ...
-
... , 200]) w.background= Color.red w.draw{Pen.fillColor= Color.black; Pen.fillOval(Rect.aboutPoint(175.rand@175.rand, 50, 50))} w.play //start drawing w.stop ( //mouse control w.draw{ var radius= 100.rand; Pen.fillColor= Color.blue(0.5, radius ...
-
... trib is linear dt: 0.5 // every half second ); // the autorand: a.makeButton(w, Rect (0,0,20,20)); ) Accessing Instance and Class Variables ctl the control to be randomly animated tpx the taskproxy doing the random jumps spec the controlspe ...
-
... (out, Pan2.ar(z*e, pan)); }).add; s.sync; //--world w= RedWindow("bounce test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[-0.1, 0.98]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.1); //dim,grav,maxvel,damp //worl ...
-
... see <http://www.gnu.org/licenses/>. */ /* View that shows events of a score as rectangles with rounded corners. */ UScoreView { classvar <spaceBarPlayAnyway = false; classvar <>showGrid = true; classvar <>showUChainNames = true; classvar < ...
-
... ference in responsiveness ( var sl, uv, j = 0, speedlim; w = Window("SpeedLim", Rect.aboutPoint(Window.screenBounds.center, 200, 200) ).front; w.layout = VLayout( sl = Slider().orientation_(\horizontal).maxHeight_(30), uv = UserView().backg ...
-
... e maxTotal= 1000; //also decides when to stop //--world w= RedWindow("growth2", Rect(128, 64, width, height)).front; w.background= Color.white; wgrav= RedVector2D[0.1, 0]; //world xy gravity world= RedWorld(RedVector2D[width, height], wgrav ...