Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3519) Code (203) Doc (848) Help (193) Quark (2225) Plugin (50) SCDoc ↗ Forum ↗ Google ↗
  1. RedBencode Quark

    ... //integer res.add($i).add(val).add($e); } {val.isString} { //string res.add(val.size).add($:).add(val); } {val.isKindOf(Set)} { //dictionary res.add($d); val.asSortedArray.do{|a| res.add(this.encode([a[0].asString, a[1]]))}; res.add($e); } ...

  2. 0_generals Quark

    ... Window.find(name).close } }; // use NTMI.g.bounds to test for different screen sizes, // e.g. NTMI.g.bounds = Rect(0,0,1024, 768); g.bounds = g.bounds ? Window.availableBounds; NTMI.g.screenScale = { min(g.bounds.width / 1920, Window.avail ...

  3. Psieve Quark

    ... minIndicesDict = IdentityDictionary.new; offsets.isNil.if { offsets = 0!(items.size) }; // if Sieve is passed adjust offset items.do { |item, i| item.isKindOf(Sieve).if { // set to nil with empty Sieve offsets[i] = (item.mode == \points).i ...

  4. JITGui Help

    ... ; parent can also be an existing window or a composite view. bounds - a desired size and position where to display a JITGui. can be nil, a point, or a rect. JITGuis know their minimum size ( minSize), and if bounds is nil, minSize is used. ...

  5. KrBusWatcher Quark

    ... ad; }); } unregister { |bus| bus = bus.asBus; nodes.removeAt(bus.index); (nodes.size == 0).if({ this.stopAliveThread }); } *register { |bus| var watcher; watcher = this.newFrom(bus.asBus.server); watcher.register(bus); } *unregister { |bus| ...

  6. KrBusWatcher Quark

    ... ad; }); } unregister { |bus| bus = bus.asBus; nodes.removeAt(bus.index); (nodes.size == 0).if({ this.stopAliveThread }); } *register { |bus| var watcher; watcher = this.newFrom(bus.asBus.server); watcher.register(bus); } *unregister { |bus| ...

  7. SCScrollTopView Help

    ... s directly. See also: SCWindow GUI SCScrollView Setting the Internal Bounds The size of the contained 'canvas' is determined by the bounds of the views which it encloses. Resize settings are thus ignored for contained views. To set it to a ...

  8. extMakeEnvirGui Quark

    ... 0, keysRotation: 0) }; newKeys = object.keys.asArray.sort; overflow = (newKeys.size - numItems).max(0); keysRotation = keysRotation.clip(0, overflow); newKeys = newKeys.drop(keysRotation).keep(numItems); specsToUse = newKeys.collect { |key ...

  9. 011-attraction2 Doc

    ... bject(world, loc, 0, RedVector2D[1, 1], mass, mass*5); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ world.objects.do{|o, i| world.objects.do{|oo, j| if(i!=j, { o.addForce(o.gravityForce(oo)); if(o.loc.distance(oo.loc)<(o.size*2) ...

  10. equal Quark

    ... et( \amount ); oldTimes = path.times; equalTimes = oldTimes.blend( ((1/oldTimes.size) * oldTimes.sum)!(oldTimes.size), amt ); switch( mode, \times, { newTimes = equalTimes; }, \speeds, { deltas = path.positions[1..].collect({ |pos, i| pos.d ...

prev 81 82 83 84 85 86 87 88 89 90 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow