Tree shadows and sand patterns