-
... ; w.onClose = { #[aa,bb,cc,dd,ee].do{ |k| Ndef(k).end(3) }; }; u = UserView(w, w.view.bounds); u.background = Color.white; u.animate = true; u.clearOnRefresh = false; u.drawFunc = { var width = u.bounds.width; // Pen.f ...
-
... is that you can integrate this little module inside your own GUI, by passing a view as display argument to the slider, instead of the window (see line 59 - 60). Also, you can easily create new modules by following those steps : - Change ...
-
... =Window("Confetti3", Rect(400, 300, z*(maxWidth+2), z*(maxHeight+2))).front; w.view.background_(Color.white); w.front; w.drawFunc = { for (1, maxHeight, {arg v; for (1, maxWidth, {arg h; if (newValues[h,v]==1, {Pen.f ...
-
... =Window("Confetti3", Rect(400, 300, z*(maxWidth+2), z*(maxHeight+2))).front; w.view.background_(Color.white); w.front; w.drawFunc = { for (1, maxHeight, {arg v; for (1, maxWidth, {arg h; if (newValues[h,v]==0, {Pen.f ...
-
... =Window("Confetti3", Rect(400, 300, z*(maxWidth+2), z*(maxHeight+2))).front; w.view.background_(Color.white); w.front; w.drawFunc = { for (1, maxHeight, {arg v; for (1, maxWidth, {arg h; if (newValues[h,v]==0, {Pen.f ...
-
... 0; w=Window("Confetti2", 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, ...
-
... ; /*(adjust horizontal slider on scope window as needed to stabilize waveform view) */ //change frequency ~synths.do(_.set(\freq, 50)); //the two Synths can be changed independently ( ~synths[0].set(\freq, 60); ~synths[1].set ...
-
... t(0,0)); }, '/viz'); w = Window(bounds: Rect(0, 0, 1920, 780)); v = UserView(w, w.view.bounds); v.background_(Color.white); v.animate_(true); v.drawFunc_({ var startPoint = Point(~allPoints[0].x,~allPoints[0].y); Pen.mov ...
-
... ackground = Color.grey(0.1, 0.9); win.onClose = { player.stop }; // Sub view to group all sliders subwin = CompositeView.new(win, Rect(20, 220, 560, 325)) // .background_(Color.red(0.4)) ; subwin.decorator = FlowLayout(subwi ...
-
... y tracker, a probabilist tracker or a combination of these two inside the given view. The tracker is tied to an array referencing the probabilities for a given beat to have the note played. See internal documentation for more details and us ...