Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (500) Code (36) Doc (222) Help (81) Quark (152) Plugin (9) SCDoc ↗ Forum ↗ Google ↗
  1. 015-repulsive Quark

    //one object pushes away the other in a world without bounds //with mouse controlling repulsive object location ( var width= 300, height= 300, w, wgrav, world, rep, obj; //--world w= RedWindow("repulsive test1", Rect(128, 64, width, height) ...

  2. FileListView.help Quark

    ... ction - a Function. this is evaluated each time that a new item is selected via mouse \ (random access) or by pressing arrow up or down on the keyboard. \ dblClickAction - a Function. This is evaluated each time the enter key is pressed or ...

  3. 016-repulsive2 Quark

    //multiple objects are pushed away by a single //with mouse controlling repulsive object location ( var width= 300, height= 300, w, wgrav, world, n= 10, rep; //--world w= RedWindow("repulsive test2", Rect(128, 64, width, height)).front; wgr ...

  4. Bend Quark

    // modulate everything ( { Bend ({ |in| in * LFDNoise3 .kr( MouseX .kr(0.1, 200, 1), 0.1, 1) }, { Splay .ar( SinOsc .ar({ exprand(300.0, 10000.0) } ! 17, 0, { 1.0.rand } ! 17)) }) * 0.1 }.play ) // basic test { Bend .time( MouseX .kr(-2, 2) ...

  5. Bend Quark

    // modulate everything ( { Bend ({ |in| in * LFDNoise3 .kr( MouseX .kr(0.1, 200, 1), 0.1, 1) }, { Splay .ar( SinOsc .ar({ exprand(300.0, 10000.0) } ! 17, 0, { 1.0.rand } ! 17)) }) * 0.1 }.play ) // basic test { Bend .time( MouseX .kr(-2, 2) ...

  6. 051-boids2 Quark

    //everybody chase first boid //mouse controls the first boid ( var width= 300, height= 300, w, wgrav, world, n= 50; //--world w= RedWindow("boids test2", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedV ...

  7. 050-boids Quark

    ... y chase first boid. interesting exploring behaviour. slow down as approaching //mouse controls the first boid ( var width= 300, height= 300, w, wgrav, world, n= 5; //--world w= RedWindow("boids test1", Rect(128, 64, width, height)).front; w ...

  8. HrPresetMorph Quark

    ... + drag the presets to the surface (Ctrl + drag in SwingOSC). When you drag your mouse over the surface, the parameters of the presets on the surface are interpolated in relation to the position of the mouse over the surface. Double click on ...

  9. 053-boids_1d Quark

    //everybody chase mouse x position in 1 dimension. ( var width= 600, height= 300, w, world, n= 15, att; //--world w= RedWindow("boids test 1d", Rect(128, 64, width, height)).front; world= RedWorld3(RedVector[width], nil, 10, 0); //dim,grav, ...

  10. AnotherSynth_randMouse Quark

    // a SynthDef that has mouse controlled modulation; // will sound different based on mousepos at server! ( SynthDef(\xxy, {|out, sustain = 1, freq = 440| var env, son; env = Line.ar(1, 0, sustain, doneAction: 2); son = SinOsc.ar( freq * [1, ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow