Skip to content

janosh/diagrams

Repository files navigation

127 Scientific Diagrams

Illustrating concepts in physics, chemistry and machine learning.

109 with Typst 112 with LaTeX Site Pull Requests Welcome DOI

janosh.github.io/diagrams allows searching, sorting, opening in Overleaf and downloading figures (PDF/SVG/PNG) from this collection.

Have a TikZ/Cetz diagram you'd like to share? Submit a PR with a .tex or .typ and a corresponding metadata .yml file in the assets/ directory and add yourself to the citation.cff file.

                                             
2d-convolution  LaTeX Typst angular-momentum-quantization  Typst
2d-convolution.png angular-momentum-quantization.png
atomistic-gpu-batching  Typst autoencoder  LaTeX Typst
atomistic-gpu-batching.png autoencoder.png
ball-tree  Typst basis-plus-lattice  LaTeX Typst
ball-tree.png basis-plus-lattice.png
bloch-sphere  LaTeX Typst bose-einstein-distribution-3d  LaTeX
bloch-sphere.png bose-einstein-distribution-3d.png
bose-einstein-distribution  LaTeX Typst branch-and-bound  LaTeX Typst
bose-einstein-distribution.png branch-and-bound.png
branch-cuts-1  LaTeX Typst branch-cuts-2  LaTeX Typst
branch-cuts-1.png branch-cuts-2.png
change-of-variables  LaTeX Typst closed-string-topologies  LaTeX
change-of-variables.png closed-string-topologies.png
complex-sign-function  LaTeX Typst complex-sign-plane  LaTeX Typst
complex-sign-function.png complex-sign-plane.png
concave-functions  LaTeX Typst convex-functions  LaTeX Typst
concave-functions.png convex-functions.png
convex-hull-of-stability  LaTeX Typst critical-temperature  LaTeX Typst
convex-hull-of-stability.png critical-temperature.png
cylinder-to-plane  LaTeX Typst dft-choices  LaTeX Typst
cylinder-to-plane.png dft-choices.png
dft-jacobs-ladder  Typst dft-mlff-cff-speed-accuracy-transfer  LaTeX Typst
dft-jacobs-ladder.png dft-mlff-cff-speed-accuracy-transfer.png
disk-to-plane  LaTeX Typst divergence  LaTeX Typst
disk-to-plane.png divergence.png
dropout  LaTeX Typst ergodic  LaTeX Typst
dropout.png ergodic.png
euler-angles  LaTeX fermi-dirac-distro  LaTeX Typst
euler-angles.png fermi-dirac-distro.png
ferroelectric-response  LaTeX Typst feynman-diagram-1  LaTeX Typst
ferroelectric-response.png feynman-diagram-1.png
feynman-diagram-2  LaTeX Typst feynman-diagram-3  LaTeX Typst
feynman-diagram-2.png feynman-diagram-3.png
feynman-diagram-4  LaTeX Typst feynman-diagram-loop  LaTeX Typst
feynman-diagram-4.png feynman-diagram-loop.png
feynman-diagram-loops  LaTeX feynman-diagram-one-point  LaTeX Typst
feynman-diagram-loops.png feynman-diagram-one-point.png
feynman-diagram-propagator-loop  LaTeX Typst feynman-diagrams-loop-regulator  LaTeX Typst
feynman-diagram-propagator-loop.png feynman-diagrams-loop-regulator.png
four-vs-of-data  LaTeX Typst gas-pressure-on-wall  LaTeX Typst
four-vs-of-data.png gas-pressure-on-wall.png
generative-adversarial-network  LaTeX Typst geometric-bayes  LaTeX Typst
generative-adversarial-network.png geometric-bayes.png
gnn-node-aggregation  Typst grand-canonical-occupation-fluctuations  LaTeX Typst
gnn-node-aggregation.png grand-canonical-occupation-fluctuations.png
graph-isomorphism  LaTeX Typst gravitons  LaTeX
graph-isomorphism.png gravitons.png
gun-tackle  Typst harmonic-oscillator-energy-vs-freq  LaTeX Typst
gun-tackle.png harmonic-oscillator-energy-vs-freq.png
harmonic-oscillator-energy-vs-inv-temp  LaTeX Typst heatmap  LaTeX Typst
harmonic-oscillator-energy-vs-inv-temp.png heatmap.png
higgs-potential  LaTeX high-entropy-alloy  LaTeX Typst
higgs-potential.png high-entropy-alloy.png
in-flight-auto-batcher  Typst isotherms  LaTeX Typst
in-flight-auto-batcher.png isotherms.png
jensens-inequality  LaTeX Typst k-nearest-neighbors  Typst
jensens-inequality.png k-nearest-neighbors.png
k-space  LaTeX Typst kohn-sham-cycle  LaTeX Typst
k-space.png kohn-sham-cycle.png
light  Typst m-theory  LaTeX
light.png m-theory.png
made  LaTeX Typst masked-autoregressive-flow  LaTeX Typst
made.png masked-autoregressive-flow.png
materials-informatics-challenges  LaTeX materials-informatics  LaTeX Typst
materials-informatics-challenges.png materials-informatics.png
matsubara-contour-1  LaTeX Typst matsubara-contour-2  LaTeX Typst
matsubara-contour-1.png matsubara-contour-2.png
matsubara-contour-3  LaTeX Typst matsubara-contour-4  LaTeX Typst
matsubara-contour-3.png matsubara-contour-4.png
matsubara-contour-5  LaTeX Typst matsubara-contour-deformation  LaTeX
matsubara-contour-5.png matsubara-contour-deformation.png
maxwell-boltzmann-distribution  LaTeX Typst mexican-hat  LaTeX
maxwell-boltzmann-distribution.png mexican-hat.png
ml-activations  Typst momentum-shell  LaTeX Typst
ml-activations.png momentum-shell.png
mosfet  LaTeX Typst nmosfet-amplifier-circuit  Typst
mosfet.png nmosfet-amplifier-circuit.png
normalizing-flow-coupling-layer  LaTeX Typst normalizing-flow  LaTeX Typst
normalizing-flow-coupling-layer.png normalizing-flow.png
open-string-topologies  LaTeX operator-orderings  LaTeX
open-string-topologies.png operator-orderings.png
organic-molecule  LaTeX Typst otto-cycle  LaTeX Typst
organic-molecule.png otto-cycle.png
periodic-table  LaTeX Typst physics-mindmap  LaTeX
periodic-table.png physics-mindmap.png
plane-to-torus  LaTeX plate-capacitor  LaTeX Typst
plane-to-torus.png plate-capacitor.png
potential-triangle  LaTeX Typst propagator-fluctuations  LaTeX Typst
potential-triangle.png propagator-fluctuations.png
qft-propagator-poles  LaTeX Typst qft-propagators  LaTeX Typst
qft-propagator-poles.png qft-propagators.png
qm-cost-vs-acc  LaTeX Typst random-forest  LaTeX Typst
qm-cost-vs-acc.png random-forest.png
regular-vs-bayes-nn  LaTeX Typst rg-flow-in-theory-space  LaTeX Typst
regular-vs-bayes-nn.png rg-flow-in-theory-space.png
risk-opportunity-matrix  Typst rnvp-affine-coupling-layer  LaTeX Typst
risk-opportunity-matrix.png rnvp-affine-coupling-layer.png
roc-curve  Typst roost-update  LaTeX
roc-curve.png roost-update.png
sabatier-principle  LaTeX Typst saddle-point  LaTeX Typst
sabatier-principle.png saddle-point.png
scattering-detailed-balance  LaTeX Typst seebeck-effect  LaTeX
scattering-detailed-balance.png seebeck-effect.png
self-attention  LaTeX Typst sierpinski-triangle  Typst
self-attention.png sierpinski-triangle.png
single-head-attention  LaTeX Typst skip-connection  LaTeX Typst
single-head-attention.png skip-connection.png
spontaneous-magnetization  LaTeX Typst statistical-energy-distributions  LaTeX Typst
spontaneous-magnetization.png statistical-energy-distributions.png
sublattice-points  Typst tanh  LaTeX Typst
sublattice-points.png tanh.png
thermo-ensemble-trafos  LaTeX Typst thermodynamic-potentials-venn-diagram  Typst
thermo-ensemble-trafos.png thermodynamic-potentials-venn-diagram.png
thomson-scattering  LaTeX timed-event-graph  Typst
thomson-scattering.png timed-event-graph.png
tori  LaTeX torus-fundamental-domain  LaTeX Typst
tori.png torus-fundamental-domain.png
torus  LaTeX train-test-split  Typst
torus.png train-test-split.png
two-point-no-cutoff  LaTeX Typst two-point-propagator-flow  LaTeX Typst
two-point-no-cutoff.png two-point-propagator-flow.png
unregularized-propagator-diagrams  LaTeX Typst variational-autoencoder  LaTeX Typst
unregularized-propagator-diagrams.png variational-autoencoder.png
wetterich-equation  LaTeX Typst wyckoff-positions  LaTeX Typst
wetterich-equation.png wyckoff-positions.png
zt-vs-n  LaTeX Typst
zt-vs-n.png

Scripts

Files in /scripts render and convert the .typ and .tex files in /assets to various formats:

  • low + high-res PNG
  • PDF
  • SVG

To run the scripts requires the following dependencies:

To run pdf-compressor directly or to use it as part of the render-(typst|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...

📖   How to cite

You can cite the Zenodo record using the following BibTeX entry:

@software{riebesell_diagrams_2020,
  title = {Collection of scientific diagrams},
  author = {Riebesell, Janosh and Bringuier, Stefan},
  date = {2020-08-09},
  year = {2020},
  doi = {10.5281/zenodo.7486911},
  url = {https://github.com/janosh/diagrams},
  note = {10.5281/zenodo.7486911 - https://github.com/janosh/diagrams},
  version = {0.2.0},
  urldate = {2023-01-01}, % optional, replace with your date of access
}