-
... ynth(\imp2)}.dup(n); //--loop w.draw{ //--render Pen.smoothing= true; Pen.strokeColor= Color.white; sprs.do{|spr| spr.update; //--render springs Pen.moveTo(spr.object.loc.asPoint); Pen.lineTo(spr.target.loc.asPoint); }; Pen.stroke; Pen.fill ...
-
... ynth(\imp2)}.dup(n); //--loop w.draw{ //--render Pen.smoothing= true; Pen.strokeColor= Color.white; sprs.do{|spr| spr.update; //--render springs Pen.moveTo(spr.object.loc.asPoint); Pen.lineTo(spr.target.loc.asPoint); }; Pen.stroke; Pen.fill ...
-
... ndex Actions focus remove onRemove onChangeParent onAfterChangeParent Customize Colors labelColor unfocusedColor stringColor stringFocusedColor background Customize Appearance useDetachIcon tabWidth userDrawFunction Customize Behavior right ...
-
... sic use ( w = Window.new; t = TabletView(w,Rect(40,40,300,300)); t.background = Color.white; w.acceptsMouseOver = true; w.front; f = { arg what, x, y, pressure, tiltx, tilty, deviceID, buttonNumber, clickCount, absoluteZ, rotation, absolute ...
-
... MSliderView(); class = class.asString(); newInstance.numberBoxView .background_(Color.white.alpha_(0.5)) .maxWidth_(60).minWidth_(60); ^newInstance; } }
-
... eView(f, 70@80).layout_( VLayout( solo = Button() .states_([ ["Solo"], ["Solo", Color.black, Color.hsv(0.02, 0.7, 1)] ]) .mouseDownAction_({ model.tracks[i].solo = model.tracks[i].solo.not; model.midi.sync_leds(); }), nil, mute = Button() . ...
-
... n(o); //keep within world borders //--render if(o.state.event.notNil, { Pen.fillColor= Color.blue(0.7, 0.5); }, { if(o.state.target.notNil, { Pen.fillColor= Color.yellow; }, { Pen.fillColor= Color.grey(0.7, 0.5); }); }); Pen.fillOval(Rect.a ...
-
... n(o); //keep within world borders //--render if(o.state.event.notNil, { Pen.fillColor= Color.blue(0.7, 0.5); }, { if(o.state.target.notNil, { Pen.fillColor= Color.yellow; }, { Pen.fillColor= Color.grey(0.7, 0.5); }); }); Pen.fillOval(Rect.a ...
-
... the grid GUI.pen.width = 0.5; it.do({ arg i; if(i == it.div(2), { GUI.pen.strokeColor = Color.red }, { GUI.pen.strokeColor = Color.gray(0.2) }); GUI.pen.line(((dimW/it)*i)@0, ((dimW/it)*i)@dimH); GUI.pen.stroke }); it.do({ arg i; if(i == it ...
-
... Synth(\imp)}.dup(n); //--loop w.draw{ //--render Pen.smoothing= true; Pen.strokeColor= Color.white; sprs.do{|spr| spr.update; //--render springs Pen.moveTo(spr.object.loc.asPoint); Pen.quadCurveTo(spr.target.loc.asPoint, w.mouse.asPoint); P ...