Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1772) Code (147) Doc (407) Help (75) Quark (1139) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. ActiveCompositeView Quark

    ... }); topView = CompositeView( view, view.bounds.moveTo(0,0) ); } background_ { |color| view.background = color } background { ^view.background } bounds { ^view.bounds } bounds_ { |rect| rect = rect.asRect; view.bounds = rect; uview.bounds = ...

  2. Operator by alexander-lunt (Alexander Lunt) Code

    ... ////////////////////////////////GUI Server.default.waitForBoot({ var stringColor = Color.new255(250,250,210); var play = Button().states_([["play"]]).mouseOverAction_({helpView.string = "press the play button to play a note or press ...

  3. RepublicServerGui Quark

    ... } } makeViews { homeZone = CompositeView(zone, Rect(0,0,300, 100)) .background_(Color.grey(0.85)); homeZone.addFlowLayout; StaticText(zone, Rect(0,0, 300, 20)) .font_(Font("Monaco", 9)) .string_( "name status defs groups synths ugens peak a ...

  4. Cellular Automaton by coreyker (coreyker) Code

    ... ollect{|j| Button(w, Rect(space*i, space*j, space, space)) .states_([["", Color.black, Color.gray], ["", Color.black, Color.red]]) .action_({|x| if(x.value == 1, { cells = cells ++ [cellCreator.value(i+1, j+1, cells.size)] ...

  5. SGME_GUIPanel2 Quark

    ... | var knob; rect = Rect(left, top, size, size); knob = SGME_Knob(parent, rect) .color_([blue, black, white, nil]) .mode_(\round) .step_(step); viewSizes = viewSizes.add([knob, rect]); parameterViews.put("/filterBank/" ++ (62.5*(2**(num))).c ...

  6. MassEditU Quark

    ... // all units have to be of the same Udef ^super.newCopyArgs.init( units ); } guiColor { ^units.detect(_.respondsTo(\guiColor)) !? _.guiColor ?? { Color.clear; } } init { |inUnits, active = true| var firstDef, defs; var dkey, dval; units = i ...

  7. geoListener Quark

    ... tener Position Controller",Rect(800, 80, 270, 120)).front; //w.view.background_(Color(0.9, 0.9, 0.9)) ; ystep = 30; xstep = 250*0.5; c = StaticText.new( w, Rect( 0, 0, xstep, ystep )).string_("<-- or a = turn left").stringColor_(Color(0, 0, ...

  8. 180-distance_lines Doc

    ... ass, mass*10); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ Pen.fillColor= Color.grey(0, cnt.fold(0, 500)/10000); Pen.fillRect(Rect(0, 0, width, height)); world.objects.do{|o| world.objects.do{|oo| var dist= o.loc.distance(oo.lo ...

  9. 180-distance_lines Quark

    ... ass, mass*10); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ Pen.fillColor= Color.grey(0, cnt.fold(0, 500)/10000); Pen.fillRect(Rect(0, 0, width, height)); world.objects.do{|o| world.objects.do{|oo| var dist= o.loc.distance(oo.lo ...

  10. Automation Quark

    ... ; button = GUI.button.new(win, Rect(90, 70, 50, 25)); button.states = [ ["off", Color.white, Color.black], ["on", Color.black, Color.white], ["standby", Color.yellow, Color.gray] ]; button.action = { ("My own button action says:" + button.v ...

prev 91 92 93 94 95 96 97 98 99 100 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow