-
... usr.bounds; var step; Pen.smoothing= false; Pen.color= Color.black; Pen.stringAtPoint("FFT Plot", Point(10, 10), f0); Pen.push; Pen.translate(ub.left, ub.bottom); Pen.stringAtPoint(fs, Point(ub.width-fs.bounds(f1).width/2, wb.height-ub.bott ...
-
... nextY }, 270, 253 )); // window.acceptsMouseOver_(true); xySlots = xySlots.add([Point(nextX, nextY), name++slotHiLo]); // [xySlots, nextX, nextY].postln; if(nextX+275 > Window.screenBounds.width, { nextX = shiftXY ?? { 0 }; nextY = xySlots. ...
-
... P library in PureData. The copied methods pertain to forming a triangulation of points which forms a mesh grid suitable for use with VBAP and used here to visualizate a point mesh. A future implementation could perform a convex hull operati ...
-
... sRT Description The k-means clustering algorithm is simple: given a set of data points, it finds a number ("k") of centroids which represent the data distribution pretty well. Each centroid is representative of one cluster, and each data po ...
-
... outbus, tgt, addAct, fxOn, cFreqWin, theQ; var name = "Spectral Equalizer"; var point; var stereoChList, monoChList; var onOffButt, cmdPeriodFunc; var bufA, bufB; var spectralsl; size = 1024; spectralsl = Array.fill(size, 0.0); s = server ? ...
-
... r.outlineColor); Pen.width_(super.outlineSize); if(isPlaying.not) { Pen.moveTo( Point( symbolSize / 2, 0 ).rotate(0 - (2pi / 3)).translate( Point( this.bounds.width / 2, this.bounds.height / 2 ) ); ); Pen.lineTo( Point( symbolSize / 2, 0 ). ...
-
... dFileView { var <>xiigui, <>win; var <filename; var sndfileview, soundfile; var point, fileNumInPool; var bgColor, foreColor; var chNum, synth, loop, loopButt, playButt,setSelButt, deSelButt, resolutionSlider, zoomSlider, volSlider, cropBut ...
-
/* \map_point Creates an UMap allowing dynamic mapped access to x and y of a point x: position x (-1 - 1, 0 means center) y: position y (-1 - 1) center: center of the mapped area radius: radius of the mapped area -- this is an UMapDef defin ...
-
... aveTop = height * 0.25, waveMid = 0.5 * (waveTop + height), mapY = { |x, y| Point(x, y.linlin(-1, 1, height-1, waveTop)) }; var fg = Color.gray(0.8), scoreColor = Color(1, 1, 0.4, 0.5); var oneGrain = { |start = 0, samps = 100 ...
-
The PointView Quark =================== _An interactive view displaying a collection of points in 3D space._ Points are `Cartesian` points (optionally specified as directional pairs of `[azimuth, elevation]`) rendered through a 3-D or ortho ...