Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (764) Code (64) Doc (175) Help (16) Quark (509) SCDoc ↗ Forum ↗ Google ↗
  1. SFPlayer Quark

    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 ...

  2. GMLinesButton Quark

    ... 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 ...

  3. 081-function_plot_image Quark

    ... 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}); )

  4. GMGridButton Quark

    ... ); }; }); 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 ...

  5. SCWindow-asCode_Cocoa Quark

    ... 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 ) ++ ...

  6. XiiBufferPlayer Quark

    ... 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 ...

  7. 082-function_plot_image2 Quark

    ... 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}); )

  8. CodingDojo Quark

    ... 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 ...

  9. RoundButton Quark

    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 ...

  10. XiiMorpherFilter Quark

    ... } */ 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 ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow