• spartanatreyu@programming.devOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 year ago

      Yeah, the obvious way would be to draw the text on a canvas, but you wouldn’t get sharp text then.

      I could nest a span with a negative translate or negative margin to overlap. It could be worth it to print each letter in a css grid (which would work since all the text is monospace) making it super easy to overlap text.

      There may be a more hacky/elegant solution which would be to use weird unicode to overlap characters, but I’m not sure how feasible it would be.