-
WFSPathGeneratorDef( \spiral, { |f, path, n| var clockwise, startAngle, center, radius, periods; var close, nn = n; clockwise = f.get( \clockwise ).binaryValue.linlin( 0,1,-1,1); startAngle = (f.get( \startAngle ) / 360) * 2pi; center = [ f ...
-
Just a quick demo of making a spiral pattern on a Novation Launchpad Mini Visual of it here: https://www.instagram.com/p/BFjqSxCwF4J/?taken-by=schemawound ( MIDIClient.init; MIDIIn.connectAll; ~lpChan = 0; ~lpIn = MIDIClient.sources. ...
-
For the challenge, let's make the path algorithmically =) ( MIDIClient.init; MIDIIn.connectAll; ~lpChan = 0; ~lpIn = MIDIClient.sources.select({arg item, i; (item.name == "Launchpad Mini")})[0]; //Pick the first launcpad mini you find ...
-
... et patterns, toggle pad light when touched ( q.patterns = IdentityDictionary[ ('spiral' -> #[1,0,1,1,1,1,0,1,0,1,0,0,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,1,1,0,1,0,1,0,0,0,0,1,0]), ('leftRight' -> #[1,0,0,0,0,0,0,1,1,0,0,0,0,0,0, ...
-
... ) ); ) ⧉ ✔ Rotate canvas with mouse In this example, we add a cube and a custom spiral-shape, and set up a mouseMoveAction to rotate the canvas. ( var width = 500, height = 400, rate = 0.005; var w, u; w = Window("3d canvas demo", Rect(128, ...
-
Nautilus, melodias cromaticas en espiral ///////////////// written for hackpact mx. II artgen 1-nov-11 ////audio @ http://soundcloud.com/josecaos/el-espiral /////// melodias cromaticas en espiral // s.boot; s.quit; s.scope; (////timb ...
-
... helix var f1 = 10; var f2 = 10; d = [sin(f1*t), cos(f2*t), t].flop; h.plot3(d, \spiral) ) ( // wound wiggle var f1 = 2; var f2 = 3; d = [sin(f1*t), cos(f2*t), t].flop; h.plot3(d, 'wiggly spiral') ) ( // damped helix var f1 = 10; var f2 = 10 ...
-
... helix var f1 = 10; var f2 = 10; d = [sin(f1*t), cos(f2*t), t].flop; h.plot3(d, \spiral) ) ( // wound wiggle var f1 = 2; var f2 = 3; d = [sin(f1*t), cos(f2*t), t].flop; h.plot3(d, 'wiggly spiral') ) ( // damped helix var f1 = 10; var f2 = 10 ...
-
... mber"; // some light patterns q = q ? (); q.ledPatterns = IdentityDictionary[ ('spiral' -> #[1,0,1,1,1,1,0,1,0,1,0,0,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,1,1,0,1,0,1,0,0,0,0,1,0]), ('leftRight' -> #[1,0,0,0,0,0,0,1,1,0,0,0,0,0,0, ...
-
... imes) ); } { ^WFSPath( outPoints, outTimes[..(outTimes.size - 2)], name); }; } *spiral { |nPeriods = 5, res = 10, startSize = 1, endSize = 0.1, length, name| var size, levels, points, times; size = (nPeriods * res).ceil.asInteger + 1; point ...