Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1735) Code (118) Doc (482) Help (111) Quark (1019) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. SWMiniBeeGui Quark

    ... { detectedNodes = Set.new; w = Window.new("XBee", Rect( 0, 280, 200, 150 )); w.view.decorator = FlowLayout.new(w.bounds,2@2,2@2); StaticText.new( w, 200@22).string_( "XBee Network").align_( \center).font_( GUI.font.new( "Helvetica Bold", 1 ...

  2. ScatterView Doc

    ScatterView: Filter: Description Class methods new Inherited class methods Instance methods data refresh drawMethod symbolColor isHighlight highlightItem highlightRange highlightColor highlightSize background Inherited instance methods Exam ...

  3. Activity Doc

    ... o(0,0)).align_(\center) .string_("click and drag to charge activity level."); w.view.mouseMoveAction = { |view, x, y| var mousepos = (x@y); var diff = mousepos - (mp ? mousepos); a.add(diff.rho * 0.05); mp = mousepos; a.level.postln; }; ) ⧉ ...

  4. PointView Quark

    PointView : View { var <points; // points should be Cartesians var <pointsNorm; // points normalized to rho = 1 var <connections; var axisPnts; var <pointsPx; // pixel location of each point relative to view center point (0,0) // drawing va ...

  5. Color-test Quark

    ... Window( this.asString ).front; window.drawHook = { |vw| var bounds; bounds = vw.view.bounds; if( alpha < 1 ) { // transparency grid (bounds.height/tileSize).ceil.do({ |i| (bounds.width/tileSize).ceil.do({ |ii| if( ((i + ii) % 2) == 1 ) { Pe ...

  6. MFdef_Gui Quark

    ... | but.value = mf.activeNames.postln.includes(but.states[0][0].asSymbol) }; }; w.view.layout = HLayout( VLayout( StaticText(w).string_("modes"), *modebuts = mf.modes.keys(Array).sort.collect { |modeName| Button(w).states_([[ modeName ], [mod ...

  7. SystemsEncounter Quark

    ... nnelExpand, update, numChannels) } value {|string| window.notNil.if { window.cmdView.string = string; }; super.value(string); } valueNoUpdate {|string| super.value(string); } setFB {|key, val| this.set(key, \mix, 1/(val.abs+1), \feedback, v ...

  8. runnerGUI Quark

    // Setup a GUI to view/control an Actant to be passed RunnerGUI { var <>runner, <>yStep, <>w, <>gui, <>x, <>y ; var <max, guiArr, <controlNum ; var runnerControl ; *new {Ê arg runner, yStep = 35, x = 1040, y = 900, controlNum ; ^super.new.i ...

  9. ScatterView2 Quark

    "ScatterView2" ; ( // three dimensional dataset d = ({1.0.rand}!9000).clump(3); w = SCWindow .new("ScatterView Example"); v = ScatterView2 (w, Rect (10, 10, 380, 380), d); v.selectionMode = \nextNeighbour ; v.background = Color .black; w.fr ...

  10. SynthBoxNumberBoxView Quark

    /* FILENAME: SynthBoxNumberView DESCRIPTION: Simple numberbox with a lable AUTHOR: Marinus Klaassen (2012, 2021Q3) EXAMPLE: SynthBoxNumberView(bounds:400@50).front().action_({ |sender| sender.postln }); */ SynthBoxNumberView : View { var <n ...

prev 101 102 103 104 105 106 107 108 109 110 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow