Processing script for generating abstract shapes in the style of Skolp
How it works
The script generates a number of rectangles (rows x columns) then connects them with rectangles of alternating colors and finishes the full shape with quads on the outer part.
The rist paramers regulates the four colors of the hexagons, the color of the rectangles and the color of the background.
The ROWS and COLS parameters regulate the number of rectangles in the shape.
MARGIN_RECT and MARGIN_POINT regulate the margin of the rectangle inside its box container and margin for of the vertex of the exagons inside the rectangle built from the sorrounding ractangle shapes.
RECT_WIDTH and RECT_HEIGHT regulates the ranges of variability of the dimensions of the rectangles expressed in percentage of the available space in the box minus the margin.
PADDING and EXTERNAL regulates the amount of space aroung the shape and the position of the external points.
The orientation of the gradient is regulated by nine radio buttons.
HUE_SHIFT regulates the amount of shift on the hue wheel of the gradient. Higher values means higher shift.
LEFT and RIGHT regulate the direction of the shift.
The script in released under MIT license