Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... io = 0.125, <>minNumLines = 5, <>lineHeight; var <>keepFront = true; // if GUI opens in score, keep to front var <>keepCursorCentered = true; var currentEventArray, updateCache, viewWidth, viewHeight, scoreDuration, updateFunc; *new { |clot ...

  2. UChainIOGUI Quark

    ... views = this.makeUnitView( scrollView, unit, i, labelWidth, width ); unit.addDependant( unitInitFunc ); header.onClose_({ unit.removeDependant( unitInitFunc ); views[ \ctrl ].remove; }); views; }); } prScanForBus { |array, bus = 0| var neg ...

  3. 046-pendulum5 Quark

    //some pendulums drifting and coming to a halt ( var width= 640, height= 480, w, wgrav, world, ypos; //--world w= RedWindow("pendulum test5", Rect(128, 64, width, height)).front; w.clearOnRefresh= false; wgrav= RedVector2D[0, 0]; world= Red ...

  4. XiiMasterEQ Quark

    ... bounds.width )) @ (array[1].linlin(range.neg,range,bounds.height,0,\none)); }); Pen.color = Color.gray(0.2).alpha_(0.5); Pen.strokeRect( bounds.insetBy(-1,-1) ); Pen.addRect( bounds ).clip; Pen.color = Color.gray(0.2).alpha_(0.125); hlines. ...

  5. ParaSpace Quark

    ... ace(w, bounds); } initParaSpace { arg w, argbounds; var a, b, rect, relX, relY, pen; bounds = argbounds ? Rect(20, 20, 400, 200); bounds = Rect(bounds.left + 0.5, bounds.top + 0.5, bounds.width, bounds.height); if((win= w).isNil, { win = GU ...

  6. GMFaderMultiSlider Quark

    ... super.drawBackground(super.backgroundColor); // Draw beat if(thisBeat != -1) { Pen.fillColor_(super.beatColor); if(super.orientation == \horizontal) { Pen.fillRect( Rect( super.interactionRect.left + (thisBeat * (super.interactionRect.widt ...

  7. 110-bounce_objects Quark

    //objects shoot out off each other. with friction and world damping to compensate. ( var width= 300, height= 300, w, wgrav, world, n= 18; //--world w= RedWindow("bounce test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[-0.1, 0. ...

  8. UChainIOGUI Quark

    ... - ( 2 + 40 + (4 + 40 + 4 + 40) ), 1, 42, 12 ) ) .label_( "udefs" ) .toolTip_( "open Udefs window.\n\nYou can drag Udefs to the chain from there or open" + "their corresponding code files." ) .radius_( 2 ) .action_({ UdefsGUI(); }).resize_(3 ...

  9. CollapseView Quark

    ... us * (2/9), angle ); backCenter = center + Polar( radius, angle + pi ).asPoint; Pen.moveTo( backCenter ); Pen.lineTo( backCenter + Polar( radius * width, angle + 1.5pi ).asPoint ); Pen.lineTo( center + Polar( radius, angle ).asPoint ); Pen. ...

  10. 020-friction Quark

    ... el= obj.vel*0; //stop object }); }); obj.update; world.contain(obj); //--render Pen.fillColor= Color.red; Pen.fillRect(fric); Pen.strokeColor= Color.white; Pen.strokeRect(Rect.aboutRedObject2D(obj)); }; w.play; CmdPeriod.doOnce({w.close}); ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow