Back

#vehicle-dynamics

1 APIs with this tag

Banked Curve API

Banked-curve and circular-motion dynamics as an API, computed locally and deterministically. The speed endpoint takes the radius of a curve and its banking (bank) angle and returns the frictionless ideal (design) speed at which the banking alone supplies the centripetal force, v = √(r·g·tanθ); give a coefficient of friction as well and it also returns the maximum safe speed before the vehicle slides outward up the bank, v = √(r·g·(tanθ+μ)/(1−μ·tanθ)), and the minimum speed before it slides inward down the bank — every speed in metres per second, km/h, mph and knots, plus the centripetal acceleration. The bank-angle endpoint inverts this: from a design speed and radius it returns the ideal banking angle θ = atan(v²/(r·g)) and the equivalent superelevation as a ratio and a percentage, the cant a road or railway needs so no side friction is used at that speed. The flat-curve endpoint handles an unbanked curve from the coefficient of friction: the maximum cornering speed v = √(μ·r·g) for a given radius and the minimum radius v²/(μ·g) for a given speed. Gravity defaults to standard 9.80665 m/s² and can be overridden. Everything is computed locally and deterministically, so it is instant and private. Ideal for road and racetrack design tools, vehicle-dynamics and driving-simulator apps, civil and transportation engineering, and physics education. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is curve banking and cornering dynamics; for projectile and SUVAT kinematics use a physics API.

api.oanor.com/bankedcurve-api