Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... 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 ...

  2. 012-attraction3 Doc

    ... "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. ...

  3. 051-boids2 Doc

    ... 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 ...

  4. 026-multiple_barycenter Doc

    ... 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. ...

  5. 003-multiple_wind Doc

    ... 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 ...

  6. 048-pendulums-linked Doc

    ... 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], ...

  7. 090-livecoding Doc

    ... 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{ ...

  8. 170-spring Doc

    ... 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] ...

  9. 013-attraction4 Doc

    ... 28, 64, width, height)).front; w.clearOnRefresh= false; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 5, 1); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var mass= 0.5.rran ...

  10. 041-pendulum2 Doc

    ... ("pendulum test2", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.02); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var vel= RedV ...

prev 1 2 3 4 5 6 7 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow