-
... ( var w, addslider, speedslider, synth; w=Window("freq modulation", Rect(100, 400, 400, 300)); w.view.decorator = FlowLayout(w.view.bounds); synth={arg x=0, addz = 100, speed = 5; (60..100).do{|f| x=SinOsc.ar(f+[0,f ] ...
-
... downward; 2. If a boundary is encountered or if two agents collide, reverse direction; 3. If two agents attempt to occupy the same cell, each agent should rotate 90 degrees to its left and continue moving Sound is generated whenever a ...
-
... tionary[]; var syn, scopeSyn, scope, func, bus, buffer; w = Window("Scope", Rect(0, 0, 800, 500)); ctr[\defaultfreqs] = 60 ! 6; ctr[\defaultfine] = 0.0 ! 6; ctr[\defaultamps] = [-12] ++ (-120 ! 5); gui[\views] = [\topBar, \scope ...
-
... .new(maxWidth + 1, maxHeight + 1); var go, total; w=Window("Confetti3", Rect(400, 300, z*(maxWidth+2), z*(maxHeight+2))).front; w.view.background_(Color.white); w.front; w.drawFunc = { for (1, maxHeight, {arg v; for (1, ...
-
... 400@400; // where to put the gui window w = Window.new("CloudGenMiniFM", Rect.fromPoints(posPoint, (posPoint + (400@360)))).front; w.view.decorator_(FlowLayout(w.bounds.copy.moveTo(0, 0))); w.view.decorator.nextLine; // a ...
-
... out.button = ((layout.width/numCols)@(layout.height/numRows)); layout.center = Rect( 0, 200, layout.width, layout.height + (layout.button.y+10)); // window window = Window("MATRIX", layout.center, resizable:false, border:true).front; ...
-
... depends on column in array 1 ) ); }).add; w=Window("Confetti3", Rect(400, 300, z*(maxWidth+2), z*(maxHeight+2))).front; w.view.background_(Color.white); w.front; w.drawFunc = { for (1, maxHeight, {arg v; for (1, ...
-
... take e byte! Energy increases. 2. Age is increased by 1. 3. Determine ypur direction Are you hungry? Find food. Not hungry? Find someone to play with 4. take the step. Energy decreases by 1. 5. as 1. 6. Is there another beastie wh ...
-
... value.wait; }}); // Grain display window = Window.new("Grain display", Rect(200, 300, 740, 300)); fileView = SoundFileView().readFile(soundFile).gridOn_(false); grainView = UserView().resize_(5); window.layout = StackLayou ...
-
... nob, active; active = false; ~a = Synth(\SimpleSynth); w = Window("Test",Rect(0, 0, 200, 200), scroll: true); w.front; knob = EZKnob(w, 112@70, 'freq', ControlSpec(20, 20000, step: 1, default: 20, units: 'hz'), { arg knob; ~a.se ...