Simulation w/ Javascript

( Number of cells: Width of a cell: Type: )