On my website (school/math) my users need 24 images for a game. The content of every image is a LaTeX expression, client-side rendered to an image with this code: src = "https://latex.codecogs.com/svg.latex?" But I am not happy with so many calls per game, sometimes 30 of my students are playing at the same time. I prefer rendering in PHP serverside, or javascript clientside. I don't have Node.js (think I cannot run this on my hosted server). I like to be 'self supporting' and not depending on codecogs.
Can anybody help me with a snippet, link or suggestion? Thnx!