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

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

  4. TabletView Doc

    ... nal arguments are only delivered in SwingOSC: absoluteX the absolute horizontal pen position on tablet (in tablet-native high-resolution) absoluteY the absolute vertical pen position on tablet (in tablet-native high-resolution) buttonMask a ...

  5. Canvas3DItem Doc

    ... fill Get/set the Boolean flag for stroking versus filling the item's path. See Pen: *stroke and Pen: *fill . Transformations . transforms An array of transformation matrices to be applied when displayed in the canvas. See Canvas3D: matrix_ ...

  6. Complex Doc

    ... Func = { n.do { |x| n.do { |y| var z = field[x][y]; z = f.(z); field[x][y] = z; Pen.color = Color.gray(z.rho.linlin(-100, 100, 1, 0)); Pen.addRect( Rect(x * dx, y * dy, dx, dy) ); Pen.fill } } }; fork({ 6.do { w.refresh; 2.wait } }, AppCloc ...

  7. QPen Doc

    QPen: Filter: Description Class methods Inherited class methods Instance methods Inherited instance methods Help template Classes | Undocumented classes QPen : Pen : Object (Undocumented class) Source: classNameRedirects.sc Description This ...

  8. PenDrawing Doc

    PenDrawing: Filter: Class methods new Inherited class methods Instance methods value renderIO penDrawedShapes render Inherited instance methods Examples Classes (extension) | FP PenDrawing Extension PenDrawing data structure Location: NOT I ...

  9. ScrollView Doc

    ... awAtPoint((i+1 * 20)@0, Font("Courier", 9), Color.black); }); }; d.drawFunc = { Pen.use({ Pen.translate(0, 5); drawFunc.value; }); Pen.translate(15, 0).rotate(0.5pi); drawFunc.value; }; e.drawFunc = { Pen.translate(40, 0).rotate(0.5pi); dra ...

  10. 260-oscillators Doc

    ... .amp/2+0.5*height; o.size= o.delta.abs*40+4; }; //--render world.objects.do{|o| Pen.fillColor= Color.grey((o.delta.abs*10+0.25).min(1), 0.8); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); ~world= world; ...

prev 11 12 13 14 15 16 17 18 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow