Pyramid Transform Pattern transform for 2D Design class