This tutorial explains how to create a simple pattern, then how to use it