Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (764) Code (64) Doc (175) Help (16) Quark (509) SCDoc ↗ Forum ↗ Google ↗
  1. 234-3Dplane Quark

    ... 2]; plane.update; //--render plane.render(1, 300); //1= exaggerate, 2= standard Pen.translate(width*0.5, height*0.5); Pen.strokeColor= Color.white; plane.drawOutlines; Pen.fillColor= Color.white; plane.draw(10); //dotSize }; w.play; CmdPeri ...

  2. VGScale Quark

    ... .postln; } } VGScaleGraph { classvar w, <>color; classvar <>scale = \pelog; *isOpen { ^w.notNil and: { w.isClosed.not } } *refresh { if(this.isOpen) { w.refresh } } *initClass { color = (semitone: Color.blue(0.5), scale: Color.red, insts: C ...

  3. 239-4Dhypercubes Doc

    ... c,vel,acc,mass,size hypercubes= {|i| Red4DTesseract()}.dup(n); //--loop w.draw{ Pen.strokeColor= Color.white; Pen.fillColor= Color.green(1, 0.25); world.objects.do{|o, i| thetas[i]= thetas[i]+speeds[i]; hypercubes[i].rotation= RedVector.new ...

  4. 239-4Dhypercubes Quark

    ... c,vel,acc,mass,size hypercubes= {|i| Red4DTesseract()}.dup(n); //--loop w.draw{ Pen.strokeColor= Color.white; Pen.fillColor= Color.green(1, 0.25); world.objects.do{|o, i| thetas[i]= thetas[i]+speeds[i]; hypercubes[i].rotation= RedVector.new ...

  5. 018-repulsive_discrete Doc

    ... and], nil, 15, pixelSize); //world,loc,vel,acc,mass,size }; }; //--loop w.draw{ Pen.smoothing_(false); Pen.strokeColor= Color.green; rep.loc= w.mouse/[wn, hn]; Pen.strokeRect(Rect.aboutPoint(rep.loc.round.asPoint*[wn, hn], pixelSize, pixelS ...

  6. 018-repulsive_discrete Quark

    ... and], nil, 15, pixelSize); //world,loc,vel,acc,mass,size }; }; //--loop w.draw{ Pen.smoothing_(false); Pen.strokeColor= Color.green; rep.loc= w.mouse/[wn, hn]; Pen.strokeRect(Rect.aboutPoint(rep.loc.round.asPoint*[wn, hn], pixelSize, pixelS ...

  7. HadronCanvasItem Quark

    ... _(Color.gray) .focusColor_(Color(alpha: 0)) .drawFunc_ ({|view| var tempString; Pen.font = Font("Helvetica", 10); tempString = parentPlugin.class.asString; if(parentPlugin.extraArgs.notNil, { tempString = tempString + parentPlugin.extraArgs ...

  8. 237-3Dboxes Doc

    ... (n); //world,loc,vel,acc,mass,size boxes= {Red3DBox()}.dup(n); //--loop w.draw{ Pen.strokeColor= Color.white; Pen.fillColor= Color.green(1, 0.25); world.objects.do{|o, i| thetas[i]= thetas[i]+speeds[i]; boxes[i].rotation= RedVector3D[thetas ...

  9. 237-3Dboxes Quark

    ... (n); //world,loc,vel,acc,mass,size boxes= {Red3DBox()}.dup(n); //--loop w.draw{ Pen.strokeColor= Color.white; Pen.fillColor= Color.green(1, 0.25); world.objects.do{|o, i| thetas[i]= thetas[i]+speeds[i]; boxes[i].rotation= RedVector3D[thetas ...

  10. 236-3Dbox Doc

    ... theta]; box.update; //--render box.render(1, 100); //1= exaggerate, 2= standard Pen.translate(width*0.5, height*0.5); Pen.strokeColor= Color.white; box.drawOutlines; Pen.fillColor= Color.white; box.draw; }; w.play; CmdPeriod.doOnce({w.close ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow