We can achieve more sophisticated structures and systems of arbitrary complexity by means of combining individual sprites, transformations, and a set of specialized techniques. Typical examples are the particle systems or the fractals.
A particle system is the granular synthesis (that is to synthesize complex sounds by means of using elementary sonic grains) equivalent to a computer graphics context, wherein we generate complex visual structures by means of dispersing elementary particles in space. The latter are usually, but not exclusively, instances of the same prototype. Much like a granular synthesis engine, we typically permute each particle's appearance to allow divergence. Particles may be distributed in space in a number of ways according to canonical, noncanonical, and even more complex patterns. The following code randomly spreads windmills on our canvas:
( // An a-canonical particle system var window = Window("An a-canonical particle system",640...