Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (535) Code (6) Doc (245) Help (16) Quark (266) Plugin (2) SCDoc ↗ Forum ↗ Google ↗
  1. 042-pendulum3 Doc

    ... 2D(world.gravity); //o.addForce(world.gravity); o.update; world.contain(o); //--render ploc= o.pendulumLoc2D.asPoint; Pen.line(o.loc.asPoint, ploc); Pen.addOval(Rect.aboutPoint(ploc, o.size/5, o.size/5)); }; Pen.stroke; }; w.play; CmdPeriod ...

  2. 040-pendulum Doc

    ... .gravity); //o.addForce(world.gravity); o.update; //world.contain(o); a= o; //--render ploc= o.pendulumLoc2D.asPoint; Pen.line(o.loc.asPoint, ploc); Pen.addOval(Rect.aboutPoint(ploc, o.size/5, o.size/5)); }; Pen.stroke; }; w.play; CmdPeriod ...

  3. SatieIntrospection Doc

    ... tion object, allowing further introspection requests to the correspondent SATIE renderer specified as argument. It is being used by Satie and is user-accessible via Satie: *inspector . Arguments: satieContext A SATIE renderer. The created S ...

  4. 016-repulsive2 Doc

    ... vityForce(rep).neg); o.addForce(world.gravity); o.update; world.contain(o); //--render Pen.addRect(Rect.aboutRedObject2D(o)); }); }; Pen.stroke; }; w.play; CmdPeriod.doOnce({w.close}); )

  5. 045-pendulum4 Doc

    ... D(o.gravityForce(oo)); }); }; o.addForceAngular2D(world.gravity); o.update; //--render ploc= o.pendulumLoc2D.asPoint; Pen.line(o.loc.asPoint, ploc); Pen.addOval(Rect.aboutPoint(ploc, o.size/5, o.size/5)); }; Pen.stroke; }; w.play; CmdPeriod ...

  6. 052-boids3 Doc

    ... ddForceWander2D; }); o.addForce(world.gravity); o.update; world.contain(o); //--render Pen.fillColor= Color.grey(1-(i/n), 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )

  7. 110-bounce_objects Doc

    ... oo), { o.addForce(o.gravityForce(oo).neg*100); }); }); }; world.contain(o); //--render Pen.addOval(Rect.aboutRedObject2D(o)); }; Pen.stroke; }; w.play; CmdPeriod.doOnce({w.close}); )

  8. FoaDecode Doc

    ... ation: NOT INSTALLED! See also: FoaDecoderMatrix , FoaDecoderKernel Description Renders (decodes) a First Order Ambisonic signal (B-format) to speaker feeds in a variety of configurations. DecodeB2 is the SuperCollider inbuilt equivalent. C ...

  9. 020-friction Doc

    ... { obj.vel= obj.vel*0; //stop object }); }); obj.update; world.contain(obj); //--render Pen.fillColor= Color.red; Pen.fillRect(fric); Pen.strokeColor= Color.white; Pen.strokeRect(Rect.aboutRedObject2D(obj)); }; w.play; CmdPeriod.doOnce({w.cl ...

  10. 012-attraction3 Doc

    ... lculate accel, vel and loc world.contain(o); //keep object within the world //--render Pen.fillColor= Color.grey(1-(o.mass/12), 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow