Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (447) Code (33) Doc (84) Help (29) Quark (300) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Complex Doc

    ... 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::

  2. How-to-Use-the-Interpreter Doc

    ... 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 ...

  3. RedIFS Doc

    ... ; }; 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, ...

  4. Pen Doc

    ... 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 ...

  5. Log Doc

    ... 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!"); ⧉ ...

  6. UserFAQ Doc

    ... 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 ...

  7. CircleRamp Doc

    ... .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_( ...

  8. 19_Scheduling Doc

    ... 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 ...

  9. Task Doc

    ... 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 ...

  10. PopUpTreeMenu Doc

    ... " 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 ...

prev 1 2 3 4 5 6 7 8 9 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow