-
... 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 ...
-
... height= 300, w, wgrav, world, n= 10; //--world w= RedWindow("attractor test3", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld3(RedVector2D[width, height], wgrav, 6, 0.02); //dim,grav,maxvel,damp //--objec ...
-
... 300, height= 300, w, wgrav, world, n= 50; //--world w= RedWindow("boids test2", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 15, 0.05); //dim,grav,maxvel,damp //--objec ...
-
... esDir;); } browseFromPath { arg path; var window, listView, textView; var windowRect, applyButton, cancelButton; var winWidth, winHeight, rawPath = path; winWidth = 815; winHeight = 453; path = PathName(path); windowRect = Rect( GUI.window. ...
-
... n ) .string_( " units" ) .align_( \left ) .resize_(2); io = SmoothButton( comp, Rect( comp.bounds.right - 40, 1, 40, 12 ) ) .label_( "i/o" ) .border_( 1 ) .radius_( 2 ) .action_({ UChainIOGUI( this.window.name, originalBounds, chain, replac ...
-
... n= 50, wind, cnt= 0, amp= 0.5, period= 400; //--world w= RedWindow("wind test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld3(RedVector2D[width, height], wgrav, 7, 0.01); //dim,grav,maxvel,damp //world= ...
-
... height= 300, w, wgrav, world, n= 80, sys; //--world w= RedWindow("wave test1", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.4]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.01); //dim,grav,maxvel,damp //--objec ...
-
... t= 300, w, wgrav, world, n= 5, ploc; //--world w= RedWindow("linked pendulums", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.0025); //dim,grav,maxvel,damp //--obj ...
-
... ) pop() nofill() stroke(0) strokewidth(0.25) fill(random(), random(), 0, 0.096) rect(x, y, width, height) rect(x + offset, y + offset, width, height) fill(1, random(), random()) line(x, y, x + offset, y + offset) line(x, y + offset + y + q, ...
-
... e; slider = Array.newClear(param[0].size); win = SCWindow(" fastgui: " ++ name, Rect(10 + 20.rand, 500 + 20.rand, 300, (param[0].size * 20) + 50), false); win.view.decorator = lay = FlowLayout(win.view.bounds, 5@5, 5@5); SCStaticText(win, 5 ...