Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (764) Code (64) Doc (175) Help (16) Quark (509) SCDoc ↗ Forum ↗ Google ↗
  1. 092-livecoding-worlds Doc

    ... nder2D; }); o.addForce(~world.gravity); o.update; ~world.contain(o); //--render Pen.fillColor= Color.grey(1-(i/~n), 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; ~win.play; CmdPeriod.doOnce({~win.close}); ) //--livecoding interpolates ...

  2. 092-livecoding-worlds Quark

    ... nder2D; }); o.addForce(~world.gravity); o.update; ~world.contain(o); //--render Pen.fillColor= Color.grey(1-(i/~n), 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; ~win.play; CmdPeriod.doOnce({~win.close}); ) //--livecoding interpolates ...

  3. WFSPointArray Quark

    ... p .collect({ |item| item[0]@item[1] }); // points color.set; path.do({ |item,i| Pen.addAnnularWedge( item, 3, 3, 0, 2pi ) }); Pen.stroke; ^path; } plotSmooth { |speakerConf = \default| var path, angles; var window, fromRect; window = SCWind ...

  4. readme Quark

    ... //www.fredrikolofsson.com under code->sc //-- 140108 - RedFingerprint optimized pen drawing, removed RedWindow and corrected examples removed old html helpfiles 130225 - RedVector2D and RedVector3D optimizations 121130 - moved RedQWindow ou ...

  5. HrPresetMorph Quark

    ... nc_ ({ var lineXs, lineYs; if(isRefreshing, { # lineXs, lineYs = rotFunc.value; Pen.color = Color.black; Pen.line(lineXs[0]@lineYs[0] + mouseXY, lineXs[1]@lineYs[1] + mouseXY); Pen.stroke; }); this.calcNewParams(mouseXY); }); senseDistance ...

  6. Crear hints para los knobs Quark

    ... 8 + 20, 20), resizable: false, border: false) .alwaysOnTop_(true) .drawFunc_({ Pen.fillColor = Color.white; Pen.fillRect(tooltipWindow.bounds); }); tooltipText = StaticText(tooltipWindow, Rect(5, 2, text.size * 8 + 10, 16)) .string_(text) ...

  7. SCDraw Quark

    ... index + 1; }; view.drawFunc = { var removeThese = Array.new(); if(clear == 1, { Pen.fillColor = color; Pen.fillRect(win.view.bounds); }, { clear = 1; }); queue.do({ arg it, i; if(it[0] == (it[1]-1), { removeThese = removeThese.add(i.asInteg ...

  8. 101-particle-system_synth Doc

    ... m(w.mouse/([width, height])-0.5); //--render sys.do{|o| //iterate all particles Pen.fillColor= Color.grey(o.age/50, 1); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); w.onClose= {synths.do{|x| x.free}}; } ...

  9. 031-wave_synth Doc

    ... -1; synths[i].set(\amp, amp, \freq, freq, \pan, pan); }; sys.update; //--render Pen.fillColor= Color.grey(1, 0.4); sys.do{|o, i| Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); w.onClose= {synths.do{|x| x. ...

  10. 101-particle-system_synth Quark

    ... m(w.mouse/([width, height])-0.5); //--render sys.do{|o| //iterate all particles Pen.fillColor= Color.grey(o.age/50, 1); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); w.onClose= {synths.do{|x| x.free}}; } ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow