Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1702) Code (152) Doc (537) Help (191) Quark (806) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. Radicles Quark

    ... ontrol = value * schedAction ( func ) * schedCount ( func , min: 1 , max: 100 , loop: false ) * schedDiv * schedDiv = value * schedFunc * schedFunc = value * server * specUnmap ( unmapVal , thisSpec , thisFunc ) * tempo ( newBPM ) Instance ...

  2. 041-pendulum2 Quark

    ... acc,mass,size .theta_(2pi.rand).angularVel_(1); }.dup(n); a= world.objects; //--loop w.draw{ Pen.width= 1; Pen.strokeColor= Color.white; world.objects.do{|o, i| o.addForceAngular2D(world.gravity); //o.addForce(world.gravity); o.update; worl ...

  3. Mx Quark

    ... <cables; var <myUnit, <inlets, <outlets; var <>autoCable=true; var <>endBeat, <>loop=false, <>bpm; var allocator=0, register, unitGroups, busses; var <master; var removing, adding, cableEndpoints; var <>frameRate=24, sched, ticker, <positio ...

  4. phasor Quark

    /* \phasor Creates an UMap with a looping linear ramp, that can be reset via a trigger. speed: the speed of the ramp up: if true (default) the ramp moves upwards, if false the ramp moves downwards startPos: the start value of the ramp range ...

  5. phasor Quark

    /* \phasor Creates an UMap with a looping linear ramp, that can be reset via a trigger. speed: the speed of the ramp up: if true (default) the ramp moves upwards, if false the ramp moves downwards startPos: the start value of the ramp range ...

  6. oldVersionTeleClock Quark

    ... (perm) \\ SkipJack (\ if(isPlaying) \ this .adjust \ \, dt).start;\ \ \\ Task \ loop \ dt.wait; if(isPlaying) \ this .adjust \ \ \.play;\ \;\ \\ \ othersMeanTempo \\ ^others.collect( _ .elapsedBeats).mean\ \\ \ othersMeanBeat \\ ^others.col ...

  7. 130-obstacle_rock Quark

    ... 5, height*0.8], RedVector2D[0, 0], 0, 0, 60); //world,loc,vel,acc,mass,size //--loop w.draw{ Pen.strokeColor= Color.white; world.objects.do{|o, i| //iterate all objects in this world world.objects.copyToEnd(i+1).do{|oo| o.collide(oo)}; o.up ...

  8. 017-repulsive3 Quark

    ... width.rand, height*0.5]; RedObject(world, loc, vel, acc, 1, 0.5); }.dup(n); //--loop w.draw{ rep.loc= RedVector2D[ sin(w.frame*0.02+sin(w.frame*0.001))*0.5+0.5*width, cos(w.frame*0.027+cos(w.frame*0.0012))*0.5+0.5*height ]; Pen.strokeColor= ...

  9. 054-boids_3d Quark

    ... _(mass).wchange_(0.3).wradius_(10); }.dup(n); //world,loc,vel,acc,mass,size //--loop w.draw{ world.objects.do{|o, i| var trg= o.addForceWander3D; o.addForceArrive(world.objects.wrapAt(i-1).loc); //o.addForce(world.gravity); o.update; world. ...

  10. 120-collision_objects Quark

    ... eight].rand, vel, 0, mass, mass*5); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ Pen.width= 1; world.objects.do{|o, i| o.addForce(world.gravity); world.objects.do{|oo, j| if(i!=j, {o.collide(oo)})}; //world.objects.copyToEnd(i+1 ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow