-
//simple spring //mouse controls red ball (target) ( var width= 300, height= 300, w, world, wgrav, obj, trg, mp; //--world w= RedWindow("spring test", Rect(128, 64, width, height)).front; mp= w.mouse; wgrav= RedVector2D[0, 0.98]; world= Red ...
-
... ); x.enDebug("x: "); },true); x.start; timer.start.unsafePerformIO ) //bouncing ball ( var timer = ENTimer(0.1); x = EventNetwork(ENImperEval{ var tSig = timer.enIn.hold(0.0); var ball = { |y0,v0| var ss = [y0,v0].postln; var v = Var(-9.8). ...
-
//more springs. RedSpring is just a simple helper class //mouse controls red ball (target) ( var width= 300, height= 300, w, world, wgrav, objs, sprs, trg, mp, n= 8; //--world w= RedWindow("more springs", Rect(128, 64, width, height)).front ...
-
//more springs. RedSpring is just a simple helper class //mouse controls red ball (target) ( var width= 300, height= 300, w, world, wgrav, objs, sprs, trg, mp, n= 8; //--world w= RedWindow("more springs", Rect(128, 64, width, height)).front ...
-
//chain of springs. //mouse controls red ball (target) ( var width= 300, height= 300, w, world, wgrav, objs, sprs, trg, mp, n= 18; //--world w= RedWindow("chain of springs", Rect(128, 64, width, height)).front; mp= w.mouse; wgrav= RedVector ...
-
//chain of springs. //mouse controls red ball (target) ( var width= 300, height= 300, w, world, wgrav, objs, sprs, trg, mp, n= 18; //--world w= RedWindow("chain of springs", Rect(128, 64, width, height)).front; mp= w.mouse; wgrav= RedVector ...
-
//spring construction inspired by soda constructor //mouse drags around balls ( var width= 300, height= 300, w, world, wgrav, sprs, over, n= 10; //--world w= RedWindow("soda springs", Rect(128, 64, width, height)).front; wgrav= RedVector2D[ ...
-
//spring construction inspired by soda constructor //mouse drags around balls ( var width= 300, height= 300, w, world, wgrav, sprs, over, n= 10; //--world w= RedWindow("soda springs", Rect(128, 64, width, height)).front; wgrav= RedVector2D[ ...
-
... arguments for the constraint (should be an Array). type The type of constraint (ball,hinge,hinge2,universal,fixed,slide,piston) world Access to the DimpleWorld camera Access to the camera in dimple cursor Access to the cursor in dimple drop ...
-
... eedback, rotate) Bounces sound between a number of outputs ... like a ping-pong ball. PingPong is actually a compound built upon RecordBuf and PlayBuf . bufnum - first index of a multi channel buffer . inputArray - an array of audio inputs, ...