-
... n editable canvas, and resynthesises the edited result. This class is the entry point. It loads the Core layer, applies the server options the engine requires, and opens the editor window. Dorota.open; ⧉ ✔ NOTE: The engine needs larger serv ...
-
... black; Pen.fillColor= Color.white; world.objects.do{|o| var p, x, y; p= o.loc.asPoint; Pen.addOval(Rect.aboutPoint(p, o.size, o.size)); x= sin(o.phase)*o.size*o.amp; y= cos(o.phase)*o.size*o.amp; Pen.moveTo(p); Pen.lineTo(p+Point(x, y)); x= ...
-
... black; Pen.fillColor= Color.white; world.objects.do{|o| var p, x, y; p= o.loc.asPoint; Pen.addOval(Rect.aboutPoint(p, o.size, o.size)); x= sin(o.phase)*o.size*o.amp; y= cos(o.phase)*o.size*o.amp; Pen.moveTo(p); Pen.lineTo(p+Point(x, y)); x= ...
-
... ^ENImperEval.appendToResult( this.mouseClicksEN ); } mousePosEN { var sig = Var(Point(0,0)); var f = { |view, x, y, modifiers| sig.value_( Point(x, y) ); }; var addHandler = IO{ this.mouseOverAction = this.mouseOverAction.addFunc(f); IO{ th ...
-
... ^ENImperEval.appendToResult( this.mouseClicksEN ); } mousePosEN { var sig = Var(Point(0,0)); var f = { |view, x, y, modifiers| sig.value_( Point(x, y) ); }; var addHandler = IO{ this.mouseOverAction = this.mouseOverAction.addFunc(f); IO{ th ...
-
... te its own Window , and place it conveniently on the screen if the bounds are a Point . If the bounds are a Rect , then the Rect determines the window bounds. bounds An instance of Rect or Point . Default value is 160@22 . label The label. ...
-
... argX=0, argY=0, argZ=0; x = argX; y = argY; z = argZ;} asCartesian { ^this } asPoint { ^Point.new(x,y) } // implemented as a projection asComplex { ^Complex.new(x,y) } // implemented as a projection asPolar { ^Point.new(x,y).asPolar } // i ...
-
... ) .canUseUMapFunc_({ |unit, key, umapdef| unit.isKindOf( UPattern ).not && { [ Point, SimpleNumber, Array, Symbol, Boolean ].any({ |class| unit.getDefault( key ).isKindOf( class ) }) && { UAdaptSpec().canAdapt( unit.getSpec( key ) ) } }; } ...
-
... oise2 .ar(4, 400, 450), 0, 0.2 ) }.play; ) // freq is the rate of interpolation points { var freq = 1000; [ LFNoise2 .ar(freq), Impulse .ar(freq)] }.plot
-
( s.waitForBoot({ SynthDef(\testIEnvGen, { //Make it max 128 points. //This must be set in the SynthDef as IEnvGen needs to be instantiated with a max of num of inputs! var env = \env.kr(Env.newClear(128).algaAsArray); Out.ar(\out.ir(0), Al ...