-
Ball: Filter: Description Class methods ar kr Inherited class methods Instance methods Inherited instance methods Examples Classes | UGens > Filters'>Filters > Filters>Nonlinear'>Nonlinear | UGens > Generators'>Generators > Generators>Physi ...
-
//Bouncy_Balls //Originally created by Jeffrey Traer Bernstein http://murderandcreate.com/physics/ ( var width= 400, height= 400; var win= Window("Bouncy Balls", Rect(100, 100, width, height), false); var usr= UserView(win, Rect(0, 0, width ...
-
... Examples Simple_Pendulum.scd Simple Pendulum by Jeffrey Traer Bernstein Bouncy_Balls.scd Bouncy Balls by Jeffrey Traer Bernstein cloth.scd cloth by Jeffrey Traer Bernstein Random_Arboretum.scd Random Arboretum by Jeffrey Traer Bernstein re ...
-
//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 ...
-
//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[ ...
-
... ee also: SinOsc Description Bounces sound between two outputs… Like a ping-pong ball. PingPong is actually a compound built upon RecordBuf and PlayBuf . Class Methods PingPong. ar ( bufnum: 0 , inputs , delayTime , feedback: 0.7 , rotate: 1 ...
-
... : Object physical model of resonating spring Source: PhysicalModel.sc See also: Ball , TBall Description models the force of a resonating spring Class Methods Spring. ar ( in: 0.0 , spring: 1 , damp: 0 ) Spring. kr ( in: 0.0 , spring: 1 , d ...