Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... heightCartPlane, rad, theta, func, cnt= 0, scale= 2; w= RedWindow("func plot", Rect(128, 64, width*scale, height*scale)).front; widthCartPlane= 16; heightCartPlane= 16; //--loop w.draw{ cnt= cnt+0.05%(width*scale); dx= widthCartPlane/(widt ...

  2. 250-extra_params Doc

    ... ticles, attractor, font= Font(Font.defaultMonoFace); //--world w= RedWindow("", Rect(128, 64, width, height)).front; world= RedWorld3(RedVector2D[width, height], RedVector2D[1, 1], 100, 0.5); //dim,grav,maxvel,damp //--particles (an Array w ...

  3. 011-attraction2 Doc

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

  4. 140-mouse_listening_synth Doc

    ... ght= 480, w, world, n= 10, synths; //--world w= RedWindow("listening pos test", Rect(128, 64, width, height)).front; world= RedWorld3(RedVector2D[width, height], damping:0.5); //dim,grav,maxvel,damp //--synthesis SynthDef(\beating, {|out= 0 ...

  5. DragBoth Doc

    ... and-drop sources and destinations. They are graphically represented as a simple rectangle, and their specialty is that they do not require the Cmd/Ctrl key to be held down to initiate dragging . Akin to StaticText they can store arbitrary c ...

  6. 191-kmeans2 Doc

    ... eight= 480, w, wgrav, world, n= 100, kmeans; //--world w= RedWindow("k-means2", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0); //dim,grav,maxvel,damp //--interface ...

  7. 047-pendulum_3d Doc

    ... w, wgrav, world, obj, ploc, s= 1, f= 0.1; //--world w= RedWindow("pendulum 3d", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0, 0]; world= RedWorld(RedVector3D[width, height, depth], wgrav, 20, 0.01); //dim,grav,maxvel,damp w. ...

  8. 043-pendulum-render Doc

    ... ht= 480, w, wgrav, world, n= 50, ploc; //--world w= RedWindow("pendulum test3", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.01); //dim,grav,maxvel,damp //--objec ...

  9. 046-pendulum5 Doc

    ... 0, height= 480, w, wgrav, world, ypos; //--world w= RedWindow("pendulum test5", Rect(128, 64, width, height)).front; w.clearOnRefresh= false; wgrav= RedVector2D[0, 0]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.001); //dim,gra ...

  10. 001-single Doc

    ... 300, height= 300, w, wgrav, world, n= 1; //--world w= RedWindow("vector test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[-0.4, 0.98]; //world xy gravity world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.25); //dim,gra ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow