Failed Experiment: Svg Tweets

Cool idea:

However, I couldn’t make it work well enough for me. This is a log of my experiments. The writing is not polished and there very well may be mistakes.

Later, I found, which is a Go implementation of edent’s original idea. To make this work, they have to calculate the SVG height. ulated height is then hard-coded in the resulting SVG file. In theory, I could do something similar in Python, but I haven’t tried yet.

  1. First attempt: Generating SVG files
  2. Second attempt: Calculating the size in JavaScript
  3. Third attempt: bounding rects, bboxes, …

To try:


Comments are hosted on this site and powered by Remark42 (thanks!).

Webmentions are hosted on remote sites and syndicated via (thanks!).