WaveTerrain:
Filter:
Classes (extension) | UGens > Buffer

WaveTerrain : UGen : AbstractFunction : Object
ExtensionExtension

wave terrain synthesis
Source: SLUGens.sc

//SLUGens released under the GNU GPL as extensions for SuperCollider 3, by Nick Collins, http://composerprogrammer.com/index.html 

Description

Specify a surface z(x,y) via a buffer and scan it from the x and y inputs.

Class Methods

WaveTerrain.ar(bufnum: 0, x, y, xsize: 100, ysize: 100, mul: 1.0, add: 0.0)

Arguments:

bufnum

Your surface is a two dimensional array, but specified via a one dimensional buffer. The convention is exhibited below; note that you have to pass in the surface dimensions as well.

x
y

audio rate scanning instructions. Both values must be in the range 0.0 to 1.0, or they are wrapped into this range.

Inherited class methods

Instance Methods

Inherited instance methods

Examples