Making of LLemMings

Added 'text' tool to level editor

ChatGPT: mostly human glue, but a prompt to get text dimensions below

This is how you would add a new tool to the 'drawing program'!

>>> Prompt:
Given a HTML 2D canvas context (variable called context) I need to get the width
and height of a string using variable font and font-size.

Give it to me as a function.

I don't need an explanation this time. Just give me the code.