-
... Rect(20,180,26,384)).background_(Color.clear); inputVertAxis.drawFunc_({ Pen.width_(5); Pen.strokeColor_(Color.new(0,0.75,1,0.5)); Pen.addArc( Point( 13, input[inc].linlin(-1.02,1.02,384,0) ), 10, 0, 2pi ...
-
... esh_(true); wt0view.drawFunc = {nil}; wt0view.refresh; wt0view.drawFunc_({ Pen.strokeColor_(Color.gray(0.2)); Pen.width_(2); Pen.line(192@0, 192@384); Pen.line(0@192,384@192); Pen.stroke; Pen.strokeColor_(Color.gray(0.35)); ...
-
... )); synth = {arg freq=110; SinOsc.ar(freq!2)}.play; slider.drawFunc = { Pen.width = stroke_size; Pen.strokeColor = Color.white; Pen.fillColor = Color.black; Pen.addRect(Rect(0,0, slider.bounds.width,slider.bounds.height)); ...
-
... - ( margin * 2 ), window_size[1] - ( margin * 2 ) )); slider.drawFunc = { Pen.width = stroke_size; Pen.addRect( Rect(0,0, slider.bounds.width,slider.bounds.height) ); Pen.fillAxialGradient( slider.bounds.leftBottom, slider.bounds. ...
-
... //uncomment framerate display in the two lines below to gain some speed Pen.color= Color.white; Pen.stringAtPoint(""++u.frameRate, Point(10, 10)); //-- b.getn(0, b.numFrames-1, {|data| arr= data}); if(cnt==0, ...
-
... nc = { | view | var case_height = view.bounds.height / parameters.size; Pen.fillColor_( colors[ selected_view ] ); Pen.fillRect( Rect( case_height * 0.2, case_height * selected_view + ( case_height * 0.2 ), view.bou ...
-
Messing around with pen, trying not to use randomness. Turned out like a 90's screen saver. w = Window("screensaver", Window.screenBounds).front.fullScreen; w.view.keyDownAction = { w.close }; u = UserView(w, w.view.bounds); u.background ...
-
... var center, newcenter, x, y; //dividing line between circles/waveform Pen.width_(2); Pen.strokeColor_(Color.gray(0.5)); Pen.line(600@0, 600@520); Pen.stroke; //draw circles Pen.capStyle_(1); Pen.width_(2); i ...
-
... = { run = false }; // stop the thread on close w.front; w.drawFunc = { Pen.width = 2; Pen.use { var time = TempoClock.default.beats - starttime; var x1, y1; // coordinates of rotating point 1 var r1 = 100; // radius ...
-
... r.black) .background_(Color.gray(0.725)); w.drawHook = { |v| Pen.fillColor = Color.gray(0.75); Pen.strokeColor = Color.black; Pen.width = 3; Pen.addArc(700@125, 35, 0, 2pi); Pen.fillStroke; }; w.refr ...