News for hackers. Stuff that matters.
Re:Show HN: Alter – convert text/code to an image by madflame991 on Saturday November 26, 2016 @08:35AM (#13043424)
No need to mutate/slice/sort anything

    Math.max(...lines.map((line) => ctx.measureText(line).width))

There are no comments on this comment yet.