-
... r(z*e, pan)); }).add; s.sync; //--world w= RedWindow("particlesystem fountain", Rect(128, 64, width, height)).front; mp= w.mouse; wgrav= RedVector2D[0, 0.4]; //world xy gravity world= RedWorld1(RedVector2D[width, height], wgrav, 20, 1); //d ...
-
( ~but1 = Button(); ~but2 = Button(); ~text = StaticText(); w = Window(bounds:Rect(200,200,200,200)).layout_( HLayout( ~but1, ~but2, ~text ) ).front; //network ENdef(\x, { //inputs var but1E = ~but1.enIn; var but2E = ~but2.enIn; var counter ...
-
... gin.outBusses.size); argParentPlugin.inBusses.do ({|bus, count| inPortBlobs.add(Rect(5 + (count*10), 0, 5, 3)); }); argParentPlugin.outBusses.do ({|bus, count| outPortBlobs.add(Rect(5 + (count*10), 17, 5, 3)); }); objView = UserView ( paren ...
-
... r, func); } makeWindow {|bounds, initAngle= 0, initTranslate| var b= bounds ?? {Rect(100, 200, 700, 700)}; var win= Window(this.class.name, b, false); var usr= UserView(win, Rect(0, 0, b.width, b.height)); initTranslate= initTranslate ? Poi ...
-
... ures before building UI. SCLOrkEmoji.load; ~w = Window.new("Emoji Picker Test", Rect.new(100, 100, 250, 100), false, true); ~w.layout = VLayout.new( HLayout.new( ~showButton = Button.new, ~hideButton = Button.new ), nil ); ~picker = SCLOrkE ...
-
... ; ~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[ ...
-
... 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 ...