A photo of meKyle Cutler

Experiment: Painter


Image width:
Image height:
Reliance:
Deviation:
Delay:
Base color:
Neighbors:




Pattern:
Initial deviation:
Number of points:(approximate)
Angle:
Size:

Click inside the 'neighbors' grid to toggle a neighbor

Drag inside the 'neighbors' grid to move around

About Painter:

Painter allows you to create algorithmically generated "paintings" of various colors and patterns, and with varying degrees of randomness in several aspects. What follows is a description of each feature or option, and what it does:

  • Neighbors

    A way of deciding which cells can "grow" off of another cell.

    This determines the direction and pattern in which new pixels are drawn to the image.

    When many cells share the same neighbor, that neighbor is more likely to grow.

  • Reliance

    The degree to which cells with more neighbors are more likely to grow.

    For example, with a reliance of 1, if 5 cells share a common neighbor, that cell is 5 times more likely to grow than if only one cell had it as a neighbor.

    However, with a reliance of 0, the cell would be just as likely to grow in both situations.

    Should be positive.

  • Deviation

    The maximum amount that a new cell will change its color from its spawning neighbor cells.

    When a new cell grows from some number of neighbors, it takes the average color of those neighbors and deviates it by a random amount.

    Should be 0 - 255.

  • Delay

    The amount of time (in milliseconds) to wait between drawing successive iterations of the image.

    Should be positive.

  • Base Color

    The color that initial cells will spawn with.

  • Pattern

    The pattern in which initial cells are placed in the image.

    • Center

      A single cell is placed in the center of the image. Its color is the same as the base color.

    • Vertical

      A row of cells is spawned at the very top of the image. The following options are presented:

      • Initial Deviation

        The amount to deviate the initial cells' colors from the base color.

        Should be 0 - 255.

    • Random

      Cells are placed randomly throughout the image. The following options are presented:

      • Initial Deviation

        The amount to deviate the initial cells' colors from the base color.

        Should be 0 - 255.

      • Number of Points

        The number of initial cells to place in the image.

    • Hex

      Cells are placed along a grid in the image. The following options are presented:

      • Initial Deviation

        The amount to deviate the initial cells' colors from the base color.

        Should be 0 - 255.

      • Angle

        The angle formed by the x and y axis of the grid.

        The initial value (60) creates a grid that will generate hexagons (hence the name).

        Setting this to 90, for example, will generate squares.

      • Size

        The distance between the imaginary "gridlines".

        Roughly, the distance between the initial points.