Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (753) Code (42) Doc (239) Help (64) Quark (397) Plugin (11) SCDoc ↗ Forum ↗ Google ↗
  1. 191-kmeans2 Doc

    //k-means clustering2 //points in space moving around at random - kmeans find central point and draw a blob ( var width= 640, height= 480, w, wgrav, world, n= 100, kmeans; //--world w= RedWindow("k-means2", Rect(128, 64, width, height)).fro ...

  2. 191-kmeans2 Quark

    //k-means clustering2 //points in space moving around at random - kmeans find central point and draw a blob ( var width= 640, height= 480, w, wgrav, world, n= 100, kmeans; //--world w= RedWindow("k-means2", Rect(128, 64, width, height)).fro ...

  3. Boids3D Doc

    ... and Moving the Flock centerInstinct innerDistance matchVelocity maxVelocity minSpace moveFlock Targets and Obstacles targets addTarget editTarget removeTarget clearTargets obstacles addObstacle editObstacle removeObstacle clearObstacles At ...

  4. KeyDownActions Quark

    ... , $n -> 57, $m -> 58, $, -> 59, $. -> 60, $/ -> 61, \return -> 36, \tab -> 23, \space -> 65, \esc -> 9, $` -> 49, 'arrow up' -> 111, 'arrow down' -> 116, 'arrow left' -> 113, 'arrow right' -> 114, ] }; // arrowsModifiers = IdentityDictionar ...

  5. extStartupChoose Quark

    + StartupFile { *choose { "%: renamed to StartupFile.dialog...".postln; this.dialog } // numToShow can be used to try different numbers of files/buttons *dialog { |numToShow| var w, dropper, nameView, saveBut, buttons, openButtons; var onCo ...

  6. SCMControlSpecView Quark

    /* FILENAME: SCMControlSpecView DESCRIPTION: Enter a control spec name or new instance by code. This view component takes care of the interpretation. - The model is updated when a controlspec string is succesfully interpreted. AUTHOR: Marin ...

  7. dynamics Quark

    ... freq=700,keyrq=0.3, drive=2,decay=0.3, refresh=0.248,lift=0.744, slewRise=2550, space = 1.0, freq2=100; var lo,hi,guide,bass,mono; var slewed; mono = NumChannels.ar(audio,1,false); //Mix.new(audio ?? { [0,0] }); lo = BPF.ar( mono, ffreq,rq) ...

  8. BlitB3Square Doc

    ... e back the impulses, higher numbers (up to near 1.0) fill out the inter-impulse space, integrating the waveform. Inherited class methods Instance Methods Inherited instance methods Examples { BlitB3Square.ar(XLine.kr(1000, 20, 10)) }.play; ...

  9. MultiSpline Quark

    ... mPoints = (frameRate*interpolationDensity) * last; // these points are unevenly spaced along u t1 = spline.interpolate(numPoints); step = last / numPoints; r = Routine({ t1.do { arg p, i; if(p[0] >= t, { [p, t1.at(i+1)].yield }); }; [nil, n ...

  10. Simplex Quark

    ... var n0, n1, n2; // Noise contributions from the three corners // Skew the input space to determine which simplex cell we're in var s = (xin+yin)*kF2; // Hairy factor for 2D var i = floor(xin+s).asInteger; var j = floor(yin+s).asInteger; var ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow