Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1875) Code (155) Doc (456) Help (116) Quark (1142) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. SpatioScope Quark

    ... et) .gui(parent) .start } init { |argBounds, argOffset| bounds = argBounds ?? { Rect(0,0,410,410) }; numChannels = locations.size; proxy = proxy ?? { NodeProxy.control(server, this.numChannels) }; group !? { proxy.parentGroup_(group) }; pro ...

  2. 234-3Dplane Doc

    //spinning plane / rectangle ( var width= 640, height= 480, w, theta= 0, speed= 0.01, plane; w= RedWindow("3Dplane", Rect(128, 64, width, height)).front; plane= Red3DPlane(width: 0.5, height: 0.8); //--loop w.draw{ theta= theta+speed; plane ...

  3. 234-3Dplane Quark

    //spinning plane / rectangle ( var width= 640, height= 480, w, theta= 0, speed= 0.01, plane; w= RedWindow("3Dplane", Rect(128, 64, width, height)).front; plane= Red3DPlane(width: 0.5, height: 0.8); //--loop w.draw{ theta= theta+speed; plane ...

  4. mainFXBut Quark

    ... fxZone.isNil or: { NTMI.g.main.fxZone.isClosed }) { var w = Window("mainFXBut", Rect(0, 0, 394.0, 79.0)).front; NTMI.g.main.fxZone = w.view; }; NTMI.g.main.mfxBut = Button( NTMI.g.main.fxZone, NTMI.g.main.fxZone.bounds.extent ).states_([ [" ...

  5. 049-pendulum-double Doc

    ... , ploc, angularAccel1, angularAccel2; //--world w= RedWindow("double pendulum", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 0.75, 0.01); //dim,grav,maxvel,damp //--obj ...

  6. 049-pendulum-double Quark

    ... , ploc, angularAccel1, angularAccel2; //--world w= RedWindow("double pendulum", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 0.75, 0.01); //dim,grav,maxvel,damp //--obj ...

  7. MHexPad Quark

    ... * 0.5); var halfColor = hiliteColor.copy.alpha_( hiliteColor.alpha * 0.5 ); var rect, fillRect, fillRect2, fillColor; var hexPoints = 7.collect { |i| Polar(center.y, 2pi * (i/6) + angle).asPoint + center }; Pen.fillColor = hexColor; Pen.mov ...

  8. VGFreqEditor Quark

    ... ue) }, {|box| this.extDetCent_(box.value) }, ].collect { |func, i| NumberBox(w, Rect(0,0, width / 5 - 3, 20)) .decimals_(3) .action_(func); }; boxes[[0, 1, 4, 9]].do { |box| box.enabled_(false).scroll_(false) }; } allVals { ^[ refVal, baseV ...

  9. JITView Quark

    ... with JITGui: * put into a zone with its own layout * make sure it works with direct placement, FlowLayout or new Layout schemes * know its own preferred size * know how to place itself in a Layout * flexify getVal function, * so PdefnGui c ...

  10. 236-3Dbox Doc

    ... r width= 640, height= 480, w, theta= 0, speed= 0.01, box; w= RedWindow("3Dbox", Rect(128, 64, width, height)).front; box= Red3DBox(); //--loop w.draw{ theta= theta+speed; box.rotation= RedVector3D[theta, theta, theta]; box.update; //--rende ...

prev 111 112 113 114 115 116 117 118 119 120 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow