-
... ; ~n= 8; //--world RedUniverse.clear; ~win= RedWindow("livecoding worlds test", Rect(128, 164, width, height)).front; ~world= RedWorld.new; //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var vel= RedVector2D[ ...
-
... es Basic Example ( w = Window.new("The Eightfold Path").front; m = PopUpMenu(w, Rect(10, 10, 180, 20)); m.items = [ "right view", "right thinking", "right mindfulness", "right speech", "right action", "right diligence", "right concentration ...
-
... 00@400; // where to put the gui window w = Window.new("CloudGenMiniBuf", Rect.fromPoints(posPoint, (posPoint + (400@410)))).front; w.view.decorator_(FlowLayout(w.bounds.copy.moveTo(0, 0))); w.view.decorator.nextLine; // a ...
-
... iew", "(\nvar width= 500, height= 500;\nvar win= Window(\"animation template\", Rect(300, 300, width, height), false);\nvar usr= UserView(win, Rect(0, 0, width, height));\nusr.background= Color.white;\nusr.clearOnRefresh= true;\nusr.animate ...
-
... .green; this.updateFiles; w = Window.new( name: "Select startup file:", bounds: Rect.aboutPoint(Window.screenBounds.center, 100, 100) ); selectButtons = this.fileNames.collect { |name| var col = if (name == currentName, onCol); Button.new(p ...
-
... ateMenuStrip( view, (bounds.width-8) @ menuH, [-4,-4,-4,0] ); }; centerBounds = Rect(0,0, bounds.width-8, bounds.height-( topBarH + tranBarH + menuH + (2*margin) + (3*gap) )); //centerView = CompositeView(view, centerBounds).resize_(5); sco ...
-
... k of synths with this dictionary //--world w= RedWindow("particlesystem test2", Rect(128, 64, width, height)).front; world= RedWorld3(RedVector2D[width, height], 0, 20, 1.25); //dim,grav,maxvel,damp //--system sys= RedParticleSystem.new; sy ...
-
... ; }).add; s.sync; //--world RedUniverse.clear; w= RedWindow("wave test synths", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.04]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.2); //dim,grav,maxvel,damp //--objec ...
-
... k of synths with this dictionary //--world w= RedWindow("particlesystem test2", Rect(128, 64, width, height)).front; world= RedWorld3(RedVector2D[width, height], 0, 20, 1.25); //dim,grav,maxvel,damp //--system sys= RedParticleSystem.new; sy ...
-
... ; }).add; s.sync; //--world RedUniverse.clear; w= RedWindow("wave test synths", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.04]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.2); //dim,grav,maxvel,damp //--objec ...