Skip to content

janosh/diagrams

Repository files navigation

124 Scientific Diagrams

Illustrating concepts in physics, chemistry and machine learning.

104 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 amplifier_circuit_nmosfet  Typst
2d-convolution.png amplifier_circuit_nmosfet.png
angular-momentum-quantization  Typst atomistic-gpu-batching  Typst
angular-momentum-quantization.png atomistic-gpu-batching.png
autoencoder  LaTeX Typst basis-plus-lattice  LaTeX Typst
autoencoder.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
harmonic-oscillator-energy-vs-freq  LaTeX Typst harmonic-oscillator-energy-vs-inv-temp  LaTeX Typst
harmonic-oscillator-energy-vs-freq.png harmonic-oscillator-energy-vs-inv-temp.png
heatmap  LaTeX Typst higgs-potential  LaTeX
heatmap.png higgs-potential.png
high-entropy-alloy  LaTeX Typst in-flight-auto-batcher  Typst
high-entropy-alloy.png in-flight-auto-batcher.png
isotherms  LaTeX Typst jensens-inequality  LaTeX Typst
isotherms.png jensens-inequality.png
k-nearest-neighbors  Typst k-space  LaTeX Typst
k-nearest-neighbors.png k-space.png
kohn-sham-cycle  LaTeX Typst light  Typst
kohn-sham-cycle.png light.png
m-theory  LaTeX made  LaTeX Typst
m-theory.png made.png
masked-autoregressive-flow  LaTeX Typst materials-informatics-challenges  LaTeX
masked-autoregressive-flow.png materials-informatics-challenges.png
materials-informatics  LaTeX Typst matsubara-contour-1  LaTeX Typst
materials-informatics.png matsubara-contour-1.png
matsubara-contour-2  LaTeX Typst matsubara-contour-3  LaTeX Typst
matsubara-contour-2.png matsubara-contour-3.png
matsubara-contour-4  LaTeX Typst matsubara-contour-5  LaTeX Typst
matsubara-contour-4.png matsubara-contour-5.png
matsubara-contour-deformation  LaTeX maxwell-boltzmann-distribution  LaTeX Typst
matsubara-contour-deformation.png maxwell-boltzmann-distribution.png
mexican-hat  LaTeX ml-activations  Typst
mexican-hat.png ml-activations.png
momentum-shell  LaTeX Typst mosfet  LaTeX Typst
momentum-shell.png mosfet.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 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
rnvp-affine-coupling-layer  LaTeX Typst roc-curve  Typst
rnvp-affine-coupling-layer.png roc-curve.png
roost-update  LaTeX sabatier-principle  LaTeX Typst
roost-update.png sabatier-principle.png
saddle-point  LaTeX scattering-detailed-balance  LaTeX Typst
saddle-point.png scattering-detailed-balance.png
seebeck-effect  LaTeX self-attention  LaTeX Typst
seebeck-effect.png self-attention.png
sierpinski-triangle  Typst single-head-attention  LaTeX Typst
sierpinski-triangle.png single-head-attention.png
skip-connection  LaTeX Typst spontaneous-magnetization  LaTeX Typst
skip-connection.png spontaneous-magnetization.png
statistical-energy-distributions  LaTeX Typst sublattice-points  Typst
statistical-energy-distributions.png sublattice-points.png
tanh  LaTeX Typst thermo-ensemble-trafos  LaTeX Typst
tanh.png thermo-ensemble-trafos.png
thermodynamic-potentials-venn-diagram  Typst thomson-scattering  LaTeX
thermodynamic-potentials-venn-diagram.png thomson-scattering.png
timed-event-graph  Typst tori  LaTeX
timed-event-graph.png tori.png
torus-fundamental-domain  LaTeX Typst torus  LaTeX
torus-fundamental-domain.png torus.png
train-test-split  Typst two-point-no-cutoff  LaTeX Typst
train-test-split.png two-point-no-cutoff.png
two-point-propagator-flow  LaTeX Typst unregularized-propagator-diagrams  LaTeX Typst
two-point-propagator-flow.png unregularized-propagator-diagrams.png
variational-autoencoder  LaTeX Typst wetterich-equation  LaTeX Typst
variational-autoencoder.png wetterich-equation.png
wyckoff-positions  LaTeX Typst zt-vs-n  LaTeX Typst
wyckoff-positions.png 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
}