-
... tring++": "++score.name, Color.black, Color.clear]]) .font_( font ) .border_(1).background_(Color.grey(0.8)) .radius_(5) .canFocus_(false) .action_({ this.goToHigherScore(i); }) }; SmoothButton(scoreListView,16@16) .states_([[\up, Color.bla ...
-
... rform(\name) ? "log").asString); d.bounds_(bounds ? Rect(10, 400, 600, 500)); d.background_(color ? Color.new255(180, 160, 180)); d.string_("//" + Date.getDate.asString ++ "\n\n\n"); this.action = { arg disp, str, key, nickname; defer { d.s ...
-
... ose = {s.freeAll; "NanoKontrol2 GUI window closed.".postln; "".postln}; // win.background = Color.gray(0.9); //win.alpha = 0.9; //FreqScope.new; title = StaticText.new(win, Rect(45, 50, 250, 20)); title.align = \left; title.font = F ...
-
... n = Window.new("Granular Sampling", Rect(50, 50, 600, 580), false).front; win.background = Color.grey(0.1, 0.9); win.onClose = {s.freeAll}; // Sound File View soundFileView = SoundFileView.new(win, Rect(30, 20, 540, 200)) // .so ...
-
... ow("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.fillCo ...
-
... ndow, Rect(wMod*(index)+xOff+hOff, mrg+vOff, step, h )) .value_(item[1].minval).background_(Color.grey) .font_(Font(Font.defaultSansFace, fSize)), NumberBox.new( window, Rect( wMod*(index)+xOff+hOff, hMod+vOff, step, h)) .value_(item[1].max ...
-
... (bnds.width * 0.5) @ (bnds.height - size), size2, size); ).front; q.inph.ioWin.background_(Color.grey(0.8)); q.inph.ioWin.alpha_(NTMI.g.alpha); infComp = CompositeView(w, (size2@size2) .asRect); // infComp.bounds.postln; infComp.resize_(4) ...
-
... appearence \plotColor, [ colors[0], Color.new255(205, 92, 92) ], //plot colors \backgroundColor, Color.white, //background color \gridColorX, Color.grey, //gridX color //\gridColorY, Color.yellow, //gridY color \gridOnX, true, //horizontal ...
-
... esToNode, makeEdgeBetween; var frameTimes= List.new(50); frameTimes.add(0); usr.background= Color.white; physics= TraerParticleSystem(gy: 0, drag:0.1); // Runge-Kutta, the default integrator is stable and snappy, // but slows down quickly a ...
-
... esToNode, makeEdgeBetween; var frameTimes= List.new(50); frameTimes.add(0); usr.background= Color.white; physics= TraerParticleSystem(gy: 0, drag:0.1); // Runge-Kutta, the default integrator is stable and snappy, // but slows down quickly a ...