-
... , e, b; n = "John" ; d = Document ( "chat" ).background_( Color .rand).bounds_( Rect (30, 10, 400, 200)); e = Document ( "chat-write" ).background_( Color .rand).bounds_( Rect (30, 210, 400, 50)); a = LocalClient .default.start; b = Client ...
-
... nd, margin, gap| var font = Font( Font.defaultSansFace, 11 ); bounds = bounds ? Rect(230 + 20.rand2, 230 + 20.rand2, 680, 300); window = Window(title, bounds).front; window.onClose_(onClose); window.toFrontAction_({ this.class.changed(\acti ...
-
... args; model.performList(\guiBody,args); } writeName {} } /* GUI.dragSink.new(vl,Rect(0,0,argNameWidth,15)) .stringColor_(model.specAt(i).color).background_(model.specAt(i).background) //.background_(Color( 0.47843137254902, 0.72941176470588 ...
-
... gs; model.performList(\guiBody, args); } writeName {} } /* GUI.dragSink.new(vl, Rect(0, 0, argNameWidth, 15)) .stringColor_(model.specAt(i).color).background_(model.specAt(i).background) //.background_(Color( 0.47843137254902, 0.72941176470 ...
-
... \hanning, { Signal.hanningWindow(fftSize2+2).copyToEnd(fftSize2.div(2)+1); }, \rect, { Signal.rectWindow(fftSize2+2).copyToEnd(fftSize2.div(2)+1); }, \welch, { Signal.welchWindow(fftSize2+2).copyToEnd(fftSize2.div(2)+1); }, { Signal.fftCos ...
-
... itHeading.notNil, { 360 - argInitHeading; }, { 0 }); winBounds = argWinBounds ? Rect(300, 300, 500, 500); headingStack = List[initHeading]; drawSize = 8; colorFunc = argColor ? Color.white; willDraw = false; penDown = false; speed = 200; wi ...
-
... .ar(z, pan)); }).add; s.sync; //--world w= RedWindow("springs interconnected2", Rect(128, 64, width, height), false).front; wgrav= RedVector2D[0, 0]; //world xy gravity world= RedWorld3(RedVector2D[width, height], wgrav, 999, 0); //dim,grav ...
-
... s { ^[] } forceTimes { // todo } length { ^paths.collect(_.length).maxItem; } asRect { ^if( paths.size > 0 ) { paths.collect(_.asRect).reduce(\union); } { Rect(0,0,0,0); } } name { ^"" } name_ { } type { ^\bspline } type_ { } curve { ^1 } c ...
-
... ne, tb, ve; var oneShot; var source = ~source; l = layout ?? {PageLayout("CC", Rect(0, 0, 500, 600))}; tb = ToggleButton(l, "Learn", { oneShot = CCResponder({ |port, chan, num, value| source.matchEvent = MIDIEvent(nil, port, chan, num, nil ...
-
( //--settings var prefName= "startMenuPref.json"; var winRect= Rect(1, Window.availableBounds.height, 240, 320); //x, y, w, h //--functions and objects var keyFunc; var keyLookup= (); var prefDict; var themes= SGUI.themes.keys.asArray.sort ...