-
PointView : View { var <points; // points should be Cartesians var <pointsNorm; // points normalized to rho = 1 var <connections; var axisPnts; var <pointsPx; // pixel location of each point relative to view center point (0,0) // drawing va ...
-
/* \wfsDynamicDirectional This udef creates a dynamic point source on the WFS system, with a directional radiation pattern. The position of the source can be changed in realtime (dynamic). *This feature of WFSCollider is currently under dev ...
-
... var <>xiigui, <>win, params; var moveAction; var bounds; var bgcolor, fillmode, pointcolor, linecolor, strokecolor, pointsize, pointsizelist; var state; var pointlist, lastpoint; var recPathList; var tabletView, soundfile, sndfileview, eraz ...
-
... r, panRslider; var bgColor, foreColor, spec, outbus; var audioInSynth, s, name, point; var onOffButt, cmdPeriodFunc; name = "- audio in -"; s = server ? Server.local; // set up presets (storing window location and parameters) point = if(set ...
-
... dow("time series widget", Rect(10, 100, 512, 576)); var ts= "Time (s)"; var np= Point("0".bounds(f1).width/2, "0".bounds(f1).height/2); var op= Point("Ω".bounds(f1).width/2, "Ω".bounds(f1).height/2); win.view.minSize= Size(328, 252); win.ba ...
-
... e = 1, color| var curves; var selectColor = Color.yellow; var pospt, times; var points, controls, scale; color = color ? Color.gray(0.25); selected = selected ? []; // drawMode 0: points+lines, 1: lines, 2: points, 3: none, 4: hi-res lines ...
-
... nextY }, 400, 253 )); // window.acceptsMouseOver_(true); xySlots = xySlots.add([Point(nextX, nextY), name]); if(nextX+275 > Window.screenBounds.width, { nextX = shiftXY ?? { 0 }; nextY = xySlots.last[0].y+280; }, { nextX = xySlots.last[0].x ...
-
... eft, inTop, inRight, inBottom) return a new Rect with the given boundaries. fromPoints(inPoint1, inPoint2) return a new Rect defined by the given Points. Instance methods: left top right bottom Get the value of the boundary. left_(aValue) t ...
-
... storeArgs { ^[spline,dimension,loop] } duration { // or total loop time ^spline.points.last[dimension] } asLocalBuf { arg divisions=512; var levels; levels = spline.bilinearInterpolate(divisions,dimension,true); ^LocalBuf.newFrom(levels); } ...
-
... r layout = UserView(); var background_color = Color( 0, 0, 0 ); var rythm = Point( 4, 4 ); var rythm_length = ( rythm.x * rythm.y ); var tempo = 1; var parameters = Array.fill( 4, { Array.fill( ( rythm_length + 1 ), { 0 } ) } ); ...