Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (738) Code (47) Doc (133) Help (42) Quark (516) SCDoc ↗ Forum ↗ Google ↗
  1. GMSymbol2DSlider Quark

    ... axSize = 96; var thisDisplayLine = false; var thisDisplayValues = true; var thisFontRatio = 0.1; var thisRoundValues; var thisXDisplayFunction = nil; var thisYDisplayFunction = nil; var thisHelpersStyle = \line; var thisDisplayHelpers = fal ...

  2. GMLinesButton Quark

    ... \right; var thisAllowRetrigger = false; var thisAllowMouseMove = true; var thisFontRatio = 0.4; var thisUnselectedRatio = 0.8; var thisDrawSelected = true; var thisAltIndex = nil; var thisDisplayAltValue = true; var thisSVGRatio = 0.8; *ne ...

  3. CollidingGUI Quark

    ... {|anApp| app = anApp; GUI.qt; palette = QPalette.dark; QtGUI.palette = palette; Font.default = Colliding.guiFont; buf = Buffer.alloc(app.server, 1024, 2); bus = Bus(\audio, 0, 2, app.server); synth = BusScopeSynth(app.server); controller = ...

  4. Image Quark

    ... eration, fraction.asFloat] ); }); } } */ drawStringAtPoint { arg string, point, font, color; var r; if(string.isNil, {^this}); r = string.bounds; Pen.use { Pen.translate(0, this.height); Pen.scale(1,-1); point.y = this.height - point.y; str ...

  5. DrawIcon Quark

    ... llOval( square ); } { Pen.strokeOval( square ); } }, sign: { |rect, text = "@", font, color| var center, radius, textBounds; center = rect.center; radius = rect.width.min( rect.height ) / 2; font = font ? Font( "Monaco", 12 ); textBounds = ...

  6. GMGridButton Quark

    ... \right; var thisAllowRetrigger = false; var thisAllowMouseMove = true; var thisFontRatio = 0.4; var thisUnselectedRatio = 0.8; var thisDrawSelected = true; var thisAltIndex = nil; var thisDisplayAltValue = true; var thisSVGRatio = 0.8; var ...

  7. 01_GuidedTour Quark

    ... // strings ~uv.drawFunc = { Pen.stringAtPoint("Can write STRINGS too", 10@200, Font("Futura", 24)); }; ~uv.refresh; ( // string, rect and ovals ~uv.drawFunc = { Pen.stringAtPoint("Can write STRINGS too", 10@200, Font("Futura", 24)); Pen.st ...

  8. mobile-objects Quark

    ... red.blend(~white, 0.7); ~buttonExtent = Point(25, 25); ~labelHeight = 16; ~labelFont = Font.default.copy.pixelSize_(11); ~sliderWidth = 200; ~xyExtent = Point(140, 145); ~gap = Point(5, 5); // this is defined in wslib but I don't want a dep ...

  9. PlotPoint Quark

    ... , <point; var <pointSize = 5, <pointColor, <lineSize = 1, <lineColor; var <labelFont, <flipped = true; *new { |point| point = point ? Point(1,1); ^super.new.init( point ); } init { |point| window = SCWindow( "Point" ).front; pointColor = po ...

  10. GMSwitchButton Quark

    ... iew { var thisStates; var currentState = 0; var thisDirection = \right; var thisFontRatio = 0.4; var thisSVGRatio = 0.8; var thisMaxFontSize = 32; *new { ^super.new.init; } init { super.init; this.setEventHandler( QObject.mouseUpEvent, \mou ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow