Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (642) Code (56) Doc (227) Help (20) Quark (339) SCDoc ↗ Forum ↗ Google ↗
  1. 250-extra_params Quark

    ... olor= Color.white; Pen.strokeOval(Rect.aboutRedObject2D(attractor)); }; w.play; CmdPeriod.doOnce({w.close}); )

  2. RedEffectModuleGUI Quark

    ... , Rect(position.x, position.y, width, height), false ); parent= win; win.front; CmdPeriod.doOnce({this.close}); }); ^View(parent, Point(width, height)) .background_(GUI.skins.redFrik.background) .onClose_({this.close}); } }

  3. 140-mouse_listening_synth Quark

    ... r= Color.grey(0.7, 0.5); Pen.strokeOval(Rect.aboutRedObject2D(o)); } }; w.play; CmdPeriod.doOnce({w.close}); w.onClose= {world.objects.do{|o| o.state.at(\synth).free}}; })

  4. 060-angents-gol Quark

    ... e[\cell]*0.85+0.15, 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )

  5. 102-particle-system_fountain_synth Quark

    ... all particles Pen.addOval(Rect.aboutRedObject2D(o)); }; Pen.stroke; }; w.play; CmdPeriod.doOnce({w.close}); } )

  6. AlgaScheduler Quark

    ... t be inherited to be used!".error; } //Overwrite this (if needed) clearFunc { } cmdPeriod { this.clear; //stop and clear the previous task this.init(autostart: true); //re-init the task } start { if(task.isPlaying, { if(verbose, { ("AlgaThr ...

  7. NMLClock Quark

    ... ax(addrBook.onlinePeers.size, 1)); // minimum wait even if no other peers }); } cmdPeriod { this.startBeacons } makeOSCFuncs { compareDict = IdentityDictionary.new; // time here is elapsedTime when the processOSCPacket is called // since if ...

  8. 191-kmeans2 Quark

    ... hite; //Pen.fillOval(Rect.aboutPoint(c, 15, 15)); //draw centroid }; }; w.play; CmdPeriod.doOnce({w.close}); ) //--play with the number of centroids/clusters ~k= 15 ~k= 35 ~k= 2 ~k= 3 ~k= 10 //--add some gravity to make things harder ~www.g ...

  9. 092-livecoding-worlds Quark

    ... r.grey(1-(i/~n), 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; ~win.play; CmdPeriod.doOnce({~win.close}); ) //--livecoding interpolates worlds //--first create 2 different worlds ~black= RedWorld3(RedVector2D[400, 400], RedVector2D[0, ...

  10. KeyDownActions Quark

    ... ar globalShortcutsPath, globalShortcuts; var platform, scFunc; var syncStarter, cmdPeriodSynthRestart; var test; Class.initClassTree(Platform); Class.initClassTree(GUI); Class.initClassTree(SynthDescLib); Class.initClassTree(SynthDef); glob ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow