Path mechanics