Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (272) Code (61) Doc (68) Help (7) Quark (134) Plugin (2) SCDoc ↗ Forum ↗ Google ↗
  1. 040-pendulum Quark

    ... ("pendulum test1", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.02); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width/2, height/2]; RedPendulum(wor ...

  2. 045-pendulum4 Quark

    ... ("pendulum test3", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.01); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[30.rrand(width-30), 30.rrand(height ...

  3. 052-boids3 Quark

    ... dow("boids test3", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 10, 0.1); //dim,grav,maxvel,damp world= RedWorld3(RedVector2D[width, height], 0, 10, 0.1); //dim,grav,ma ...

  4. 012-attraction3 Quark

    ... "attractor test3", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld3(RedVector2D[width, height], wgrav, 6, 0.02); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var mass= 0.5. ...

  5. 051-boids2 Quark

    ... dow("boids test2", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 15, 0.05); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var vel= RedVe ...

  6. 026-multiple_barycenter Quark

    ... r - many objects", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld3(RedVector2D[width, height], wgrav, 5, 0.1); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var mass= 2**1. ...

  7. 003-multiple_wind Quark

    ... indow("wind test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld3(RedVector2D[width, height], wgrav, 7, 0.01); //dim,grav,maxvel,damp //world= RedWorld(RedVector2D[width, height], wgrav, 5); //dim,grav,ma ...

  8. 048-pendulums-linked Quark

    ... linked pendulums", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.0025); //dim,grav,maxvel,damp //--objects n.do{ RedPendulum(world, RedVector2D[width/2, height/3], ...

  9. 090-livecoding Quark

    ... vecoding test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[-0.4, 0.98]; ~world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.25); //dim,grav,maxvel,damp //--loop ~win.draw{ Pen.strokeColor= Color.white; ~world.objects.do{ ...

  10. 170-spring Quark

    ... est", Rect(128, 64, width, height)).front; mp= w.mouse; wgrav= RedVector2D[0, 0.98]; world= RedWorld1(RedVector2D[width, height], wgrav, 30, 0.8); //dim,grav,maxvel,damp //--objects obj= RedObject(world, RedVector2D[0, 0], RedVector2D[0, 0] ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow