-
... 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 ...
-
... 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 ...
-
... g.new, RedEfxDist.new, RedEfxTank.new, RedEfxGuit.new]; var win= Window("test", Rect(100, 200, 300, 400)); win.front; win.layout= VLayout(); Pbind(\degree, 0).play; efx.do{|x| RedEffectModuleGUI(x, win); }; CmdPeriod.doOnce({win.close}); ) ...
-
... 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. ...
-
... aqam Nawa Athar", "Maqam Bayati" ]; var view = Window.new( "Scale Listener", Rect.new( 0, 0, 1500, 700 ) ); var subview = UserView.new( view, Rect( 0, 0, view.bounds.width, view.bounds.height * 0.2 * all_groups.size ) ); var slider = ...
-
... 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 ...
-
... . background . background = color . randomize Examples ( w = Window("Slider2D", Rect(100, 100, 140, 140)); t = Slider2D(w, Rect(20, 20, 80, 80)) .x_(0.5) // initial location of x .y_(1) // initial location of y .action_({ |sl| [\sliderX, sl ...
-
... 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= ...