-
... .com/physics/ ( var width= 400, height= 400; var win= Window("Simple Pendulum", Rect(100, 100, width, height), false); var usr= UserView(win, Rect(0, 0, width, height)); var physics, p, anchor, s; usr.background= Color.white; physics= Traer ...
-
... .com/physics/ ( var width= 400, height= 400; var win= Window("Simple Pendulum", Rect(100, 100, width, height), false); var usr= UserView(win, Rect(0, 0, width, height)); var physics, p, anchor, s; usr.background= Color.white; physics= Traer ...
-
... r, MixerLevelNumber, MixerPostsendWidget, MixerNameWidget, MixerOutbusWidget], [Rect(0, 0, 20, 20), Rect(30, 0, 20, 20), Rect(0, 25, 50, 30), Rect(0, 65, 50, 15), Rect(10, 85, 30, 100), Rect(0, 190, 50, 15), Rect(0, 210, 50, 30), Rect(0, 24 ...
-
... isNil, {XiiWindowLocation.new(name)}, {setting[1]}); win = GUI.window.new(name, Rect(point.x, point.y, 400, 328)); win.view.decorator = FlowLayout(Rect(6, 0, 400, 328)); win.front; ^super.new.initWaveScope(server, numChannels, setting, win: ...
-
... bounds.top+1), Point(playhead, bounds.bottom) ); } updateLabel { label.bounds = Rect(canvasBounds.left+2, bounds.bottom-10, 100, 15) ;//bounds + Rect(canvasBounds.left+12, label.bounds.height+20, 0,0) ; } draw { Pen.color = color; Pen.fillR ...
-
... elOffset=5,>radius=\auto,>knobInset=3,>label,>label2,labelColor,>offColor,<>drawRect, >onColor,>borderColor,<>drawFunc,toggleRect,>border = 2; *initClass{ defaultOnColor=Color.green(0.6); defaultOffColor=Color.grey.alpha_(0.6); } *new { arg ...
-
... wgrav, world, n= 60, s= 1.25, f= 0.25; //--world w= RedWindow("multi 3d test", Rect(128, 64, width, height)).front; wgrav= RedVector3D[0.1, 0.1, 0.1]; world= RedWorld3(RedVector3D[width, height, depth], wgrav, 20, 0.01); //dim,grav,maxvel, ...
-
... wgrav, world, n= 60, s= 1.25, f= 0.25; //--world w= RedWindow("multi 3d test", Rect(128, 64, width, height)).front; wgrav= RedVector3D[0.1, 0.1, 0.1]; world= RedWorld3(RedVector3D[width, height, depth], wgrav, 20, 0.01); //dim,grav,maxvel, ...
-
... amp = 1; TempoClock.default.tempo = 128/60; w = Window.new("buttontest",Rect(100,100,450,350)); w.view.background = Color(0.8,0.0,01); u = UserView(w, Rect(300, 200,100, 100)); u.background = Color.black; u.animate = true; pt ...
-
... r, MixerLevelNumber, MixerPostsendWidget, MixerNameWidget, MixerOutbusWidget], [Rect(0, 0, 20, 20), Rect(30, 0, 20, 20), Rect(0, 25, 50, 30), Rect(0, 65, 50, 15), Rect(10, 85, 30, 100), Rect(0, 190, 50, 15), Rect(0, 210, 50, 30), Rect(0, 24 ...