randomFactory public static Shape randomFactory(int canvas_width, int canvas_height) Create a random shape. Create a random shape to fit on a canvas of the given size. The shape will be no larger than half the size of the canvas and will fit completely on it. Parameters: canvas_width - the width of the canvas being used. canvas_height - the height of the canvas being used. Returns: the generated shape.