Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (642) Code (56) Doc (227) Help (20) Quark (339) SCDoc ↗ Forum ↗ Google ↗
  1. red01 Quark

    ... Point(p.position.x, p.position.y), p.mass, p.mass)); }; Pen.fill; }; win.front; CmdPeriod.doOnce({win.close}); Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/60); usr.refresh; (nextTime-Main.elapsedTime).m ...

  2. 017-repulsive3 Quark

    ... er objects Pen.addRect(Rect.aboutRedObject2D(o)); }); }; Pen.stroke; }; w.play; CmdPeriod.doOnce({w.close}); )

  3. 054-boids_3d Doc

    ... .5)).clip(0, 1)); Pen.strokeOval(Rect.aboutRedObject3D(o, s, f)); }; }; w.play; CmdPeriod.doOnce({w.close}); )

  4. 120-collision_objects Doc

    ... = Color.grey(o.mass/4); Pen.strokeOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )

  5. 054-boids_3d Quark

    ... .5)).clip(0, 1)); Pen.strokeOval(Rect.aboutRedObject3D(o, s, f)); }; }; w.play; CmdPeriod.doOnce({w.close}); )

  6. 120-collision_objects Quark

    ... = Color.grey(o.mass/4); Pen.strokeOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )

  7. Δ by delta (Δ) Code

    ... | vl . sign . switch { 1 } { run ( CmdPeriod ) } } , msgNum: ( last ( y.x rowAt: 0 ) ) , msgType: ( \control ) ) .pe ...

  8. 180-distance_lines Doc

    ... ld.contain(o); }; minDist= minDist*(sin(cnt/25)*0.02+1); cnt= cnt+1; }; w.play; CmdPeriod.doOnce({w.close}); )

  9. 180-distance_lines Quark

    ... ld.contain(o); }; minDist= minDist*(sin(cnt/25)*0.02+1); cnt= cnt+1; }; w.play; CmdPeriod.doOnce({w.close}); )

  10. 231-3Dpoints Doc

    ... rd Pen.use{ Pen.translate(o.loc[0], o.loc[1]); points[i].draw; }; }; }; 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