for(int i = 0; i < nb_iterations_per_steps; i++) {
           scalar_t xf = grabbed_polygon->absolute_x(grab_relative_x, grab_relative_y);
           scalar_t yf = grabbed_polygon->absolute_y(grab_relative_x, grab_relative_y);
-          cout << "xf = " << xf << " yf = " << yf << endl;
           if (xf < 0 || xf >= world_width || yf < 0 || yf >= world_height) {
             failed = 1;
           }
         }
       }
     }
-
-    if(failed) cout << "** FAILED" << endl;
-    else cout << "** DONE" << endl;
-
   } while(failed);
 
   for(int t = 0; t < nb_images; t++) {
 
 
 ######################################################################
 
-x = flatland.generate_sequence(1, 3, 80, 80, True, True)
+x = flatland.generate_sequence(10, 6, 80, 80, True, True)
 
 sequences_to_image(x, gap = 2, gap_color = (0, 0, 0)).save('sequences.png')