symrep
is an attempt to make a general-purpose, hierarchical, functional
representation for media using function composition. Graphs that represent some
creative entity are constructed from nested function calls, these graphs can
then be sampled at different parameter values with varying results. symrep
is
written to be parameter-space agnostic, allowing for it to be used for
everything from 5.1-channel audio to functional representation of 3D models.
For example, the source code for audio synthesis (using the symrep.audio
package) in examples/sound.py
gives this sound file from the following graph:
The source code for solid modelling (using the symrep.solids
package) in
examples/solids.py
gives these solid bodies (rendered by MeshLab):
from this graph: