-
... 60 - 5, 20), 5, 5); Pen.color = colorLine; Pen.stroke; drawCurrent.(curr1); Pen.pop; // tail segment - move to joint2 Pen.push; Pen.translate(joint2.x, joint2.y); // tail segment 2 can rotate - 0.5 is 0.5pi: Pen.rotate(angle2 * pi); Pen.add ...
-
... c, i | prevPos[c] = prevPos[c].add(i) }; n = tokens.collect { | c | [prevPos[c].pop ? \newSynth, c] }; d = Array(prevTokens.size); prevPos.do(d.add(_)); [d.flat, n] } } diff3 { diffFunc = {| prevTokens, tokens | var d, n, prevPos = (); prev ...
-
... recentEmojiButton; var toggleEmojiButton; var messageTypeLabel; var messageTypePopUpMenu; var emojiMenu; var recentEmojiMenu; var recentEmojiStale; var chatMessageQueue; var chatMessageQueueSemaphore; var autoScroll; var chatMessageIndex; ...
-
... m(24, 32)) text(\"Saw.ar(1, 0.1)\", 60, 120)" ); n.renderAndDisplayImage ) push pop Use push and pop as a pair to localize rotation and skew values to code they enclose. For example: push() ...NodeBox code with rotation and/or skew commands ...
-
... Type { arg v; var f; var types; if(v.isNil, { // getter f = fileType.reverse; f.pop; ^f.reverse },{ // setter types = ["png", "gif", "tiff", "jpeg", "jpg", "pdf", "mov"].collect({ arg each, i; each.asSymbol }); if( types.includes(v.asSymbol ...
-
... c init".postln; initSignal = f.(parent.now); log = EventStream.buildFlatCollect.pop(-1); //"switching init- listOfCreatedObjects %".format(log).postln; initialState = Tuple2(log, initSignal); } { //or use the provided first signal initSigna ...
-
... ds.height - 25)); ActionButton(layout, "EDIT", { model.gui(nil, 900@600) }); // pop up to select dim /* splineGui.onSelect = { arg i; pointSelector.activeValue = if(i.isNil, {-1}, {i}); }; CXLabel(layout, "DIM:", 75); focusedDim = NumberEdi ...
-
... (type: \percussion, result: this.asPercussion) ] .reject{ |t| t.result.isNil } .pop ; ^(tests.notNil).if { (tests.type == \chord).if { tests.result.notes } { tests.result } } { this }; } asNote { ^Note.at(this); } asChord { ^Chord.at(this); ...
-
... idth; layout=argLayout; bounds.isNil.if{bounds = 350@20}; // if no parent, then pop up window # view,bounds = this.prMakeView( parentView,bounds); labelSize=labelWidth@labelHeight; numSize = numberWidth@labelHeight; // calculate bounds of a ...
-
... .notEmpty and: {time<maxTime}} { time = queue.topPriority; #item, clock = queue.pop; clock.beats = time; server.openBundle; thisThread.clock = clock; dt = item.awake(clock.beats, time, clock); b = server.closeBundle(false); if(b.notEmpty) { ...