<
Kingdom of Pattern
>

Method Modules

A method module is something that adds a batch of methods to an image generator. Each supports the generation of a certain sort of image. For example grid.mjs enables the construction of visual grids, such as this one,

media

and drop.mjs generates images by dropping elementary shapes onto the image at random, while avoiding collisions, as illustrated by this example.

Method modules can, and usually are, used together. They are described one by one in the following sections of this document.