-
... en.color = color; Pen.addAnnularWedge(size@size * 0.5, size*0.4, size*0.45, (pi/2) + (1.5pi*l1), 1.5pi*(l2 - l1)); Pen.fill; }; // These levels and choices of color are for the sake of example. // They are in no way the best o ...
-
... gets = List.new(0); obstacles = List.new(0); wrap = false; // default to no wrapping } // optimized version of the rules prDoRules { var posSum = RealVector3D.zero, velSum = RealVector3D.zero, sizeOfNeighbors; sizeOfNeighbors = clip(numBoid ...
-
... ect: { |i| l.lemurConnection.oscNetAddr.sendMsg('/_'++i++'/x', sin(i / 40 * 1 * pi + (p)) * 0.5 + 0.5) }); 0.05.wait; } }).play; t.stop; ```  ## More screenshots  ; obstacles = List.new(0); wrap = false; // default to no wrapping } // optimized version of the rules prDoRules { var posSum = RealVector2D.zero, velSum = RealVector2D.zero, sizeOfNeighbors; sizeOfNeighbors = clip(numBoid ...
-
... .focusDetector.kr( p ); Pen.use({ Pen.scale( 1, -1 ); Pen.addArc( p, 0.164, 0, 2pi ).fill; Pen.width = 0.075; Pen.line( 0.2@0, -0.2@0 ).line( 0 @ 0.2, 0 @ -0.2 ).stroke; Pen.color = Color.red(0.5).alpha_(0.25); if( a === \point ) { Pen.addA ...
-
... , 1, 0).postln , true , true , true ); b.sine2(a.ramp(1.0, 1.0), a.sine(2.2, 0.5pi, 0.4, 0.2).postln , true , true , true ); b.sine2(a.ramp(1.0, 1.0), a.sine(pi, 0.25pi, 0.5, 0).postln , true , true , true ); y.free; pulse(wavelength, iphas ...
-
... anwidth); ~data = ~dataspacechanwidth.collect{ |index| ((0..~dataspacelength)*2*pi/~dataspacelength).sin * ((8 * index/~dataspacechanwidth).sin) } //~data.heatMap(title: "training data (array)"); // You need the "heatMap" quark to run this ...
-
... nt continuously transforms the image between: 0 : original unchanged soundfield pi/2 : spherical wave sampled at distance The term radial beamforming is used to describe this soundfield operation. With radial beamforming the soundfield can ...
-
... ls and Strings Symbols Strings Identifiers Class Names Special Values Arrays Compiler limits What counts as "inside the function"? Reference | Language Literals values with a direct syntactic representation See also: Number , Integer , Floa ...
-
... r. . newFreq Create a new instance, in terms of frequency by the relationship: 2pi * freq / speedOfSound . Arguments: freq Frequency, in Hz. speedOfSound Speed of sound, in meters per second. Def: AtkHoa.speedOfSound . newWn Create a new in ...