-
... nd(12, 72)); d.w = Window("text").front.alwaysOnTop_(true); d.u = UserView(d.w, Rect(0,0,400,400)); d.u.resize = 5; d.w.background_(Color.clear); d.u.addHalo(\ev, ()); d.u.drawFunc = { |u| var ev = u.getHalo(\ev); var scaleFactor = min(u.bo ...
-
... " ixi quarks"; point = XiiWindowLocation.new(name); win = GUI.window.new(name, Rect(point.x, point.y, 275, 224), resizable:false); comingFromFieldFlag = false; settingName = "preset_0"; quarks = [ ["AudioIn", "Recorder", "Player", "BufferP ...
-
... width= 640, height= 480, w, theta= 0, speed= 0.01, line; w= RedWindow("3Dline", Rect(128, 64, width, height)).front; line= Red3DLine(length: 1.75); //--loop w.draw{ theta= theta+speed; line.rotation= RedVector3D[theta, theta*3, theta*2]; li ...
-
... wBottom = 58; // make room for the taskbar }; w = Window(name ? "ULib servers", Rect(10, windowBottom, width, 24 + ULib.servers.collect({ |item| if( item.isKindOf( LoadBalancer ) ) { item.uViewHeight + 22 } { 22 }; }).sum + 26 + if( UMenuBa ...
-
... ; } } init{|synthdef| h = 2; v = 7; lowest = 36; GUI.qt; win = Window(synthdef, Rect(128, 320, 300, 120)); win.layout = VLayout.new; keys = ["1234567890", "QWERTYUIOP", "ASDFGHJKL�", "ZXCVBNM,.-"]; notes = Array.fill(4,{|i| Array.series(10, ...
-
... ChordPitch= 24; //range in semitones +/- var maxEntryDelay= 1; //seconds var winRect= Rect(242, 242, 1150, 750); //x, y, w, h var palette= SGUI.palette((highlight: Color.green(2/3, 0.5))); var fnt= SGUI.font.copy.size_(10); var fps= 25; var ...
-
... et) .gui(parent) .start } init { |argBounds, argOffset| bounds = argBounds ?? { Rect(0,0,410,410) }; numChannels = locations.size; proxy = proxy ?? { NodeProxy.control(server, this.numChannels) }; group !? { proxy.parentGroup_(group) }; pro ...
-
//spinning plane / rectangle ( var width= 640, height= 480, w, theta= 0, speed= 0.01, plane; w= RedWindow("3Dplane", Rect(128, 64, width, height)).front; plane= Red3DPlane(width: 0.5, height: 0.8); //--loop w.draw{ theta= theta+speed; plane ...
-
... fxZone.isNil or: { NTMI.g.main.fxZone.isClosed }) { var w = Window("mainFXBut", Rect(0, 0, 394.0, 79.0)).front; NTMI.g.main.fxZone = w.view; }; NTMI.g.main.mfxBut = Button( NTMI.g.main.fxZone, NTMI.g.main.fxZone.bounds.extent ).states_([ [" ...
-
... , ploc, angularAccel1, angularAccel2; //--world w= RedWindow("double pendulum", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 0.75, 0.01); //dim,grav,maxvel,damp //--obj ...