use x and y sliders to change camera pos. black size and red size controls each square's size. red dist and black dist change each square's distance from the camera.
all code is mine.