2D simulation