Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (738) Code (47) Doc (133) Help (42) Quark (516) SCDoc ↗ Forum ↗ Google ↗
  1. 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 = ...

  2. 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 ...

  3. 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 ...

  4. TabbedViewTab Doc

    ... TabbedView2's labelPadding, depending on other settings, like the TabbedView2's Font, or tabHeight, etc. . focusAction add a focus action to the tab. For example enable a scope you are showing in the tab. . unfocusAction add an unfocus acti ...

  5. GMButton Doc

    ... tion mouseDownAction mouseUpAction action Graphical settings string stringRatio fontRatio maxFontSize orientation svg svgRatio free Internal Methods draw resizeSVG Inherited instance methods Examples Classes (extension) | GUI > Graphical Mo ...

  6. AMSynth GUI by trysonhardie (TrysonHardie) Code

    ... _("DAMPING") ; StaticText(w, Rect(460,160, 135,120)) .string_("AM\nSYNTH") .font_(Font("Purisa",36)) ; )

  7. 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 ...

  8. 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 ...

  9. 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 ...

  10. PG_Cookbook03_External_Control Doc

    ... .new(window, Rect(5, 5, 140, 90)) .states_([["Pattern GO"], ["Pattern STOP"]]) .font_(Font.new("Helvetica", 18)) .action_({ |button| if(button.value == 1 and: { player.isNil or: { player.isPlaying.not } }) { player = pattern.play; } { playe ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow