-
... o.addForce(o.gravityForce(oo).neg); }); }); }; o.update; world.contain(o); //--render Pen.fillColor= Color.hsv(0.4, 1-(o.mass/12), 1, o.mass/12); Pen.fillRect(Rect.aboutPoint(o.loc.asPoint, 0.5, 0.5)); }; }; w.play; CmdPeriod.doOnce({w.clo ...
-
... .gravity); //o.addForce(world.gravity); o.update; //world.contain(o); a= o; //--render Pen.translate(0, height/2); ploc= o.pendulumLoc1D.asPoint; Pen.line(o.loc.asPoint, ploc); Pen.addOval(Rect.aboutPoint(ploc, o.size/5, o.size/5)); }; Pen. ...
-
... raz, Austria http://iem.at */ /* Class: BinAmbi Ambisonics decoder and Binaural Renderer */ BinAmbi { // the path to Kemar classvar <>kemarPath = "KemarHRTF/"; // the bufnums for the convolution classvar <>bufnums; /* Class method: *init in ...
-
... 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 ...
-
... s unit will only get sound input on the master server. To send the sound to the rendering servers, use a \wfsMasterOut unit, and a new UChain starting with a \wfsServerIn. bus: the bus that you want to use to read audio from. Starts countin ...
-
... "<O\n"UTFMT; // configBlock = configBlock ++ " (base64 data, e.g. contents of <RENDER_CFG or <RECORD_CFG block from project file)\n"); // > // TODO: Wat te fuck is this: // <METADATA // (contents of <RENDER_METADATA block from project file ...
-
... )}; o.update; //object update world.contain(o); //keep within world borders //--render Pen.addOval(Rect.aboutRedObject2D(o)); }; Pen.stroke; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... (o!=rep, { o.addForce(o.gravityForce(rep).neg); o.update; world.contain(o); //--render objects Pen.addRect(Rect.aboutRedObject2D(o)); }); }; Pen.stroke; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... .wrapAt(i-1).loc); //o.addForce(world.gravity); o.update; world.contain(o); //--render Pen.strokeColor= Color.grey((depth-o.loc[2]/(depth*0.5)).clip(0, 1)); Pen.strokeOval(Rect.aboutRedObject3D(o, s, f)); }; }; w.play; CmdPeriod.doOnce({w.c ...
-
... |oo| o.collide(oo)}; //faster but less accurate o.update; world.contain(o); //--render Pen.strokeColor= Color.grey(o.mass/4); Pen.strokeOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )