Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ds.width; var uh= usr.bounds.height; var cur= xCurvSpec.map(xCurvSlider.value); Pen.strokeColor= palette.buttonText; a= (0..99)/99; if(cur!=0, { ~func= {|t, a= 15| atan((t-0.5)*a)/(2*atan(0.5*a))+0.5}; }, { ~func= {|t, a= 15| t}; }); a.do{| ...

  2. SmoothButton Quark

    SmoothButton part of wslib a Pen -based replacement for SCButton , with extra styling options. SmoothButton works the same way as SCButton. But, as the name states, it is smooth. SmoothButton is a subclass of RoundButton and shares all of i ...

  3. Filter Explorer @ 1000 Hz of the Cutoff Frequency (Centre Frequency) by pyoungryangko (prko) Code

    ... .string_(outputs) }; view.drawFunc = { snds.do { |which, i| Pen.strokeColor = Color.black; Pen.moveTo(0@0); Pen.lineTo(0@h); Pen.translate(oW, 0); Pen.stroke; fltTxts[i].stringColor_( if(flt ...

  4. Redraw Doc

    ... position as a Point . . clear Clears the drawing. . close Close the window if open. . width Set Pen stroke width. . strokeColor Set Pen stroke colour. . background Set drawing background colour. Inherited instance methods Examples a= Redra ...

  5. UChainGUI Quark

    ... ; udefController.remove; if( chain.isKindOf( MassEditUChain ) ) { chain.removeDependantFromChains( massEditController ); }; this.removeFromAll; if( composite == vw && { current == this } ) { current = nil } }; // startbutton views[ \startBu ...

  6. 054-boids_3d Doc

    ... (i-1).loc); //o.addForce(world.gravity); o.update; world.contain(o); //--render Pen.strokeColor= Color.grey((depth-o.loc[2]/(depth*0.5)).clip(0, 1)); Pen.strokeOval(Rect.aboutRedObject3D(o, s, f)); }; }; w.play; CmdPeriod.doOnce({w.close}); ...

  7. 054-boids_3d Quark

    ... (i-1).loc); //o.addForce(world.gravity); o.update; world.contain(o); //--render Pen.strokeColor= Color.grey((depth-o.loc[2]/(depth*0.5)).clip(0, 1)); Pen.strokeOval(Rect.aboutRedObject3D(o, s, f)); }; }; w.play; CmdPeriod.doOnce({w.close}); ...

  8. UScoreEditorGUI_TopBar Quark

    ... center, rect.width.min( rect.height ) / 5, rect.width.min( rect.height ) / 4 ); Pen.line( square.leftBottom, square.leftTop ); Pen.lineTo( square.rightTop ); Pen.lineTo( square.right @ (square.top + (square.height / 2) ) ); Pen.lineTo( squa ...

  9. HrCodeSequencer Quark

    ... <>oldBeat, stopSeq, playSeq, isPlaying, blobInBeats, <>idBlobDict, addBlobWin, pendingJumpTo, pendingJumpBeat; var <>menuList; var <codeBlobs; var <>codeEnvirs, <curEnvirIndex; *initClass { this.addHadronPlugin; } *new {|argParentApp, argI ...

  10. 121-collision_boids Doc

    ... collide(oo)}; //faster but less accurate o.update; world.contain(o); //--render Pen.fillColor= Color.grey(1-(i/n), 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow