Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... % \n" // .postf(bounds, center, myscaleW.round(0.001), myscaleH.round(0.001)); Pen.scale(myscaleW, myscaleH); if ([\full, \touch, \binary, \binMove, \off].includes(NTMI.nUFO.mode)) { padCenters = [ // left side - top, midtop, midbottom, bo ...

  2. Red3D Quark

    ... dist); Point(v[0], v[1])*size; }; } draw {|dotSize= 5| renderedPoints.do{|p, i| Pen.fillOval(Rect.aboutPoint(p, vectors[i][2]+1*dotSize, vectors[i][2]+1*dotSize)); }; } drawOutlines { outlines.do{|o| Pen.line(renderedPoints[o[0]], renderedP ...

  3. extPlotTreeScale Quark

    ... lectChildren, levels, countSize; var view, bounds; var updater, updateFunc; var pen, font; pen = GUI.current.pen; font = Font.sansSerif(10); view = UserView.new(parent, Rect(0,0,400,400)); view.drawFunc = { var xtabs = 0, ytabs = 0, drawFun ...

  4. GMRecordButton Quark

    ... .frame / 60 * pi).abs ); }; // super.drawFrame "override hack" super.drawFrame; Pen.fillColor_(thisCurrentBackgroundColor); Pen.fillRect(super.interactionRect); Pen.fillColor_(Color.red); Pen.strokeColor_(Color.white); Pen.width_(symbolSize ...

  5. SCDrawServer Quark

    ... ar x, y, r; x = dict.at( \x ); y = dict.at( \y ); r = dict.at( \r )*(1.0-perc); Pen .fillColor = Color .blue; Pen .strokeColor = Color .red; Pen .addArc(x@y, r, 0.0, 2pi); Pen .fill; }; circle = { arg perc, dict; var x, y, r; x = dict.at( \ ...

  6. Random_Arboretum Quark

    ... .sum; physics.tick; if(physics.numberOfParticles>1, { updateCentroid.value; }); Pen.color= Color.black; Pen.width= 2; Pen.stringAtPoint(""++physics.numberOfParticles+"PARTICLES", Point(10, 20)); Pen.stringAtPoint(""++frameRate.round(0.1)+"F ...

  7. BoxGrid Quark

    ... mns, rows); } initBoxGrid { arg w, argbounds, argcolumns, argrows; var p, rect, pen; lazyRefreshFunc = { this.refresh; refreshDeferred = false; }; bounds = argbounds ? Rect(20, 20, 400, 200); bounds = Rect(bounds.left , bounds.top , bounds. ...

  8. GMListPianoRoll Quark

    ... s.do({ |value| var yIndex = thisEntries.detectIndex({ |item| item == value; }); Pen.addRect( Rect( super.interactionRect.left + (caseSize.x * xIndex) + (ratioOffset / 2) + (super.outlineSize / 2), super.interactionRect.bottom - (caseSize.y ...

  9. XYView Quark

    ... set = 2; var arrowRadius = (relBounds.width.min(relBounds.height) / 2) - inset; Pen.roundedRect( relBounds, radius); background.penFill( relBounds ); Pen.use({ Pen.translate( *relBounds.center.asArray ); Pen.color = foreground; 4.do({ |i| i ...

  10. 171-springs_more Quark

    ... mouse input trg.loc= w.mouse; }); sprs.do{|spr| spr.update; //--render springs Pen.strokeColor= Color.grey; Pen.line(spr.object.loc.asPoint, spr.target.loc.asPoint); Pen.stroke; }; objs.do{|obj| obj.addForce(world.gravity); obj.update; wor ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow