Random collection of 105 standalone
TikZ images accumulated over the years. Mostly about physics and machine learning.
Files in /scripts
render and compress the standalone .tex
files in /assets
to various formats:
- low + high-res PNG
- SVG
To run them, you need the following dependencies:
pdf-compressor
(pip install pdf-compressor
)gs
(GhostScript) (optional, worse compression but needs no API key so less setup thanpdf-compressor
)pdf2svg
(brew install pdf2svg
)convert
(part of ImageMagick)pngquant
(brew install pngquant
)zopflipng
(brew install zopfli
)
To run pdf-compressor
directly or use it as part of the render_tikz.sh
pipeline, you need a free public API key from https://developer.ilovepdf.com. Add it to pdf-compressor
:
pdf-compressor --set-api-key project_public_7c854a9db0...