-
... win, scr, currentColor = Color.gray, setColor; win = Window.new("color picker",Rect(400, 400, 2*scrsize+20, scrsize),false).front; //win.view.background_(Color.white); scr = UserView.new(win,Rect(scrsize+20, 0, scrsize, scrsize)); s ...
-
... oat.rand] ) }); lifetime.yield; }; }.play(); win = Window("GrainOTec", Rect( 5, 5, 305, 300 ), false ); win.background_(Color.black); win.front; // Volume Slider volume_slider = UserView( win, Rect( 5, 5, 45, 190 )); volume_ ...
-
... er of rows pa; // panel view if( bounds.isNil ){ bounds = Rect(0,0,400,he*(tr)); }{ he = bounds / (tr); }; wi = bounds.width; if( parent.isNil ){ parent = Window("Pad Generator",bounds ...
-
... 'trigVal', [trig]); }).add; w = Window.new("amplitude threshold tester", Rect(600, 250, 950, 220)).front; w.view.background_(Color.gray(0.75)); w.onClose_({s.freeAll}); ~numberBox = NumberBox.new(w, Rect(180, 25, 450, 120)) ...
-
... w your button. Should return a window or a view for other functions to work correctly. launcherBounds: The bounds for the launcher window showPositionButton: true/false - display position button. This is used for setting up the posi ...
-
... y(1), Color.gray(0.6), Color.gray(0.8), ]; q.win = Window.new("FM Matrix", Rect(100, 100, (q.numOscs+5) * colWidth, 800)).front; q.win.addFlowLayout; /////////// INDEXES StaticText(q.win, Rect(10, 10, q.numOscs * (colWidth + 5) + ...
-
... minorRadius= 0.667; var majorRadius= 1; w = Window("spinning doughnut", Rect(128, 64, width, height), false) .front; u = Canvas3D(w, Rect(0, 0, width, height)); u.add(Canvas3DItem() .paths_( Array.fill(segments+1, {|i| ...
-
... ow.screenBounds; h = bnds.height; w = bnds.width; win = Window("control", Rect(0, 0, w, h)).fullScreen; win.onClose_{ snd.free }; iW = w/srcs.size; oW = w/snds.size; StaticText(win, Rect(10, 10, 500, 30)) .align_(\topLeft ...
-
yo dawg, I herd you like SC Code WebView(Window("sccode",Rect(0,0,800,600)).front,Rect(0,0,800,600)).url_("http://sccode.org/1-4Qt")
-
... }; // Main Window Window.closeAll; win = Window("Formant Synthesis", Rect(150, 150, 500, 480)).front; win.onClose = {"done".postln}; // win.background = Color.gray(0.87, 0.95); win.background = Color.new255(193, 98, 90, 235 ...