rendered the pattern layout onto screen