forked from: SketchSample6

see http://gihyo.jp/design/feature/01/frocessing/0004