Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (49) Code (7) Doc (18) Help (5) Quark (19) SCDoc ↗ Forum ↗ Google ↗
  1. Bouncy_Balls Quark

    //Bouncy_Balls //Originally created by Jeffrey Traer Bernstein http://murderandcreate.com/physics/ ( var width= 400, height= 400; var win= Window("Bouncy Balls", Rect(100, 100, width, height), false); var usr= UserView(win, Rect(0, 0, width ...

  2. DimpleConstraint Quark

    ... rty 'force' (x,y,z). Rotational constraints (with one axis, i.e. piston, hinge, ball) support also 'torque'. The constraints 'universal' and 'hinge2' can have two torques (properties 'torque1' and 'torque2'). Creation / Class Methods *lasti ...

  3. BlumUGen Quark

    ... anced signal */ BlumBalance : BlumUGen { *ar { |in, angle| var left, right; var balL, balR; // check input is stereo this.confirmStereoInputs(in); #left, right = in; balL = 2.sqrt * ((pi/4) - angle).cos * left; balR = 2.sqrt * ((pi/4) - ang ...

  4. 170-spring Quark

    //simple spring //mouse controls red ball (target) ( var width= 300, height= 300, w, world, wgrav, obj, trg, mp; //--world w= RedWindow("spring test", Rect(128, 64, width, height)).front; mp= w.mouse; wgrav= RedVector2D[0, 0.98]; world= Red ...

  5. 171-springs_more Quark

    //more springs. RedSpring is just a simple helper class //mouse controls red ball (target) ( var width= 300, height= 300, w, world, wgrav, objs, sprs, trg, mp, n= 8; //--world w= RedWindow("more springs", Rect(128, 64, width, height)).front ...

  6. 172-springs_chain Quark

    //chain of springs. //mouse controls red ball (target) ( var width= 300, height= 300, w, world, wgrav, objs, sprs, trg, mp, n= 18; //--world w= RedWindow("chain of springs", Rect(128, 64, width, height)).front; mp= w.mouse; wgrav= RedVector ...

  7. 173-springs_soda Quark

    //spring construction inspired by soda constructor //mouse drags around balls ( var width= 300, height= 300, w, world, wgrav, sprs, over, n= 10; //--world w= RedWindow("soda springs", Rect(128, 64, width, height)).front; wgrav= RedVector2D[ ...

  8. Dimple Quark

    ... arguments for the constraint (should be an Array). type The type of constraint (ball,hinge,hinge2,universal,fixed,slide,piston) world Access to the DimpleWorld camera Access to the camera in dimple cursor Access to the cursor in dimple drop ...

  9. SWDataNetworkLog Quark

    ... etwork.setSpec( spec ); // if spec was not local, it may be included in the tar-ball // if ( network.spec.isNil ){ if ( reader.tarBundle ){ reader.extractFromTar( spec ++ ".spec" ); }; network.spec.fromFileName( reader.pathDir +/+ reader.fi ...

  10. MultiFileWriter Quark

    ... s. Additionally, it can zip each file that is written, and bundle them in a tar-ball. This class uses the programs tar and gzip for the bundling and compression. The interface is written so that you can use this class easily instead of anot ...

1 2 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow