Random collection of 107 standalone
TikZ figures. Mostly about physics and machine learning.
Check out janosh.github.io to search, sort, open in Overleaf and download figures from this collection.
Have a TikZ image you'd like to share? Submit a PR and add it to this list.
Images
Scripts
Files in /scripts
render and compress the standalone .tex
files in /assets
to various formats:
- low + high-res PNG
- SVG
To run the scripts requires 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 to use it as part of the render-tikz.py
pipeline, you need a free public API key from https://developer.ilovepdf.com. Pass it to pdf-compressor
with:
pdf-compressor --set-api-key project_public_7c854a9db0...