Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1703) Code (71) Doc (521) Help (167) Quark (932) Plugin (12) SCDoc ↗ Forum ↗ Google ↗
  1. extRect-transformations Quark

    ... ft, top, width, height = this.asArray.min( aRect.asArray ); } translate { |deltaPoint| deltaPoint = deltaPoint.asPoint; ^this.class.new( *( this.leftTop.translate( deltaPoint ).asArray ++ [ width, height] ) ); } scale { |scalePoint| scalePo ...

  2. Polynomial Doc

    ... ultiplication and division, (complex) root finding and evaluation at a specific point for arbitrary degree polynomials. All methods should work for real as well as complex coefficients. Part of MathLib , a diverse library of mathematical fu ...

  3. RedBMP Doc

    ... Color.green]; b.data= {|i| var x= i%b.width; var y= i.div(b.width); b.palette[(Point(sin(x/6), cos(y/5)).rho>(x/b.width)).binaryValue]; }.dup(b.width*b.height); b.plot; ) b.write("~/Desktop/testredbmp1.bmp"); //save it to desktop b= RedBMP ...

  4. WsWindow Doc

    ... ited instance methods Examples a = WsWindow.new("new title", 8000, true); //now point a web browser to http://localhost:8000 (or http://yourIP:8000) "http://localhost:8000".openOS; NetAddr.myIP; //from NetLib; useful for connecting external ...

  5. Vector Quark

    ... isOrthogonal { |vector| ^(this <|> vector) == 0 } asAbstractVector { ^this } asPoint { ^Point(this[0],this[1]) } asRealVector { ^RealVector[this.x, this.y] } asRealVector2D { ^RealVector2D[this.x, this.y] } asRealVector3D { ^RealVector3D[t ...

  6. red04 Doc

    ... illColor= Color.green(0.6, 0.3); physics.particles.do{|p| Pen.addOval(Rect.aboutPoint(Point(p.position.x, p.position.y), p.mass*(1-(p.age/maxAge)), p.mass*(1-(p.age/maxAge)))); }; Pen.fill; }; win.front; CmdPeriod.doOnce({win.close}); Routi ...

  7. PlayBufFree Quark

    ... rver.default); } } PlayBufLoop { // dirty way to make a buffer loop between two points using a trigger // when endPos < startPos the buffer will play backwards *ar { arg numChannels, bufnum=0, rate=1.0, startPos=0.0, endPos=1.0, loop = 0.0, ...

  8. red04 Quark

    ... illColor= Color.green(0.6, 0.3); physics.particles.do{|p| Pen.addOval(Rect.aboutPoint(Point(p.position.x, p.position.y), p.mass*(1-(p.age/maxAge)), p.mass*(1-(p.age/maxAge)))); }; Pen.fill; }; win.front; CmdPeriod.doOnce({win.close}); Routi ...

  9. p_interpolate Quark

    ... ) .canUseUMapFunc_({ |unit, key, umapdef| unit.isKindOf( UPattern ).not && { [ Point, SimpleNumber, Array ].any({ |class| unit.getDefault( key ).isKindOf( class ) }); }; }) .mappedArgs_([ \input ]).category_( 'pattern_filter' );

  10. VoicerMIDISocket Quark

    ... ntrols.at(name) ?? { destination.mapGlobal(name, nil, value, spec) }; // if I'm pointing to a proxy, midi controller should point to a proxy also // respondsTo(\proxy) is false for VoicerProxies vcontrol = VoicerMIDIController.new(newMChan, ...

prev 81 82 83 84 85 86 87 88 89 90 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow