Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (764) Code (64) Doc (175) Help (16) Quark (509) SCDoc ↗ Forum ↗ Google ↗
  1. 048-pendulums-linked Doc

    //linked pendulums ( var width= 300, height= 300, w, wgrav, world, n= 5, ploc; //--world w= RedWindow("linked pendulums", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 2 ...

  2. 048-pendulums-linked Quark

    //linked pendulums ( var width= 300, height= 300, w, wgrav, world, n= 5, ploc; //--world w= RedWindow("linked pendulums", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 2 ...

  3. Re: Recursion-toy-like vines with Pen by vividsnow (vividsnow) Code

    ... t.scale; radius = that.radius * scale; // Draw outline Pen.line(that.ox@that.oy,that.x@that.y); // not in qt... if((GUI.scheme == "CocoaGUI") and: (radius > 5.0), { Pen.setShadow(1@1, scal ...

  4. EQui Quark

    ... @ (params.gainByIndex(ind).linlin(range.neg,range,bounds.height,0,\none)); }); Pen.color_( Color.white.alpha_(0.25) ); Pen.addRoundedRect( bounds, 6, 6 ).fill; Pen.color = Color.gray(0.2).alpha_(0.5); Pen.addRoundedRect( bounds.insetBy(0,0 ...

  5. 265-janus_bunch_clocks Doc

    ... i-1), world.objects.wrapAt(i+1)); }; world.objects.do{|o| o.update}; //--render Pen.width= 5; Pen.strokeColor= Color.black; Pen.fillColor= Color.white; world.objects.do{|o| var p, x, y; p= o.loc.asPoint; Pen.addOval(Rect.aboutPoint(p, o.siz ...

  6. 265-janus_bunch_clocks Quark

    ... i-1), world.objects.wrapAt(i+1)); }; world.objects.do{|o| o.update}; //--render Pen.width= 5; Pen.strokeColor= Color.black; Pen.fillColor= Color.white; world.objects.do{|o| var p, x, y; p= o.loc.asPoint; Pen.addOval(Rect.aboutPoint(p, o.siz ...

  7. MxMatrixGui Quark

    ... te drag or a symbol like \isCntrl var <>background, <styles, <defaultStyle; var pen, boxWidth, boxHeight, boxBounds, font; var plus, mainInlets, mainOutlets, mainPlus; *new { arg mx, w, bounds; ^super.new.init(mx, w, bounds); } init { arg a ...

  8. TabbedView2 Quark

    ... e tab positions and orders focusHistory, <window, <context, // thu GUI COntext <pen, >closeIcon, >detachIcon, left = 0, // probably obsolete top = 0 // probably obsolete ; *new{ arg parent, bounds; ^super.new.init(parent, bounds); } init{ a ...

  9. 173-springs_soda Doc

    ... r.notNil, { over.loc= w.mouse; }); sprs.do{|spr| spr.update; //--render springs Pen.strokeColor= Color.grey; Pen.line(spr.object.loc.asPoint, spr.target.loc.asPoint); Pen.stroke; }; world.objects.do{|obj, i| obj.addForce(world.gravity); //w ...

  10. 173-springs_soda Quark

    ... r.notNil, { over.loc= w.mouse; }); sprs.do{|spr| spr.update; //--render springs Pen.strokeColor= Color.grey; Pen.line(spr.object.loc.asPoint, spr.target.loc.asPoint); Pen.stroke; }; world.objects.do{|obj, i| obj.addForce(world.gravity); //w ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow