Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... userView is scaled and translated internally in such a way that the fromBounds rect fills the bounds . If no fromBounds are specified ScaledUserView used the bounds for this instead, and thus doesn't scale anything. ( // resize the window ...

  2. random Quark

    ... ) .setSpec( \center, PointSpec( 200, 0.1@0.1 ) ) .setSpec( \radius, PointSpec( Rect(0,0,200,200), 0.1@0.1 ) );

  3. 122-collision_objects_synth Quark

    ... , Pan2.ar(z*e, pan)); }).add; s.sync; //--world w= RedWindow("collision test2", Rect(128, 64, width, height)).front; wgrav= RedVector2D[-0.1, 0.98]; //world xy gravity world= RedWorld3(RedVector2D[width, height], wgrav, 10, 0.1); //dim,grav ...

  4. XiiSpectralEQ Quark

    ... ; monoChList = XiiACDropDownChannels.getMonoChnList; win = GUI.window.new(name, Rect(point.x, point.y, 540, 243), resizable:false).front; msl = GUI.multiSliderView.new(win, Rect(10, 5, size/2 , 200)) .value_(Array.fill(512, 0)) //.value_(sp ...

  5. graphParser Quark

    ... '/methodr', '[', '/method', w.id, \getPeer, ']', \setAlpha, alpha)}); w.bounds_(Rect(500, 100, w.bounds.width*2, height)) ; inWidth = w.bounds.width-bound-bound ; doc = Document.listener.title_("Nim Chimpsky's Post Window") .background_(Col ...

  6. GMSequencer Quark

    ... xIndex; this.refresh; }; }; }; } draw { var caseSize = Point( super.interactionRect.width / thisValues.size, super.interactionRect.height ); var symbolSize = min( caseSize.x * thisSymbolRatio, caseSize.y * thisSymbolRatio ); symbolSize = s ...

  7. 210-patterns_and_particles Quark

    ... height= 480, w, wgrav, world; //--world w= RedWindow("patterns and particles", Rect(128, 64, width, height)).front; w.background= Color.white; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector[width, height], wgrav, 30, 0.1); //dim,gr ...

  8. runner Quark

    ... var wi = (runnerArray.size)*yStep ; var lab ; w = GUI.window.new("RunnerMixer", Rect.new(x, y, yStep*11.5, wi)) ; runnerArray.do({ arg runner, index ; GUI.staticText.new(w, Rect(0, index*yStep, yStep*2, yStep)) .string_(" "+runner.name.asSt ...

  9. nanoktl-objects Quark

    ... 8 rows: button, slider, button, knob with names origin = ~gap.copy, oneBound = Rect(0, 0, ~sliderWidth, ~buttonExtent.y), buttonExtent = ~buttonExtent, gap = ~gap.y, // must save colors because GUI object init runs in another proto ltAqua ...

  10. currency_converter Quark

    ... s ( //Setup GUI var nb1 = NumberBox(); var nb2 = NumberBox(); w = Window(bounds:Rect(200,200,200,100)).layout_( HLayout( StaticText().string_("Euro:"), nb1, StaticText().string_("Pound:"), nb2 ) ).front; ENdef(\x,{ var rate = 0.8; //euros v ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow