-
... s Inherited class methods Instance methods name source inlets outlets i o >'>>> point remove moveTo moveBy dup copy copyBy disconnect channel use stop play respawn isPlaying spec beatDuration gui printOn Inherited instance methods Classes ( ...
-
... applies a 2D transformation matrix to a single Vector2D transformVector2Ds{arg vPoint; var tempX, tempY; tempX = (matrix[0,0] * vPoint.x) + (matrix[1,0] * vPoint.y) + (matrix[2,0]); tempY = (matrix[0,1] * vPoint.x) + (matrix[1,1] * vPoint.y ...
-
... X, mousePosY, xMaxIndex, yMaxIndex, xInvert = false, yInvert = true| var case = Point( this.getXIndex(mousePosX, xMaxIndex, xInvert), this.getYIndex(mousePosY, yMaxIndex, yInvert) ); ^case } //////////////////// // GRAPHICS // ///////////// ...
-
... e; }; CmdPeriod.doOnce({ mindSynth= nil; win.close; }); win.drawFunc= { var bandPoints; var width2= win.bounds.width*0.5; var height= win.bounds.height; var hh= height/15; var verticalGap= hh*0.2; var barHeight= hh-verticalGap; var horizont ...
-
... ; var drawFunc; var <>textScale=10; var <>writeText=true; var <>f=0.75; //focal point for perspective drawing *new{ |ssWorld| ^super.new.init(ssWorld); } init { |ssWorld| world=ssWorld; // drawFunc } draw { // return a function to be evalua ...
-
... var domainSpec,fromX,toX; guiBody { arg parent,bounds; domainSpec = [0.0,model.points.maxValue(_.at(0))].asSpec; fromX = domainSpec.minval; toX = domainSpec.maxval; this.makeSplineGuis; this.focused = focused; } focused_ { arg di; var sg; ...
-
... inearSpline({ { 4.0.rand } ! 2 } ! 9); l.gui ) ⧉ ✔ Double click to create a new point. Click a point to select it, hit delete to delete it. Hold down shift-control while moving a point to limit movements to the vertical axis. Hold down cont ...
-
... ] = cmax; color = aColor; { this.refresh; }.defer; } draw { var saturationHelperPoint; super.drawFrame; this.prDrawColorHelper; this.prDrawSVGradient; this.prDrawHuePicker; this.prDrawHueHelper; this.prDrawSaturationHelper; if(thisDisplayAl ...
-
... var updateFreq = 10, dBLow = -80; var numRMSSamps, numRMSSampsRecip; var name, point; name = "- level meter -"; point = if(setting.isNil, {XiiWindowLocation.new(name)}, {setting[1]}); numIns = 2; numOuts = XQ.pref.numberOfChannels; viewWid ...
-
... ) the newScaleArray can be an Array , but also a number (for both H and V) or a Point b.scale = [0.75, 0.5 ]; b.scale = 1.5@1; b.scale = 1; b.move = 0.5; // back to normal reset resets scale and move to defaults. clip sets and gets clipping ...