DisplacementMarker(displacement: (Double) -> Double, callback: MarkerCallback)
Trajectory marker that is triggered when the specified displacement passes. The exact time is determined at generation-time by calling displacement with the path length.