Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1772) Code (147) Doc (407) Help (75) Quark (1139) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. 015-repulsive Quark

    ... bj.gravityForce(rep).neg); obj.update; world.contain(obj); //--render Pen.strokeColor= Color.green; Pen.strokeRect(Rect.aboutRedObject2D(rep)); Pen.strokeColor= Color.white; Pen.strokeRect(Rect.aboutRedObject2D(obj)); }; w.play; CmdPeriod.d ...

  2. Dimple_examples.help Quark

    ... "); a.get( "density"); b.get("position") // b.set(\size, [1, 1, 0.01] ); b.set(\color, [0.8, 0.9, 0.1] ); c = d.createConstraint( "fixed", b, d.world ) d.collide_( true ); d.gravity_( 0, 0, -1 ); a.get( "position", 100 ); a.addAction( \posi ...

  3. 178-springs_coupled Doc

    ... ([~leftObj.loc[0], ~rightObj.loc[0]]); //store x positions //--render Pen.strokeColor= Color.red; Pen.line(~leftObj.loc.asPoint, leftWall.loc.asPoint); Pen.line(~rightObj.loc.asPoint, rightWall.loc.asPoint); Pen.stroke; Pen.strokeColor= Col ...

  4. 178-springs_coupled Quark

    ... ([~leftObj.loc[0], ~rightObj.loc[0]]); //store x positions //--render Pen.strokeColor= Color.red; Pen.line(~leftObj.loc.asPoint, leftWall.loc.asPoint); Pen.line(~rightObj.loc.asPoint, rightWall.loc.asPoint); Pen.stroke; Pen.strokeColor= Col ...

  5. NodeSnapshot Quark

    ... eam.all } } TreeSnapshotView : Singleton { classvar okayIcon, warningIcon, groupColor, groupOutline, font; var <view, <viewMap, <viewsInUse, currentSnapshot, collapse=false, autoUpdateRoutine, autoUpdate=true, <ignore, lastValidation; *init ...

  6. 022-viscosity Doc

    ... obj.viscosityForce(vv)); }); obj.update; world.contain(obj); //--render Pen.fillColor= Color.yellow; Pen.fillRect(visc); Pen.strokeColor= Color.white; Pen.strokeRect(Rect.aboutRedObject2D(obj)); }; w.play; CmdPeriod.doOnce({w.close}); )

  7. 022-viscosity Quark

    ... obj.viscosityForce(vv)); }); obj.update; world.contain(obj); //--render Pen.fillColor= Color.yellow; Pen.fillRect(visc); Pen.strokeColor= Color.white; Pen.strokeRect(Rect.aboutRedObject2D(obj)); }; w.play; CmdPeriod.doOnce({w.close}); )

  8. AbstractGUIComponentCactus Quark

    ... ); window.view.decorator = FlowLayout( window.view.bounds ); window.background_(Color.fromHexString("#282828")); window.onClose = { this.clear; }; } setCmdPeriodActions { CmdPeriod.add({ AppClock.sched(0.1, { this.cmdPeriodAction; }); }); } ...

  9. 0_generals Quark

    ... ).round); g.fontMid = Font(g.fontName, (51 * g.screenScale).round); g.butGrey = Color.grey(0.3, 0.3); g.butGreen = Color.green(1, 0.7); // make nameViews bigger and better g.tuneNameView = { |q, obj| if (obj.respondsTo(\nameView)) { // fixe ...

  10. GMRoundButton Doc

    ... stance methods Interaction action mouseDownAction Graphical settings blink blinkColor blinkFontColor blinkTime string fontRatio stringRatio maxFontSize orientation svg svgRatio free Internal Methods draw resizeSVG Inherited instance methods ...

prev 81 82 83 84 85 86 87 88 89 90 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow