createPattern : border

The value of each pixel is determined by the distance to the edge of the image. The closer one or more edges are, the darker the pixel will be. This pattern is not random, the same parameters create the exact same image.

Basic Example

"patina" : {
    "type"          : "createPattern",
    "patternName"   : "border"
}