Simulation w/ Javascript
( Number of cells:
Width of a cell:
Type:
1 dim
2 dim
)