Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ollision test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[-0.1, 0.98]; //world xy gravity world= RedWorld3(RedVector2D[width, height], wgrav, 10, 0.6); //dim,grav,maxvel,damp //--objects { var vel= RedVector2D[2.rand2, -5]; // ...

  2. 121-collision_boids 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 ...

  3. 131-obstacle_rocks Doc

    ... ndow("rocks test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; //world xy gravity world= RedWorld3(RedVector2D[width, height], wgrav, 15, 0.5); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[250, 10].rand; / ...

  4. 050-boids Doc

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

  5. 025-barycenter Doc

    ... nter - 2 objects", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld3(RedVector2D[width, height], wgrav, 5, 0); //dim,grav,maxvel,damp //--objects ~objA= RedObject(world, RedVector2D[width, height].rand, RedV ...

  6. 034-wave-system Doc

    ... "wavesystem test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.2); //dim,grav,maxvel,damp //--system sys= RedWaveSystem(n, {5.0.rand2}, {2pi.rand}, {0.5.rand}, 0 ...

  7. 007-single-3d Doc

    ... single 3d test", Rect(128, 64, width, height)).front; wgrav= RedVector3D[0.1, 0.98, 0]; world= RedWorld3(RedVector3D[width, height, depth], wgrav, 20, 0.05); //dim,maxvel,grav,damp //world= RedWorld(RedVector3D[width, height, depth], wgrav, ...

  8. 172-springs_chain Doc

    ... ngs", 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 trg= RedObject(world, RedVector2D[width*0.5, height*0.3]); ...

  9. 173-springs_soda Doc

    ... ow("soda springs", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld3(RedVector2D[width, height], wgrav, 30, 0.8); //dim,grav,maxvel,damp //--objects { var mass= 2.rrand(5); RedObject(world, RedVector2D[width ...

  10. BlumBalance Doc

    ... ar env1, env2; var in; var lfo; var freqMod; freqMod = LFNoise2.kr(3.3).range(0.98, 1.02); // L and R channels inL = SinOsc.ar(440 * freqMod, mul: 0.3); inR = SinOsc.ar(330 * freqMod, mul: 0.3); // L and R envelopes #env1, env2 = EnvGen.kr( ...

prev 1 2 3 4 5 6 7 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow