Optional native OpenGL cutaway for the Tk ECU screen. More...
Functions | |
| tuple[float, float, float] | piston_position (float phase, int cylinder) |
| Slider-crank geometry: piston height and its crank pin (y, z). | |
| point_on_path (points, fraction) | |
| Interpolate by distance so flow keeps a steady speed through elbows. | |
| create_engine_gl (parent, *, theme, on_failure, on_unavailable=None, on_frame=None) | |
| Create a GL widget, or return None when the optional backend is absent. | |
Optional native OpenGL cutaway for the Tk ECU screen.
Imports stay inside the factory so machines without GL can use the schematic. The inline-four is illustrative, not a model of the connected vehicle.