-
... : // // +x // ^ // | // | // | // +y <------- // // and places the world center point (0,0,0) into the middle of the window // // It provides also a zoom slider // // TODO: // -> support arbitrary coordinate systems ordering // //////////// ...
-
... bCurve_ ( int ) ; the radius in pixels of the rounded tab corners swingFactor_( point ) Point ; a multiplication factor for a string/tab width for GUI.swing only. default Point(0.52146,1.25) Usage: use CompositeView style GUI ( t= TabbedVie ...
-
... he IdentityDictionary holding the keys and node and slot ID's to which the keys point. save ( name ) Save an SWDataNetworkSpec to file with the given name . The spec will be saved in your userAppSupportDirectory in a folder called DataNetwo ...
-
... y = this.fromRecDistanceToNormalisationAmp(dy); }; ); //attenutaion formula for point sources //point sources has a lowpassband filter to simulate the perception of distance if(d > (m*perceptionArea*2), { cutFrequency = exp(10 - ( 7 *((d - ...
-
... nval = (value - lastValue).yield; lastValue = value; }; ^inval } } // Sync time-points to the barline // Provide time-points as \timept // pattern must be an event pattern! PTimePoints : FilterPattern { var <>tolerance; *new { |pattern, tol ...
-
... hould equal 9"); this.assertFloatEquals( 4.0 , 1.0 * 4.0 / 4.0 * 4.0, "floating point math should be close to equal"); */ var name, format; var ids = [ ['2Dobj' ,"ixyaXYAmr"], ['3Dobj' ,"ixyzabcXYZABCmr"], ['25Dobj' ,"ixyzabcXYZABCmr"], ['2 ...
-
... var freq; if(i%3==0, { freq= (s.sampleRate/bufferSize*i).asInteger; Pen.stringAtPoint(freq.asString, Point(i/numBins*width-8, 10)); }); }; fftArray.drop(1).do{|y, x| Pen.addRect(Rect(x/numBins*width, 1-(y/~maxuV)*height, 1, height)); }; Pen ...
-
... = w.asView.bounds.moveTo(0,0); }; bounds=bounds.asRect; // allows you to use a Point for the bounds. ( \TabbedViewView.asClass.notNil && (GUI.id == \qt) ).if{ view = TabbedViewView(w,bounds).resize_(resize); }{ view = context.compositeView ...
-
... ////////////////////////////////////////////////////// // Dorota.sc // // Entry point for the Dorota quark. Replaces Scripts/Dorota_launcher.scd: // resolves the quark's own directory, applies the server options the engine // needs, loads t ...
-
... ee; }; thisSVGPath = aPath; thisSVG = Image.openSVG(thisSVGPath); thisSVGSize = Point(thisSVG.width, thisSVG.height); this.resizeSVG; } free { if(thisSVGPath != "") { thisSVG.free; thisSVGPath = ""; this.refresh; }; } resizeSVG { var hRatio ...