Creating a window with 8x8 different shapes

Creating a window with 8x8 different shapes. The shape must be a triangle, a square, a circle, a pacman and an own shape.

The have to be centered inside the frames - even if the window will be resized. The have to be different in size and color.