physics - Spaceship acceleration for following waypoints

Responsive image
source