-
... CWindow("WFSPathArray", Rect(128, 64, 400, 400)).front; window.view.background_(Color.black ); */ window = WFSPlotSmooth( "WFSPathArray", toFront: toFront, removeButtons: false ); window.onClose_({ if( routine.notNil ) { routine.stop } }); ...
-
... thod One of: [\fillRect, \fillOval, \lineTo] . background Get or set background-color Inherited instance methods Examples ( // three dimensional dataset d = ({1.0.rand}!9000).clump(3); w = Window.new("ScatterView Example"); v = ScatterView2 ...
-
... ton(w, Rect(20, 20, 340, 30)) .states_([ ["Load a Sound File into a Buffer", Color.white, Color.black] ]) .action_({ s.waitForBoot{ if(y!=nil, {y.free; y=nil}); b= Buffer.loadDialog(s, action:{ b.loadToFloatArray( ...
-
... es s.boot; // as the SpectrogramWindow inherits from Spectrogram, we can change colors a = SpectrogramWindow.new; {LPF.ar(WhiteNoise.ar(1), LFNoise1.kr(1).range(20,12250))}.play; a.start; a.color_(Color.red); a.background_(Color.white); a.c ...
-
... 00), scroll:true ).front; window.view.hasHorizontalScroller_(false).background_(Color.grey(0.9)); onClose = this.plotTreeView(interval, window.view, { defer {window.close}; }, tabSize); window.onClose = { onClose.value; }; } plotTreeView {| ...
-
... ns don't work. \ a.postPairs;\ \ (\ var drawing;\ var format = [340, 360];\ var colors = [ Color .black, Color .gray];\ var penWidth = 1;\ \ #e, f = [a, b].collect();\ \ \ \ // based on example of SCUserView \ drawing = \ | collective, i | ...
-
... oseAll; "Ring Modulation window closed.".postln; "".postln}; win.background = Color.yellow(0.8); win.alpha = 0.9; FreqScope.new; win.front; // Carrier Frequency Knob carrSpec = ControlSpec(20, 20000, 'exp', 0, 440, " Hz"); c ...
-
... rCollider objects Kernel Language Object SuperCollider Object sampler SCImage __color Color float Number vec2, vec3, vec4 Array __table SCImage (basically the __table modifier just use Images as a data providers - LUT) Class Methods . new c ...
-
... onfetti2", Rect(400, 300, z*~maxIndex, z*~maxIndex)).front; w.view.background_(Color.white); w.front; //function for drawing array on screen t={ w.drawHook = { for(0, ~maxIndex-1, { arg v; for(0, ~maxIndex-1, {arg h; r = ...
-
... |v,i| ((v.x*~vecs2[i].y)-(v.y*~vecs2[i].x)).isPositive }.asSet.size < 2) { Pen.color = Color.blue; } { Pen.color = Color.red; }; p.do({ |pt| Pen.addArc( pt.asPoint * (1 @ -1), 0.1/2, 0, 2pi ).fill; }); }; w.scale = 1; w.mouseDownAction = { ...