-
... 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 ...
-
... desired size and position where to display a JITGui. Can be nil, a Point , or a Rect . JITGuis know their minimum size ( minSize ), and if bounds is nil, minSize is used. if bounds is a point or rect, it will be set to at least minSize. Wit ...
-
... perties plots Grid properties setGridProperties getGridProperty drawGridBoundingRect drawGridBaseLines Data display properties specs domainSpecs domain resolution Plot data value setValue findSpecs data Edit mode editMode editFunc cursorPos ...
-
... h(\pitches,[ \nr, 0, \panpos, -1+(2*i/100)] ); }); w=Window("Feigenbaum", Rect(160, 40, windowWidth, windowHeight)).front; u = UserView(w, w.view.bounds); u.background=Color.white; u.clearOnRefresh_(false); u.drawFunc={ Pen. ...
-
... Synth(\formantVoice, [\f, f, \a, a, \q, q]); w = Window("FormantTable Browser", Rect(Window.screenBounds.width/2 - 150, Window.screenBounds.height/2 - 30, 300, 60)); StaticText(w, Rect(0, 5, w.view.bounds.width, 20)) .font_(Font("Helvetica" ...
-
... 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[ ...