-
... nVal; step = 1/valRange; // lines if( grid == true ) { // big red for C3 if( 60.inRange( minVal, maxVal ) ) { Pen.color = Color.red.alpha_(0.5); c3y = (((60 - minVal) * step) * bounds.height) + bounds.top; Pen.line( bounds.left@c3y, bounds. ...
-
... es( (direction % 2pi) / pi ) } { radius = square.width/2; } { (direction % 2pi).inRange(0.25,0.75pi) or: (direction % 2pi).inRange(1.25,1.75pi) } { radius = rect.height / 4 } { true } { radius = rect.width / 4 } ); }; Pen.width_( wd ); Pen. ...
-
... lfAlpha, 1, 0, \minmax ); // focused (0/1) focused = pos.wrap( -0.5pi, 1.5pi ) .inRange( 0.5pi + alpha, 1.5pi ) .binaryValue; [ cornerFade, focused ]; }).flop; // focused active if( WFSArrayPan.useFocusFades ) { if( WFSArrayPan.efficientFoc ...
-
... 001)], [sustain], [\exp]), doneAction: 2); map = { |i| var a = rrand(0.0, 1.0); InRange.ar(pressure, a, a + 0.1) * SinOsc.ar(rand(9000, 12000), 0, 0.1) } ! n; son = Crackle.ar(pressure.linlin(1, 0, 1.32, 1.99) + [0, Rand(0, 0.001)]); freq = ...