lib/gamnit: divide frame_core_flat in 2 parts to draw particles in between