-
... ht= 300, w, wgrav, world, n= 18, ploc; //--world w= RedWindow("pendulum test3", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.01); //dim,grav,maxvel,damp //--objec ...
-
... 300, height= 300, w, wgrav, world, n= 10; //--world w= RedWindow("boids test3", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 10, 0.1); //dim,grav,maxvel,damp world= Red ...
-
... 300, height= 300, w, wgrav, world, n= 18; //--world w= RedWindow("bounce test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[-0.1, 0.38]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.92); //dim,grav,maxvel,damp //--o ...
-
... UI.skin; height = skin.buttonHeight; if(model.isLocal,{ booter = Button(layout, Rect(0,0, 47, height)); booter.states = [["Boot", skin.fontColor, skin.background], ["Quit", skin.fontColor, skin.background]]; //booter.font = GUI.font.new("He ...
-
... I.skin; height = skin.buttonHeight; if(model.isLocal, { booter = Button(layout, Rect(0, 0, 47, height)); booter.states = [["Boot", skin.fontColor, skin.background], ["Quit", skin.fontColor, skin.background]]; //booter.font = GUI.font.new("H ...
-
... Up { w = Window.new; } tearDown { if(w.notNil,{ w.close }) } prDoSizeTest { arg rect; var g; Environment.use({ (Quarks.local.path +/+ Quark.find("ServerTools").path +/+ "scripts" +/+ "guiDebugger.scd").loadPath; g = NumberEditor.new.gui(w,r ...
-
... view.flow({|w| // we need an inner flow view for the CollapseButton to work correctly button=CollapseButton(w, buttonBounds).offset_(offset).eq_(buttonEq).scale_(buttonScale).minHeight_(minHeight); func.value(w); },bounds); view.resizeToFi ...
-
... FSSpeaker.dist( this ) // the absolute distance per speaker * aWFSSpeaker.distDirection( this ); // when this is in front of speaker, distance will be negative } isNextTo { |aWFSSpeaker, round = 0| // or on top of var angleOffset; if( aWFSS ...
-
... ng to server } initialize { view = view ?? { window = SCWindow.new("PowerMate", Rect(1000,0, 440, 370)).front; window.onClose({notInitialized = true}); view = Knob.new(window, Rect(10,10,420, 350)).resize_(5); }; view.background = Color.whi ...
-
... f, parent, bounds| if ( parent.isNil ){ w = Window.new("MiniBee Configuration", Rect( 0, 0, 430, 350 )); top = CompositeView.new( w, Rect( 0,0, 430, 90 )); top.addFlowLayout(2@2,2@2); }{ w = CompositeView.new( parent, bounds ); top = Compos ...