Introducing Tread
Today I published Tread, a JavaScript library for modeling and realtime simulation of automotive tires. My master plan is to have Tread power the tire modeling for the high performance driving simulator that I have in development1.
At the time of this writing, Tread supports the most recent2 revision of Pacejka’s Magic Formula model. The next thing I’ll be doing is adding Harsh and Shyrokau’s model. After that, I’ll consider adding more empirical models or physically based models.
Currently the only demo of Tread’s functionality is a Jupyter notebook showcasing some charts that prove it correctly follows the Magic Formula model. I plan to have a realtime 3D webpage that somehow shows live how Slip Angle, Longitudinal Slip Ratio, and other inputs affect a tire’s cornering forces.
Tread’s docs can be found here on jsr.io.