Create random colors and rectangles in ViewHelper