-
SFPlayer { var <path, <outbus, <server, <autoShowOpenDialog, <>autoBootServer, <>autoSetSampleRate, <>autoSetOutputChannels; var <buffer, <sf, cond, <curSynth, <synthName; var clock, <skin; var <cues, offset, lastStart; var <amp, <isPlaying ...
-
... subArray| subArray.do({ |item| if(item.includesKey(\svg)) { item[\img] = Image.openSVG(item[\svg]); item[\svgSize] = Point( item[\img].width, item[\img].height ); }; }); }); thisStates = anArray; thisCurrentState = [0, 0]; this.prResizeSVGs ...
-
... nder img.setPixel(Image.colorToPixel(Color.grey(func+1)), i, j); }; x= x+dx; }; Pen.drawImage(Point(0, 0), img); }; img.interpolation= \fast; w.play; CmdPeriod.doOnce({img.free; w.close}); )
-
... ); }; }); anArray.do({ |item| if(item.includesKey(\svg)) { item[\img] = Image.openSVG(item[\svg]); item[\svgSize] = Point( item[\img].width, item[\img].height ); }; }); thisStates = anArray; thisCurrentState = 0; thisGridOrga = this.prGetG ...
-
... tNil ) { varName.asString ++ ".drawHook = {\n" ++ this.drawHook.asGUICode( "GUI.pen", 1, this ) ++ "\t};\n" } { "" }; } { if( this.drawFunc.notNil ) { varName.asString ++ ".drawHook = {\n" ++ this.drawFunc.asGUICode( "GUI.pen", 1, this ) ++ ...
-
... ndow.new("- bufferplayer -", windowSize, resizable:false); win.drawHook = { GUI.pen.color = Color.new255(255, 100, 0); GUI.pen.width = 3; GUI.pen.translate(48,48); GUI.pen.scale(0.4,0.4); GUI.pen.moveTo(1@7); p.do({arg point; GUI.pen.lineTo ...
-
... der img.setPixel(Image.colorToPixel(Color.hsv(func+1/2, 1, 0.75)), i, j); }; }; Pen.drawImage(Rect(0, 0, width, height), img); }; img.interpolation= \smooth; w.play; CmdPeriod.doOnce({img.free; w.close}); )
-
... background = Color.red; uv.animate = true; uv.drawFunc = { |uv| var timerColor; Pen.stringLeftJustIn( " " ++ pilot ++ "\n " ++ copilot ++ "\n " ++ nextCopilot, uv.bounds, Font("Futura", 18), Color.black ); (remainTime < 20).if { (remainTime ...
-
RoundButton part of wslib a Pen -based replacement for SCButton , with extra styling options. RoundButton works the same way as SCButton. But, as the name states, it is rounded. ( w = Window ( "RoundButton" ).front; w.addFlowLayout; b = Rou ...
-
... } */ drawFunc { if(filtertype != \empty, { pointlists.do({arg pointlist, index; Pen.moveTo(pointlist[0]+Point(241,0)); if(selectedmorpher, { Pen.strokeColor = colorsarray[index+1]; }, { Pen.strokeColor = colorsarray[index+1].copy.alpha_(0.3 ...