Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... // var thisSize, rect, endYTabs; // xtabs = xtabs + 1; // ytabs = ytabs + 1; // Pen.font = Font("Helvetica", 11); // group.do({|node| // if(node.value.isArray, { // // thisSize = countSize.value(node); // endYTabs = ytabs + thisSize + 0.2; ...

  2. LSPlant Quark

    ... Stack, offspring; var win, view, drawRoutine, <>speed, colorFunc; var willDraw, penDown; *new {|argStartPoint, argInitHeading, argAngle, argWinBounds, argColor| ^super.new.init ( argStartPoint, argInitHeading, argAngle, argWinBounds, argCol ...

  3. GUI Quark

    ... 0)) .resize_(5).background_(colorSet1[0]).gridOn_(false) .soundfile_(SoundFile.openRead(obj.string)).read(closeFile: true).refresh; ~temp = SampleDescript(obj.string, loadToBuffer: false); //*** Draw index lines *** drw = UserView(win, sfw. ...

  4. RedGIF Doc

    ... .height*scale), false); var image; win.background= Color.green; win.drawFunc= { Pen.smoothing= false; image= a.images[0]; image.data.do{|col, i| if(image.control.transparentFlag.not or:{ image.control.transparent!=image.indices[i] }, { Pen. ...

  5. 070-lsystem Doc

    ... ld(-90, 90); lsys.reset; lsys.next; lsys.next; lsys.next; lsys.next; //--render Pen.strokeColor= Color.white; Pen.translate(width*0.5, height*0.8); lplot.draw; }; w.play; CmdPeriod.doOnce({w.close}); )

  6. 070-lsystem Quark

    ... ld(-90, 90); lsys.reset; lsys.next; lsys.next; lsys.next; lsys.next; //--render Pen.strokeColor= Color.white; Pen.translate(width*0.5, height*0.8); lplot.draw; }; w.play; CmdPeriod.doOnce({w.close}); )

  7. EnvView Quark

    ... Nil ) { curves = env.curves.asCollection.wrapExtend(env.times.size); if( Env.shapeNumber( curves[selectedLine] ) == 1 ) { curves[selectedLine] = 0; }; if( curves[selectedLine].isNumber ) { if( pts[selectedLine].y > (pts[selectedLine+1].y) ) ...

  8. Simple animated 2D user interface by rukano (rukano) Code

    ... t status of a bus, and also setting a bus from the GUI. The circle turns red depending on the oscillator value, and the oscillator frequency and amplitude are controlled by the x, y position of the circle in the window. // needs shared mem ...

  9. ActionQMenu Quark

    ... t*0.5)-(arrowSize*0.5),arrowSize,arrowSize).right_(button.bounds.right-17); var penwidth = 2.max(drawRect.height*0.08); Pen.color= arrowColor; Pen.width=1; Pen.moveTo(drawRect.left@drawRect.top); Pen.lineTo(drawRect.center.x@drawRect.bottom ...

  10. UScoreEditorGUI_TranportBar Quark

    ... var radius = size/6; var corners = [ -1 @ 0, -1 @ -2, 1 @ -2, 1 @ 0 ] * radius; Pen.use({ Pen.translate( *rect.center.asArray ); Pen.fillRect( Rect( size.neg * 0.25,0, size / 2, size / 3 ) ); 2.do({ Pen.moveTo( corners[0] ) .arcTo( corners[ ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow