Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... , world, acc, vel, loc, obj, visc, vv; //--world w= RedWindow("viscosity test", Rect(128, 64, width, height)).front; world= RedWorld(RedVector2D[width, height], 0, 30); //dim,grav,maxvel,damp //--objects acc= RedVector2D[0, 0]; vel= RedVect ...

  2. Resize Doc

    ... s ( var a; a = { |i| var w, b, x,k,t,p; k=i; i = i + 1; w = Window("resize:"+i, Rect(10 + (k%3 * 220), Window.screenBounds.height- [250,460,670].at(k/3), 200, 180)); b = w.view.bounds; x = CompositeView(w, w.view.bounds.insetBy(20,20)) .bac ...

  3. RedIFS Doc

    ... makeWindow Creates a Window and draws. Mainly for testing. Arguments: bounds a Rect that define window size and position background a Color . plot Creates a Window and an Image . Also mainly for testing. Arguments: width in pixels height i ...

  4. 177-springs_double Doc

    ... bj, obj2, trg, mp, spr1, spr2; //--world w= RedWindow("spring interconnected3", Rect(128, 64, width, height)).front; mp= w.mouse; wgrav= RedVector2D[0, 0]; world= RedWorld1(RedVector2D[width, height], wgrav, 30, 0.1); //dim,grav,maxvel,damp ...

  5. 010-attraction Doc

    ... ght= 300, w, wgrav, world, n= 3, att; //--world w= RedWindow("attractor test1", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.25); //dim,grav,maxvel,damp //--obje ...

  6. ScrollView Doc

    ... y be shown if the contents can not be resized small enough in the scrollbar's direction. See -canvas for further explanation. Restrictions NOTE: The View: -resize mode of the children is ignored. One should not use a decorator such as FlowL ...

  7. 016-repulsive2 Doc

    ... ht= 300, w, wgrav, world, n= 10, rep; //--world w= RedWindow("repulsive test2", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.1]; world= RedWorld(RedVector2D[width, height], wgrav, 5); //dim,grav,maxvel,damp //--objects rep= ...

  8. 020-friction Doc

    ... w, world, acc, vel, loc, obj, fric, ff; //--world w= RedWindow("friction test", Rect(128, 64, width, height)).front; world= RedWorld(RedVector2D[width, height], 0, 30, 0.8); //dim,grav,maxvel,damp //--objects acc= RedVector2D[0, 0]; vel= Re ...

  9. 026-multiple_barycenter Doc

    ... 300, w, wgrav, world, n= 3; //--world w= RedWindow("barycenter - many objects", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld3(RedVector2D[width, height], wgrav, 5, 0.1); //dim,grav,maxvel,damp //--object ...

  10. 021-superfriction Doc

    ... rld, acc, vel, loc, obj, fric, ff; //--world w= RedWindow("superfriction test", Rect(128, 64, width, height)).front; world= RedWorld(RedVector2D[width, height], 0, 30, 0.8); //dim,grav,maxvel,damp //--objects acc= RedVector2D[0, 0]; vel= Re ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow