-
... 5, 20); //length, theta //--loop w.draw{ cnt= cnt+0.3; //speed lplot.theta= cnt.fold(-90, 90); lsys.reset; lsys.next; lsys.next; lsys.next; lsys.next; //--render Pen.strokeColor= Color.white; Pen.translate(width*0.5, height*0.8); lplot.draw ...
-
PFold: Filter: Description Class methods new Inherited class methods Instance methods Inherited instance methods Examples Classes (extension) | Streams-Patterns-Events > UGenPatterns'>UGenPatterns > UGenPatterns>Modifiers'>Modifiers PFold E ...
-
... ime nextPrime isPrime indexOfPrime Integer Math * + - modSeaside clip factorial fold log2Ceil wrap Range Limiting clip fold wrap Misc exit generate isInteger isAlt isCaps isCmd isCtrl isFun isHelp isNumPad isShift pidRunning Ambisonic Toolk ...
-
... loop.coin, Pseq([Rest(), 7], inf), // every second is a Rest Pseries(0, 1, inf).fold(-7, 7) ), \dur, 0.125 ).play ) ⧉ ✔ Using a Rest instance in a duration stream ( Pbind( \degree, Pseries(0, 1, inf).fold(-7, 7), \dur, Pseq([Pn(0.125, { rra ...
-
... Object Wrap a signal outside given thresholds. Source: Trig.sc See also: Clip , Fold Description This differs from the BinaryOpUGen wrap2 in that it allows one to set both low and high thresholds. Class Methods Wrap. ar ( in , lo: 0.0 , hi: ...
-
... tion : Object Clip a signal outside given thresholds. Source: Trig.sc See also: Fold , Wrap Description This differs from the BinaryOpUGen clip2 in that it allows one to set both low and high thresholds. Class Methods Clip. ar ( in , lo: 0. ...
-
... c,vel,acc,mass,size }.dup(n); //--loop w.draw{ Pen.fillColor= Color.grey(0, cnt.fold(0, 500)/10000); Pen.fillRect(Rect(0, 0, width, height)); world.objects.do{|o| world.objects.do{|oo| var dist= o.loc.distance(oo.loc); if(dist<minDist, { Pe ...
-
... loat pow reciprocal squared isZero floor ceil frac trunc round roundUp mod wrap fold do reverseDo Examples Basic operations Comparisons Sorting Continued fractions Stern-Brocot numbers Conversion between Rational and Float Sound Example (ex ...
-
... t Tests if a signal is within a given range. Source: Trig.sc Subclasses: Clip , Fold , Schmidt , Wrap See also: InRect , Schmidt Description If lo ≤ in ≤ hi , output 1.0, otherwise output 0.0. Class Methods InRange. ar ( in , lo: 0.0 , hi: ...
-
... ; usr= UserView(win, Rect(0, 0, width, height)); usr.drawFunc= { var a= sin(cnt.fold(0, 100)/2pi).linlin(-1, 1, 0.01, 1); var b= sin(cnt.fold(0, 90)/2pi).linlin(-1, 1, 0.1, cnt.fold(0, 50)/25); var rf= RedFingerprint(Wavetable.sineFill(256, ...