Simple square grid that is made of squares (well rect
)
Change the height, width and square vars to alter. It simply loops over number of columns and creates a row for each loop iteration.
Note: If you don't want to use lodash
-
change
_.round
toMath.round
-
the loop from
_.times(squaresColumn, function(n) {
tofor (var n = 0; n < squaresColumn; n++;) {