Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (738) Code (47) Doc (133) Help (42) Quark (516) SCDoc ↗ Forum ↗ Google ↗
  1. Confetti2X by henklasschuit (henk.lasschuit) Code

    ... z, z, z)); Pen.fill; (~tabel[v,h]+32).asAscii.asString.drawInRect(r, Font("Times", 24)); //remove "+32" when maxValue > 222, this may initially cause a blank window }); }); }; //initialize array and put on scr ...

  2. FoaXformDisplay Quark

    ... amps = aeds.collect({ |me| me[3] }); Pen.stringCenteredIn("GAIN\n\n", gainRect, Font("Helvetica", 12), ctlColor); Pen.stringCenteredIn("\n\nMin\n", minRect, Font("Helvetica", 12), ctlColor); Pen.stringCenteredIn("\n\nMax\n", maxRect, Font(" ...

  3. GMMultiButton Quark

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

  4. PathActionQMenu Doc

    ... is specified. globalAction a global action which is run for any item. useDefaultFont if your item is a , override its font with menu font. defaults to true. If you want to completely customize MenuAction items, set it to false; lazyLoad def ...

  5. Window Doc

    ... nc = { |i, j| sin(i * 0.07 + (j * 0.0023) + 1.5pi) * much + 1 }; var scale; var font = Font("Helvetica", 40).boldVariant; loop { i = i + 1; Pen.font = font; string.do { |char, j| scale = func.value(i, j).dup(6); Pen.fillColor = Color.new255 ...

  6. ActionMenu Quark

    ... = true,<>globalAction, winPosition, <value = "default", <>closeOnSelect=true, <>fontSize=15,<toolTip, >arrowSize=6.5, name,level=0, action, window,>borderless=false; *new{|parent, bounds, name = "default",items,showArrow=true| ^super.new.in ...

  7. ToDo_notes Quark

    ... ameList; make the listView bigger, show strengths in listView? use equal-spaced font? * make synths and nodeproxies work; nodeID does derive numbers from clientID; bus allocation should be rather easy too; buffers? hmmm. r = Republic.new.ma ...

  8. Env editor with knobs to edit individual points by 0-2U (grirgz) Code

    ... ue); self.update_label; }; self.env_label = StaticText.new .font_(Font("Arial",10)) .string_("--"); knob_layout = HLayout.new( self.knob_level, self.knob_time, self.knob_curve, self.env_lab ...

  9. 5_drawer Quark

    ... ter ? 0 * 0.01, center.x, center.y); Pen.stringCenteredIn( lastLine, uv.bounds, Font("Monaco", 24), Color.grey(0.7) ); Pen.pop; }); // make draw window: Butz.add(\DRAW, { WinBounds.showOrMake(\DRAW) }); WinBounds.addMake(\DRAW, { // make a ...

  10. SNanoKontrol Quark

    ... x, position.y, 400, 200); //x, y, w, h var palette= SGUI.palette; var fnt= SGUI.font; var fntMono= Font.monospace(10); var fps= 15; //maximum gui updaterate - does not affect sensor input rate //--functions and objects var prefDict, tmp; va ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow