# How to render LaTeX?

**URL:** https://discourse.processing.org/t/how-to-render-latex/31841
**Category:** Coding Questions
**Created:** [August 22, 2021, 4:08pm UTC](https://discourse.processing.org/t/how-to-render-latex/31841 "2021-08-22T16:08:27Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Ariadne](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@Ariadne](https://discourse.processing.org/u/Ariadne)
#### Post date: [August 22, 2021, 4:08pm UTC](https://discourse.processing.org/t/how-to-render-latex/31841/1 "2021-08-22T16:08:27Z")

</div>

For a recent math visualizer I was programming, I needed to render LaTeX. I normally use Manim for such visualisations, but this time I decided to use p5.js. But it appears that there is no library to do this.

What can I do?

---

<div class="post-metadata">

### Author: ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)
#### Post date: [August 22, 2021, 4:23pm UTC](https://discourse.processing.org/t/how-to-render-latex/31841/2 "2021-08-22T16:23:45Z")

</div>

Different idea

:: [Using MathJax in the forum (testing) - #5 by quark](https://discourse.processing.org/t/using-mathjax-in-the-forum-testing/19970/5)

---

<div class="post-metadata">

### Author: ![mcintyre](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mcintyre/32/14561_2.png) [@mcintyre](https://discourse.processing.org/u/mcintyre)
#### Post date: [August 23, 2021, 3:25am UTC](https://discourse.processing.org/t/how-to-render-latex/31841/3 "2021-08-23T03:25:18Z")

</div>

@two.ticks has done some excellent work on the [p5.teach](https://two-ticks.github.io/p5.teach.js/docs/index.html) library. Have a look and let us know if you think it could be useful in your work.

Here’s a post from earlier this summer: [Animating maths in p5.js](https://discourse.processing.org/t/animating-maths-in-p5-js/31583)

---

<div class="post-metadata">

### Author: ![Ariadne](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@Ariadne](https://discourse.processing.org/u/Ariadne)
#### Post date: [August 23, 2021, 4:05am UTC](https://discourse.processing.org/t/how-to-render-latex/31841/4 "2021-08-23T04:05:35Z")

</div>

Thanks! I’ll make sure to check out the library, since it could potentially be very useful for my future projects. However, I’ve already found the answer to my problem in one of your own answers: [LATEX in processing - #4 by mcintyre](https://discourse.processing.org/t/latex-in-processing/19691/4)

---

<div class="post-metadata">

### Author: ![mcintyre](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mcintyre/32/14561_2.png) [@mcintyre](https://discourse.processing.org/u/mcintyre)
#### Post date: [August 23, 2021, 2:40pm UTC](https://discourse.processing.org/t/how-to-render-latex/31841/5 "2021-08-23T14:40:10Z")

</div>

Ha that’s fun. Glad to hear it!
