Processing code (java) for Boustrophedon Cellular Decomposition