Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (642) Code (56) Doc (227) Help (20) Quark (339) SCDoc ↗ Forum ↗ Google ↗
  1. 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}); } }

  2. 140-mouse_listening_synth Doc

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

  3. 060-angents-gol Doc

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

  4. 102-particle-system_fountain_synth Doc

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

  5. 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}}; })

  6. 060-angents-gol Quark

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

  7. 102-particle-system_fountain_synth Quark

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

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

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

  10. 191-kmeans2 Doc

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

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow