Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1875) Code (155) Doc (456) Help (116) Quark (1142) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. 008-multiple-3d Doc

    ... wgrav, world, n= 60, s= 1.25, f= 0.25; //--world w= RedWindow("multi 3d test", Rect(128, 64, width, height)).front; wgrav= RedVector3D[0.1, 0.1, 0.1]; world= RedWorld3(RedVector3D[width, height, depth], wgrav, 20, 0.01); //dim,grav,maxvel, ...

  2. 025-barycenter Doc

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

  3. ScopeView Doc

    ... Button ; f = Buffer.alloc(s, 1024, 2); b = Bus.audio(s, 1); w = Window("Scope", Rect(150, Window.screenBounds.height-500, 790, 400)).front; c = ScopeView(w, Rect(10, 10, 380, 380)); // this is SCScope c.bufnum = f.bufnum; // IMPORTANT c.ser ...

  4. WsSimpleButton Doc

    ... this when using WsLayout. Arguments: wsWindow An instance of WsWindow bounds A Rect specifying the size of the widget. NOTE: Currently a relative measurement is used: 1 for full window width, 1 for full window height, e.g. Rect(0, 0, 1, 1) ...

  5. Pen Doc

    ... moveTo lineTo line curveTo quadCurveTo arcTo addArc addWedge addAnnularWedge addRect addOval Draw the path stroke fill draw fillStroke Construct and draw strokeRect fillRect strokeOval fillOval Gradients fillAxialGradient fillRadialGradient ...

  6. ActionMenu Doc

    ... Methods . new Create an ActionMenu Arguments: parent The parent view. bounds A Rect name The Menu Button Title items An Array of Strings or Associations (\key->function) showArrow show a little down-tick arrow, defaults to true Returns: an ...

  7. Button Doc

    ... From superclass: View Arguments: parent The parent view. bounds An instance of Rect , or a Point indicating width@height . Discussion: Example: ( w = Window.new("The Four Noble Truths"); b = Button(w, Rect(20, 20, 340, 30)) .states_([ ["th ...

  8. Canvas3D Doc

    ... Methods . new Create a new canvas view. Arguments: parent Parent View bounds A Rect describing the position and size of this view inside the parent. Returns: A new Canvas3D instance. Matrix transforms The following methods are used to crea ...

  9. 015-repulsive Doc

    ... ight= 300, w, wgrav, world, rep, obj; //--world w= RedWindow("repulsive test1", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld3(RedVector2D[width, height], wgrav, 10); //dim,grav,maxvel,damp //--objects re ...

  10. FancySlider Doc

    ... rder to enhance the existing function: ( w=Window.new.front; v = FancySlider(w, Rect (20,90,300,20)).action_{"test".postln}; v.drawFunc=v.drawFunc.addFunc({arg uview; var value_string = v.value.round(0.01).asString; var string_x; Pen.font = ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow