Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rendering mathematical notation in Python / OpenGL?

How can I render mathematical notations / expressions in Python with OpenGL?

I'm actually using pyglet however it uses OpenGL.

Such things as this:

Quadratic formula

I can't store static images as I am generating the expressions as well.

like image 835
AnnanFay Avatar asked Mar 04 '10 08:03

AnnanFay


1 Answers

I would say generate suitable latex expression, rendering it into an image, then load the image as a texture.

like image 166
freespace Avatar answered Sep 22 '22 21:09

freespace