A fractal analysis of shadowed and sunlit areas