This needs creating more JavaScript. The separation of problems breaks down very quickly once you use JavaScript for layout. It can be under no circumstances just A fast 1 liner.??????????????????????????????????????????create a 1ch cube and see how large it is in the target device (from the fiddle its px), estimate the quantity of figures per line