as shown in figure - figure - the second step of the mondrian art algorithm removes some lines at random finallythe algorithm randomly fills some rectangles with yellowredblueor blackas in figure - figure - the third step of the mondrian art algorithm randomly selects rectangles to fill with color mondrian art generator