Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (4536) Code (31) Doc (2593) Help (469) Quark (1439) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. SVGEllipse Quark

    SVGEllipse Part of wslib see also: SVG , SVGFile superclass : SVGObject The SVGEllipse holds the data for an ellipse creation SVGEllipse ( cx, cy, rx, ry, name, strokeColor, fillColor, strokeWidth, transform ) creates a new object with the ...

  2. 178-springs_coupled Quark

    ... front; world= RedWorld1(RedVector2D[width, height]); //dim,grav,maxvel,damp //--objects ~leftObj= RedObject(world, RedVector2D[width/3, height/2], RedVector2D[0, 0], RedVector2D[0, 0], 1, 5); ~rightObj= RedObject(world, RedVector2D[width/3* ...

  3. SSWorldView Quark

    ... /////////////// // draw dynamic elements //TODO: not create a new instance of SSObject for each draw! make a visual object instead if (world.objects.size > 0 ) { world.objects.do { |obj| if (obj.present) { // mirror dimensions!! var x=(obj. ...

  4. OSCReceiver Quark

    OSCReceiver An object for remote controlling scLang by any other application through OSC-messages. Uses [ OSCReceiverFunction ] as controllable objects. *new(name, addr) new instance listening for messages of type name from addr. start star ...

  5. 055-boids-ga_synth Quark

    ... dWorld3(RedVector2D[width, height], wgrav, 10, 0.1); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var vel= RedVector2D[0.5, 0.5].rand2; var mass= 1.rrand(3); RedBoid(world, loc, vel, RedVector2D[0, 0], mass ...

  6. NNdef Quark

    ... frpControlNames; //similar to NodeMap for FRP network controls //shared for all objects / eventNetworks var <>frpNodeMap; //IdentityDictionary //contains FRP controls similar to NamedControl in synth definitions //contains events of this ty ...

  7. player.api Quark

    ... .defer; }, // not for remote calling. // this is for other apis to get a player object _get: { arg reply, uuid; reply.value(get.value(uuid)); }, _set: { arg reply, uuid, player; uuid = asuuid.value(uuid); reply.value(set.value(uuid, player) ...

  8. plusObject_clusterfy Quark

    ... se along with Cluster Library. If not, see <http://www.gnu.org/licenses/>. */ + Object { clusterfy{ if(ClusterBasic.allSubclasses.collect(_.oclass).includes(this.class)){ ^("Cluster"++this.class.asCompileString).compile.value.fromArray([thi ...

  9. 191-kmeans2 Quark

    ... m,grav,maxvel,damp //--interface ~k= 10; //number of centroids ~www= world; //--objects { var loc= RedVector2D[width.rand, height.rand]; var vel= RedVector2D[0.3.rand2, 0.3.rand2].round(0.1); RedObject(world, loc, vel, 0, 1, 3); //world,loc ...

  10. 092-livecoding-worlds Quark

    ... 8, 164, width, height)).front; ~world= RedWorld.new; //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var vel= RedVector2D[0.5, 0.5].rand2; var mass= 1; RedBoid(~world, loc, vel, 0, mass, mass*5) //world,loc,ve ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow