How do you connect the python turtle library to an HTML element so it can be seen in the app?

see this post which is probably the most relevant