Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1772) Code (147) Doc (407) Help (75) Quark (1139) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. 092-livecoding-worlds Quark

    ... .6)); }.dup(~n); //--loop ~win.draw{ if(~world.gravity[0]>1, { ~win.background= Color.red(1, 0.5); }, { ~win.background= Color.blue(~world.gravity[1], 0.5); }); ~world.objects.do{|o, i| if(i!=0, { o.addForceWander2D; o.addForceSeek(~world.o ...

  2. GMXYUserView Quark

    ... |polarity = \uni, orientation = \horizontal, helpersNumber, helperSubdivisions, color = nil, center = true, helperRatio = 1, subRatio = 1| var nHelpers = ((helpersNumber - 1) * (helperSubdivisions + 1)) + 1; var caseSize; if(polarity == \bi ...

  3. EaseGallery Quark

    ... ist(arguments).copyToEnd(2)++")"; Pen.use{ Pen.translate(pos.x, pos.y); Pen.fillColor= Color.white; //box background colour Pen.fillRect(rect); Pen.strokeColor= Color.black; //box border colour Pen.strokeRect(rect); Pen.fillColor= Color.bla ...

  4. AbstractGUIComponentCP Quark

    ... ); window.view.decorator = FlowLayout( window.view.bounds ); window.background_(Color.fromHexString("#282828")); window.onClose = { this.clear; }; } setCmdPeriodActions { cmdPeriodActionAdded.not.if({ CmdPeriod.add({ AppClock.sched(0.1, { t ...

  5. CXLabel Quark

    ... nt.new("Helvetica-Bold",fontSize); } } CXLabel : CXAbstractLabel { classvar <>bgcolor; *new { arg layout,string,width,height,minWidth=15,font; var new; new = super.new(layout,string,width,height,minWidth,font); new.background_(Color(0.98431 ...

  6. extGradient-fill Quark

    + Color { alphaCopy_ { |alpha=1.0| if( alpha == 1.0 ) { ^this; } { ^this.copy.alpha_(alpha * this.alpha); }; } } + Gradient { fill { |rect| if( direction == \h ) { ^Pen.fillAxialGradient( rect.left@rect.center.y, rect.right@rect.center.y, c ...

  7. CXLabel Quark

    ... t.new("Helvetica-Bold", fontSize); } } CXLabel : CXAbstractLabel { classvar <>bgcolor; *new { arg layout, string, width, height, minWidth=15, font; var new; new = super.new(layout, string, width, height, minWidth, font); new.background_(Col ...

  8. Frequency Modulation GUI Demo 2 by bruno (Bruno Ruviaro) Code

    ... modIndexKnob, modIndexNumber, modIndexLabel, volumeSlider, defaultFont, defaultColor, defaultAlpha, defaultStringColor, carrSpec, modSpec, devSpec, indexSpec, synth; defaultFont = Font("Verdana", 16, bold: true); defaultColor = Color ...

  9. 010-attraction Doc

    ... ], 1.5, 10); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ Pen.strokeColor= Color.green; Pen.strokeOval(Rect.aboutRedObject2D(att)); Pen.strokeColor= Color.white; world.objects.do{|o| if(o!=att, { o.addForce(o.gravityForce(att)); ...

  10. 010-attraction Quark

    ... ], 1.5, 10); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ Pen.strokeColor= Color.green; Pen.strokeOval(Rect.aboutRedObject2D(att)); Pen.strokeColor= Color.white; world.objects.do{|o| if(o!=att, { o.addForce(o.gravityForce(att)); ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow