Home | Works | About

Box Fit Banner

Box Fit


Description

The box-fitter subdivides space according to a random partitioning strategy, fitting randomly sized equivalent areas within the overall working space. It is similar to the method used in the Pixel Robots applet.

Applets

BoxFit01

BoxFit01
"BoxFitter"
base class
just plain squares
to show the structure
shaded by area

BoxFit02

BoxFit02
"ColoredBoxFitter"
derived class
color areas based on
underlying texture

BoxFit03

BoxFit03
"JigglyColoredBoxFitter"
derived class
color areas based on
underlying texture
rotate by h/s/b

BoxFit04

BoxFit04
"FlippyTexturedBoxFitter"
derived class
draw texture itself
flip horz/vert randomly

Algorithm

A grid of box cells is created at some resolution less than or equal to the input image's resolution. Those cells are then allocated into smaller sub-areas in order to form the "pattern" of boxes.

Box Fit Algorithm

The source image is then "sampled" in some way to derive a coloring or texturing method for each box.

Gallery

530x630 71k

530x630 93k

630x530 140k

630x530 107k

630x630 199k

630x630 133k

630x530 149k

630x530 169k

 

Creative Commons License

© 2006 Dave Bollinger