-
... idi, deviceType: \drumpad, elementTypes: [\pad, \touchpad, \button], status: ( linux: "unknown", osx: "tested and working. 2016-03-22, dhml & adc", win: "unknown"), idInfo: "nanoPAD2", testCode: { MKtl.find(\midi); k = MKtl('np', "*nanopad2 ...
-
//simple spring //mouse controls red ball (target) ( var width= 300, height= 300, w, world, wgrav, obj, trg, mp; //--world w= RedWindow("spring test", Rect(128, 64, width, height)).front; mp= w.mouse; wgrav= RedVector2D[0, 0.98]; world= Red ...
-
// Step 1 regression tests: one per bug fixed in October 2026 (PRs #32, #34, #35, #36). // Each test repeats the reproduction steps from its GitHub issue, so the bug // cannot come back unnoticed. Names start with the bug number from the re ...
-
Example of BoidRoids in use // quick example to show use of BoidRoids class ( var numboids, boids, run, w, m, boidcolour, maxvel; numboids = 100; run=true; boids=BoidRoids(numboids); boids.separation(0.5); boids.alignment(0.3); ...
-
... band-limited triangle oscillator. Output ranges from -1 to +1. freq - frequency in Hertz iphase - initial phase offset. For efficiency reasons this is a value ranging from 0 to 4. // plot: { LFTri .ar(40) }.plot(0.1); { LFTri .ar( XLine .kr ...
-
... d rate white noise random generators superclass: DUGen *new(lo, hi, length) lo minimum value hi maximum value length number of values to create Dwhite returns numbers in the continuous range between lo and hi, Diwhite returns integer values ...
-
Prewrite rewriting system superclass: FilterPattern Lindenmayer system pattern for selfsimilar structures. Its dictionary (or event) maps one element to an array of child elements. The algorithm replaces iteratively ( levels deep) elements ...
-
... s an pattern UMap for brownian noise. New values are generated each time the chain is started, or in a UPattern for each of the generated events. lo: minimum value of the noise hi: maximum value of the noise step: step size (0-1) as multipl ...
-
// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more deta ...
-
... s an pattern UMap for brownian noise. New values are generated each time the chain is started, or in a UPattern for each of the generated events. lo: minimum value of the noise hi: maximum value of the noise step: step size (0-1) as multipl ...