Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... _drag; customForces= List(); } applyForces { if(gravity.isZero.not, { particles.size.do{|i| var p= particles[i]; p.force.add(gravity); }; }); particles.size.do{|i| var p= particles[i]; p.force.add(TraerVector3D(p.velocity.x*(0-drag), p.velo ...

  2. RingBuffer Doc

    ... methods new Inherited class methods Instance methods array readPos writePos maxSize size readable writable add pop overwrite do Inherited instance methods Examples Classes | Collections > Ordered'>Ordered RingBuffer : SequenceableCollectio ...

  3. GPolygon Quark

    ... vectors, so the unit knows what // control inputs are valid if (((vectors.flat.size / vectors.size) == 3), { ^this.multiNewList(['audio'] ++ vectors.size ++ vectors.flat ++ normal); }, { ^this.multiNew('audio', 'vector not array of arrays ...

  4. MultiSliderView Doc

    ... nherited class methods Undocumented class methods qtClass Instance methods Data size value valueAction reference index selectionSize currentvalue Display indexIsHorizontal elasticMode gap indexThumbSize valueThumbSize thumbSize startIndex A ...

  5. WFSPointGroup Quark

    ... itions; *new { |positions| ^super.newCopyArgs( positions ).init; } *generate { |size = 20 ...args| var editors, pointGroup; if( args.size == 0 ) { args = [ \circle ] }; editors = args.collect(_.asWFSPathGenerator); // use pathgenerators for ...

  6. extStartupChoose Quark

    ... ws; this.updateFiles; // prep for layout numToShow = numToShow ? this.fileNames.size; namesToShow = this.fileNames.wrapExtend(numToShow); numColumns = (namesToShow.size / 6).sqrt.roundUp.asInteger.max(1); numRows = (numToShow / numColumns). ...

  7. MixedBundleTester Quark

    ... ndle,i; server.listSendBundle(i * 0.001,bundle); }); SystemClock.sched(messages.size * 0.001,{ this.doFunctions; bundlesSent = bundlesSent.add(this); nil }); ^messages.size },{ this.doFunctions; bundlesSent = bundlesSent.add(this); ^0 }) } ...

  8. extCollection Quark

    ... ctSame { this.do({|item| var array; array = this.indicesOfEqual(item); if(array.size > 1, { array.copyRange(1, array.size-1).do({|item,index| this.removeAt(item-index); }); }); }); } busFunc { var args, brak1, brak2; if(this.size > 1, { bra ...

  9. PreProcessor Quark

    ... dDelimiter); var strings, i2; if(i0.isNil or: { i1.isNil }) { ^string } { if(i0.size != i1.size or: { i0.last > i1.last } or: { i0.first > i1.first }) { Error("syntax error. PreProcessor expects closed contexts.").throw }; strings = [string ...

  10. PlaybackData Quark

    ... 1)*1000000} accScale {^0.002/(2**4)} *new {|path, dataAction, initAction, bufferSize= 512| ^super.new(dataAction, nil, initAction, bufferSize).initPlaybackData(path); } initPlaybackData {|argPath| fileData= CSVFileReader.read(argPath.standa ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow