Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nickmcintyre/processing-latex
Beautiful typesetting with Processing
https://github.com/nickmcintyre/processing-latex
latex math processing
Last synced: 2 months ago
JSON representation
Beautiful typesetting with Processing
- Host: GitHub
- URL: https://github.com/nickmcintyre/processing-latex
- Owner: nickmcintyre
- License: gpl-3.0
- Created: 2020-10-29T00:36:54.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-27T20:20:52.000Z (almost 3 years ago)
- Last Synced: 2024-10-14T14:28:11.764Z (4 months ago)
- Topics: latex, math, processing
- Language: CSS
- Homepage:
- Size: 9.13 MB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# processing-latex
**Beautiful typesetting with Processing.**- Thin wrapper around [JLaTeXMath](https://github.com/opencollab/jlatexmath).
- Works in Python mode.
- Still early days. Things will break.## Example
The following example converts a LaTeX string to a `PShape` object, then displays it.```java
import latex.*;void setup() {
size(640, 360);
shapeMode(CENTER);PShape formula = PTeX.toPShape("\\nabla \\rho = 0");
shape(formula, width * 0.5, height * 0.5);
}
```