LotkaVolterra:

Filter:
Classes (extension)
| UGens > Generators > Chaotic

Extension

2-species Predator-Prey model

Source: PredPrey.sc

UGen implementing 4th order Runge-Kutta approximation of the Lotka and Volterras Predator-Prey model:

Implemented by Till Bovermann inspired by Gary William Flake's Book "The Computational Beauty of Nature". Implementation following on Lance Putnam's chaos UGens and MCLDs ChaosUGens.

freq |
update frequency, best set to Nyquist frequency. To modulate tonal qualities, use |

a |
meta-parameter, useful between 0 and 5; must not be negative. |

b |
meta-parameter, useful between 0 and 5; must not be negative. |

c |
meta-parameter, useful between 0 and 5; must not be negative. |

d |
meta-parameter, useful between 0 and 5; must not be negative. |

h |
step size for the approximation |

xi |
initial value for x, resets the UGen when changed |

yi |
initial value for y, resets the UGen when changed |

mul |
multiply |

add |
add |

returns

helpfile source: /usr/local/share/SuperCollider/Extensions/SC3plugins/ChaosUGens/HelpSource/Classes/LotkaVolterra.schelp

link::Classes/LotkaVolterra::

link::Classes/LotkaVolterra::