Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (764) Code (64) Doc (175) Help (16) Quark (509) SCDoc ↗ Forum ↗ Google ↗
  1. 082-function_plot_image2 Doc

    ... der img.setPixel(Image.colorToPixel(Color.hsv(func+1/2, 1, 0.75)), i, j); }; }; Pen.drawImage(Rect(0, 0, width, height), img); }; img.interpolation= \smooth; w.play; CmdPeriod.doOnce({img.free; w.close}); )

  2. WiiMote Doc

    ... mented instance methods address calibration connect deviceSpec disconnect id isOpen reconnect Examples IR tracking Classes | External Control WiiMote : Object use the Nintendo (tm) Wii Remote Source: WII.sc See also: HID Description The Wii ...

  3. Canvas3D Doc

    ... s)*sin(u); var z= minorRadius*sin(v); [x, y, z]; }); }) ) ); u.view.drawFunc= { Pen.fillColor= Color.grey(1, 0.1); //alpha set trail amount Pen.fillRect(Rect(0, 0, width, height)); }<>u.view.drawFunc; u.animate(40, {|t| u.transforms = [ Can ...

  4. Menu Doc

    ... eral kinds of events that can be registered for with the standard Object: -addDependant calls. Events broadcast by menu: \aboutToShow \aboutToHide \triggered (with the MenuAction that was triggered) \hovered (with action that was hovered ov ...

  5. SpeedLim Doc

    ... refresh; }, AppClock); uv.drawFunc = { |view| var b = view.bounds.moveTo(0, 0); Pen.color_(Color.white) .fillOval( Rect.aboutPoint( b.center, b.width * j * 0.5, b.height * j * 0.5 ) ); }; ) // argument passing: multiple values from OSCFunc ...

  6. Rect Doc

    ... enterTop_(x.center); d = y.rightCenter_(x.center); z = [a,b,c,d][count.mod(4)]; Pen.color_(Color.red).fillOval(x); Pen.color_(Color.white).strokeRect(z).stringCenteredIn( ["A", "B", "C", "D"][count.mod(4)], z, Font.default.size_(20), Color. ...

  7. 063-angents-fm_synth Doc

    ... .2, env= 0, pol= 1, amp= 1, pan= 0| var dry, wet, src, fmod, rmod, freq2, aenv, penv; fmod= InFeedback.ar(fmbusin, 1)*(fmamount*5000); rmod= InFeedback.ar(rmbusin, 1); penv= EnvGen.kr(Env.perc(pitchatk, pitchdec), t_trig, env*pol); freq2= f ...

  8. ActionQMenu Doc

    ... ; }; w.startRow; } ) ⧉ ✔ // add Sub menus, use icons ( ~icon = Image(40).draw({ Pen.fillColor = Color.green; Pen.fillOval(Rect(10, 10, 20, 20)); }); w = Window.new("ActionMenu Examples").front; // action arguments are |val,modifier,buttonNu ...

  9. String Doc

    ... nv mkdir pathMatch load loadPaths loadRelative resolveRelative standardizePath openOS Pathname Support shellQuote absolutePath asAbsolutePath asRelativePath withTrailingSlash withoutTrailingSlash basename dirname splitext YAML and JSON pars ...

  10. 062-angents-fm_synth Doc

    ... with mouse controlling world gravity //with sound where fmamount and rmamount depends on the distance to other agents ( s.waitForBoot{ var width= 300, height= 300, w, wgrav, world, n= 4, objsFunc, fmbusses, rmbusses, delay, dist, drums; //- ...

prev 11 12 13 14 15 16 17 18 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow