Modeline converter
Raspberry Pi hdmi_timings to X.Org modelines and back. Explained in the X.Org, MIPI and modelines post.
Sync polarity: 1 in hdmi_timings is +sync in a modeline, 0 is -sync. The three fields after the vertical timings (the two sync offsets and pixel repetition) are written as 0, the aspect ratio code is the nearest to the visible area, and a value with no pixel clock uses the MHz box. Nothing here needs JavaScript; each conversion is a plain link you can share.