-
... x * dx, y * dy, dx, dy) ); Pen.fill } } }; fork({ 6.do { w.refresh; 2.wait } }, AppClock) ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Complex.schelp link::Classes/Complex::
-
... ound = Color.blue(val: 1, alpha: 1 - (i * 0.005)); 0.005.wait; }); w.close; }); AppClock.play(r); ⧉ ✔ Some examples do require lines to be executed one at a time, or certain lines to be executed first. By far the most common case of this is ...
-
... ; }; w.front; Routine({while({w.isClosed.not}, {u.refresh; (1/30).wait})}).play(AppClock); ) //--animation #2 ( var width= 400, height= 400, cnt= 0; var m= [ [0.5, 0, 0, 0.5, -0.25, 0.25], [0.5, 0.3, 0, 0.5, 0.25, 0.25], [0.5, 0, 0.3, 0.5, ...
-
... 40)); Pen.stroke; }; }; }; { while { run } { w.refresh; 1.0.rand.wait } }.fork(AppClock) ) ⧉ ✔ ( var w, run = true; w = Window("my name is... panel", Rect(128, 64, 800, 500)); w.view.background = Color.white; w.onClose = { run = false }; w ...
-
... ingColor_(Color.black); 0.2.wait; ~error.stringColor_(Color.red); 0.2.wait; }}, AppClock); ) Log(\myproject).error("Something's wrong!"); Log(\myproject).error("A big error has occurred!"); Log(\myproject).error("This is really a mess!"); ⧉ ...
-
... You can not use this Qt functionality in the current thread. Try scheduling on AppClock instead. ERROR: Primitive '_QWindow_AvailableGeometry' failed. ⧉ ✔ To avoid this issue use the AppClock: AppClock.sched(0,{ Window.new.front }) ⧉ ✔ or ...
-
... .5) * atorad + 0.5pi, e.value * atorad); GUI.pen.fill; if((actRotate.abs > 0), {AppClock.sched(frameInterval, {w.refresh})}, {count = 0;}); if(count%4 == 0, {panBus.set((actPoint.theta + (0.5pi)).wrap2(pi) * rtoang)}); }; c.mouseTrackFunc_( ...
-
... s three clocks, each of which has a help file. SystemClock // the most accurate AppClock // for use with GUIs TempoClock // to schedule in beats ⧉ ✔ The .play message is a convenience that allows one to write r.reset.play; // reset the rout ...
-
... that methods which call Cocoa primitives (i.e. GUI functions) must be played in AppClock . Inherited class methods Instance Methods . play ( argClock , doReset: false , quant ) From superclass: PauseStream Arguments: argClock (optional) Ove ...
-
... " leaf:"++a.currentLeaf).post; (" value:"++a.value).postln; 0.4.wait; })}).play(AppClock); ) //--changing position and font while active a.value_(['aaa']) a.bounds_(Rect(30, 30, 100, 20)); a.font_(Font("Geneva", 10)); a.refresh a.value; a.s ...