-
... an, 1)); }).send(s); ); ) ( ~maxIndex=10; z=40; w=Window("Confetti2X", Rect(400, 300, z*~maxIndex, z*~maxIndex)).front; w.view.background_(Color.white); w.front; //function for drawing array on screen w.drawHook = { for ...
-
... ); */ Window.closeAll; win = Window.new("Frequency Modulation Fun", Rect(50, 50, 915, 400), resizable: false); win.front; win.background = windowColor; win.alpha = 0.95; win.onClose = {s.freeAll}; CmdPeriod.doOnce({Win ...
-
... * 0.1, 1, 0.01); }).play; try{~win.close}; ~win = Window('noise mixer', Rect(400,400,600,300)); ~win.front.alwaysOnTop_(true); ~reset = { b.value_(0.31); a.do{ |sl| sl.value_(0.5)}; Ndef(\x).resetNodeMap; }; a = {Slider( ...
-
... tons, data, synths, dims = [16,16], resolution = 4; w = Window("rand-n-step", Rect(50,250,dims[0]*22 + 10,dims[1]*22+10)); synths = Array.fill(dims[1], { |i| SynthDef('rstp'++i, { var sig = Pan2.ar( PMOsc.ar(80.exprand(10000) ...
-
... position of snake "head" var pos = round(height/2) @ (size + 1); //amount/direction to shift on each frame var shift = 0 @ 1; //for creating snake food var foodpos, foodcolor, tryfoodpos; //gui var win, u, deadbox; //functio ...
-
... =0; ~hhighest=0; ~vlowest = 16; ~hlowest = 16; z=40; w=Window("Confetti2", Rect(400, 300, z*~maxIndex, z*~maxIndex)).front; w.view.background_(Color.white); w.front; //function for drawing array on screen t={ w.drawHook = { ...
-
... 1); Out.ar(out, Pan2.ar(snd, 0, amp)); }).play; win = Window("Poussière", Rect(0, 0, window_size[0], window_size[1]), false); win.background_( frame_color ); slider = UserView( win, Rect( margin, margin, window_size[0] - ( margin * ...
-
... late_color_via_picker ) ) Pink ftw, D. */ var win = Window.new( bounds:Rect(300,300,300,600) ); var outer_view = UserView(); var modulated_color = Color.red; var modulate_color_via_picker; var color_picker; var get_color_p ...
-
( ~particles = 5; ~rect = Array.fill(512, {arg i; rrand(-1.0, 1.0)}); ~sig = Signal.sineFill(512, ~rect); ~buff = Buffer.sendCollection(s,~sig); SynthDef(\fm, { arg freq = 60, l_shift = 0, lfo_rate = 0.5,fm_ratio = 3, fm_amount, dur ...
-
Damped Driven Double Pendulum Sonification and Visualization by xavieredavenport (xavieredavenport) Code
... //////////////// width = 820, height = 820, w = Window("Double Pendulum", Rect(99, 99, width, height), false), u = UserView(w, Rect(0, 0, width, height)); u.clearOnRefresh = true; u.background = Color.white; w.front; u.frameRat ...