Python Breaking Distance calculator (includes the German DIN 1451 font for traffic signage)
Posted by jpluimers on 2022/09/20
If you ever want a good visual representation to compare the breaking distance for a car at two different speeds, and see at what speed you will hit the human “obstacle”, then use the Python script mkbremsweg.py
.
Git repository: [Wayback/Archive.is] joschtl / bremsweg · GitLab.
The image is generated in the current directory
It probably won’t work on Windows as it dynamically builds a very long command-line calling ImageMagick tool [Wayback/Archive.is] convert once to do all the drawing.
The text in the picture for now is hardcoded in German, but would be easy to adopt.
The fonts used are and FreeSans and [Wayback/Archive.is] Alte DIN 1451 Mittelschrift Font Family · 1001 Fonts (which the Germans use for Traffic Signage and is very similar to fonts used in other countries).
Calculations are based on [Wayback/Archive.is] Bremsweg-Rechner für Anhalteweg & Bremsweg – Johannes Strommer.
Via:
- [Archive.is] Kristian Köhntopp on Twitter: ““Ich fahre zu schnell. Mit wieviel Tempo Mangel ich das Hindernis platt?“ Script und GitHub Link… “
- [Archive.is] Christoph Meißner on Twitter: “In @StadtLeipzig wird ja dort wo Tempo 30 angeordnet ist, grundsätzlich (wenn überhaupt) erst ab 41 km/h geblitzt. Der Unterschied: dort wo man mit 30 km/h anhalten kann, hat man mit 40 km/h eine Restgeschwindigkeit beim Aufprall auf das Kind von 35 km/h. Warum? Weil man es kann! … “
- [Archive.is] Dr. bar. met. Paul B. on Twitter: “Für alle, die so was brauchen können, liegt mein #Anhalteweg-Veranschaulichungs-Bilder-Erstell-Skript jetzt auf … offen. Warnung: es ist nicht schön, und es braucht ImageMagick und Python.… “
–jeroen
Leave a Reply