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

LotkaVolterra : MultiOutUGen : UGen : AbstractFunction : Object
ExtensionExtension

2-species Predator-Prey model
Source: PredPrey.sc

Description

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.

http://tai-studio.org

Class Methods

LotkaVolterra.categories

LotkaVolterra.ar(freq: 22050, a: 1.5, b: 1.5, c: 0.5, d: 1.5, h: 0.05, xi: 1, yi: 0.2, mul: 1.0, add: 0.0)

Arguments:

freq

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

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 withthis

add

add that

LotkaVolterra.equation

returns

Inherited class methods

Instance Methods

Inherited instance methods

Examples