Skip to content
janoshPublic

About

Diagrams of concepts in physics/chemistry/ML

Topics

Resources

Stars

702 stars

Watchers

7 watching

Forks

Latest commit

 

History

302 Commits

Folders and files

Repository files navigation

124 Scientific Diagrams

Illustrating concepts in physics, chemistry and machine learning.

124 with Typst 72 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.

Title-row icons: References references · Creator creator · Original source original source.

                                             
2D Convolution  LaTeX Typst Creator: Petar Veličković Original source: Petar Veličković: 2D Convolution Amplitude vs Frequency Modulation  Typst Reference: mgcsweek v2.0 Reference: Amplitude Modulation
2D Convolution Amplitude vs Frequency Modulation
Angular Momentum Quantization  Typst Creator: Izaak Neutelings Reference: quantization of orbital angular momentum Atomistic Simulation Methods  Typst
Angular Momentum Quantization Atomistic Simulation Methods
Autoencoder Architectures  Typst Reference: Auto-Encoding Variational Bayes Reference: Denoising Variational Autoencoder Ball Tree  Typst Reference: Ball Tree
Autoencoder Architectures Ball Tree
Basis + Lattice  LaTeX Typst Creator: Stefan Bringuier Bloch Sphere  LaTeX Typst Reference: qubit Reference: https://janosh.dev/physics/statistical-physics
Basis + Lattice Bloch Sphere
Bose-Einstein Distribution 3D  LaTeX Typst Reference: arxiv:1712.09863 Branch and Bound  Typst Reference: LP relaxation
Bose-Einstein Distribution 3D Branch and Bound
Branch Cuts 1  LaTeX Typst Reference: arxiv:1712.09863 Branch Cuts 2  LaTeX Typst
Branch Cuts 1 Branch Cuts 2
Burrows-Wheeler Transform  LaTeX Typst Creator: Petar Veličković Original source: Petar Veličković: Burrows-Wheeler Transform Chain Homology  Typst Reference: homology group
Burrows-Wheeler Transform Chain Homology
Change of Variables  Typst Creator: Juan Falgueras-Cano Reference: https://youtu.be/i7LjDvsLWCg?t=250 Complex Sign Function  Typst
Change of Variables Complex Sign Function
Convex Hull of Stability  LaTeX Typst Reference: Bartel (2022) Convexity and Jensen’s Inequality  Typst Reference: Convex
Convex Hull of Stability Convexity and Jensen’s Inequality
Critical Temperature  LaTeX Typst CycleGAN  LaTeX Typst Creator: Petar Veličković Original source: Petar Veličković: CycleGAN
Critical Temperature CycleGAN
Cylinder to Plane  LaTeX Typst Reference: Radial quantization De Bruijn Graph  LaTeX Typst Creator: Petar Veličković Original source: Petar Veličković: De Bruijn Graph
Cylinder to Plane De Bruijn Graph
Deep Belief Network  Typst Creator: Petar Veličković Original source: Petar Veličković: Deep Belief Network DFT Choices  LaTeX Typst
Deep Belief Network DFT Choices
DFT Jacob's Ladder  Typst Reference: Jacob's ladder of density functional approximations for the exchange-correlation energy Disk to Plane  LaTeX Typst Reference: conformal field theory
DFT Jacob's Ladder Disk to Plane
DNA Double Helix  Typst Creator: Petar Veličković Original source: Petar Veličković: DNA Double Helix Dropout  LaTeX Typst Creator: Petar Veličković Original source: Petar Veličković: Dropout
DNA Double Helix Dropout
Einstein Crystal  Typst Reference: Einstein model of a solid Reference: Zur Theorie der spezifischen Wärmen Ergodic  Typst Reference: ergodic theory and statistical mechanics
Einstein Crystal Ergodic
Euler Angles  LaTeX Typst Creator: Dorian Depriester Original source: Dorian Depriester: Euler Angles Ferroelectric Response  LaTeX Typst Creator: Stefan Bringuier Reference: ferroelectric response
Euler Angles Ferroelectric Response
Feynman Building Blocks  Typst Feynman Diagram Loop  LaTeX Typst
Feynman Building Blocks Feynman Diagram Loop
Feynman Diagram One Point  LaTeX Typst Feynman Diagrams Loop Regulator  LaTeX Typst
Feynman Diagram One Point Feynman Diagrams Loop Regulator
Fractal Atlas  Typst Gas Pressure on Wall  LaTeX Typst
Fractal Atlas Gas Pressure on Wall
Generative Adversarial Network  LaTeX Typst Creator: Petar Veličković Original source: Petar Veličković: Generative Adversarial Network Geometric Bayes  LaTeX Typst Reference: 3blue1brown
Generative Adversarial Network Geometric Bayes
Gibbs Free Energy  Typst GPU Batching  Typst
Gibbs Free Energy GPU Batching
Grand Canonical Occupation Fluctuations  LaTeX Typst Reference: https://janosh.dev/physics/statistical-physics Graph Isomorphism  LaTeX Typst Reference: isomorphic
Grand Canonical Occupation Fluctuations Graph Isomorphism
Graph Neural Networks  Typst Reference: Graph Attention Networks Reference: Graph Attention Networks Gravitons  LaTeX Typst Reference: functional renormalization group
Graph Neural Networks Gravitons
Gun Tackle  Typst Creator: Clemens Koza Original source: Clemens Koza: Gun Tackle H2 Bond Breaking  Typst
Gun Tackle H2 Bond Breaking
Hamiltonian Graph  LaTeX Typst Creator: Petar Veličković Original source: Petar Veličković: Hamiltonian Graph High Entropy Alloy  LaTeX Typst Reference: Wiki article
Hamiltonian Graph High Entropy Alloy
How Atoms Become Energy Bands  Typst Reference: tight-binding model Isotherms  LaTeX Typst Reference: ideal gas law
How Atoms Become Energy Bands Isotherms
k-Nearest Neighbors  Typst Reference: https://link.springer.com/article/10.1007/s10668-023-03800-1/figures/5 Reference: K-Nearest Neighbors k-Space  LaTeX Typst
k-Nearest Neighbors k-Space
Kohn Sham Cycle  LaTeX Typst Light  Typst Reference: Maxwell's equations
Kohn Sham Cycle Light
Long Short-Term Memory  LaTeX Typst Creator: Petar Veličković Original source: Petar Veličković: Long Short-Term Memory M-Theory  LaTeX Typst Reference: Edward Witten's formulation of M-Theory in 1995 Reference: Carroll's excellent post
Long Short-Term Memory M-Theory
MADE  LaTeX Typst Reference: arxiv:1502.03509 Magnetism Types  Typst Reference: Altermagnetism
MADE Magnetism Types
Materials Informatics  Typst Reference: this Computer Physics Communications paper Reference: Coulomb-matrix definition Materials Informatics Challenges  LaTeX Typst Reference: https://tex.stackexchange.com/a/387466
Materials Informatics Materials Informatics Challenges
Matsubara Contours  Typst Reference: thermal field theory contour constructions Maximum Flow Problem  LaTeX Typst Creator: Petar Veličković Original source: Petar Veličković: Maximum Flow Problem
Matsubara Contours Maximum Flow Problem
Maxwell Boltzmann Distribution  LaTeX Typst ML Activations  Typst Reference: Activation functions
Maxwell Boltzmann Distribution ML Activations
MOSFET  LaTeX Typst Reference: metal-oxide-semiconductor field-effect transistor Multilayer Perceptron  LaTeX Typst Creator: Petar Veličković Original source: Petar Veličković: Multilayer Perceptron
MOSFET Multilayer Perceptron
NMOSFET Amplifier Circuit  Typst Creator: Kreijstal Normalizing Flows  Typst Reference: Real NVP Reference: Masked Autoregressive Flow
NMOSFET Amplifier Circuit Normalizing Flows
Operator Orderings  LaTeX Typst Organic Molecule  LaTeX Typst Reference: Beta-methylamino-DL-alanine - C₄H₁₀N₂O₂ Reference: https://tex.stackexchange.com/q/453740
Operator Orderings Organic Molecule
Otto Cycle  LaTeX Typst Reference: Otto cycle Particle Statistics  Typst
Otto Cycle Particle Statistics
Periodic Table  LaTeX Typst Original source: Ivan Griffin: Periodic Table Reference: periodic table of elements Physics Mindmap  Typst
Periodic Table Physics Mindmap
Plane to Torus  LaTeX Typst Plate Capacitor  LaTeX Typst Original source: Izaak Neutelings: Plate Capacitor
Plane to Torus Plate Capacitor
Propagator Fluctuations  LaTeX Typst QFT Propagator Poles  LaTeX Typst
Propagator Fluctuations QFT Propagator Poles
QFT Propagators  LaTeX Typst Cost vs Accuracy in Quantum Mechanical Simulations  Typst Reference: Psi4 FNOCC methods Reference: conventional cubic DFT and linear-scaling alternatives
QFT Propagators Cost vs Accuracy in Quantum Mechanical Simulations
Quantum Harmonic Oscillator  Typst Reference: MIT harmonic oscillator in thermal equilibrium Random Forest  LaTeX Typst Reference: Breiman 2001
Quantum Harmonic Oscillator Random Forest
Regular vs Bayes NN  LaTeX Typst Reference: Bayesian neural networks Regulated and Unregulated Propagators  Typst
Regular vs Bayes NN Regulated and Unregulated Propagators
Reinforcement Learning Greedy Policy  LaTeX Typst Creator: Petar Veličković Original source: Petar Veličković: Reinforcement Learning Greedy Policy RG Flow in Theory Space  LaTeX Typst Reference: Exact evolution equation for the effective potential
Reinforcement Learning Greedy Policy RG Flow in Theory Space
ROC Curve  Typst Reference: Receiver Operating Characteristic curve Roost Update  LaTeX Typst Reference: Roost
ROC Curve Roost Update
Sabatier Principle  LaTeX Typst Reference: From the Sabatier principle to a predictive theory of transition-metal heterogeneous catalysis Saddle Point  LaTeX Typst
Sabatier Principle Saddle Point
Scattering Detailed Balance  LaTeX Typst Seebeck Effect  LaTeX Typst
Scattering Detailed Balance Seebeck Effect
Self Attention  LaTeX Typst Creator: Petar Veličković Original source: Petar Veličković: Self Attention Semi-supervised Learning  Typst Creator: Petar Veličković Original source: Petar Veličković: Semi-supervised Learning
Self Attention Semi-supervised Learning
Shortest Path in Weighted Graph  LaTeX Typst Creator: Petar Veličković Original source: Petar Veličković: Shortest Path in Weighted Graph Sierpinski Triangle  Typst Reference: Construction of Sierpiński Triangles up to the Fifth Order
Shortest Path in Weighted Graph Sierpinski Triangle
Signal Sampling  LaTeX Typst Creator: Petar Veličković Original source: Petar Veličković: Signal Sampling Single-head attention  LaTeX Typst Creator: Francois Fleuret Original source: Francois Fleuret: Single-head attention
Signal Sampling Single-head attention
Skip Connection  LaTeX Typst Reference: ResNet paper Spherical Volume Element  Typst
Skip Connection Spherical Volume Element
Spontaneous Magnetization  LaTeX Typst Stacking Faults  Typst Reference: stacking fault
Spontaneous Magnetization Stacking Faults
String Worldsheet Topologies  Typst Reference: David Tong, String Theory, section 6 Sublattice Points  Typst Original source: Kohei Shinohara: Crystal Symmetry Primer Source repository: Kohei Shinohara: Crystal Symmetry Primer
String Worldsheet Topologies Sublattice Points
Supervised Learning Setup  LaTeX Typst Creator: Petar Veličković Original source: Petar Veličković: Supervised Learning Setup Symmetry Breaking  Typst
Supervised Learning Setup Symmetry Breaking
Thermodynamic Ensemble Transforms  LaTeX Typst Thermodynamic Potentials Venn Diagram  Typst Reference: R. K. P. Zia, Edward F. Redish, and Susan R. McKay, "Thermodynamic Venn diagrams: Sorting out forces, fluxes, and Legendre transforms," American Journal of Physics 79, 950 (2011). DOI: 10.1119/1.3599177
Thermodynamic Ensemble Transforms Thermodynamic Potentials Venn Diagram
θ-β-M Diagram  Typst Creator: Philipp Dobler Original source: Philipp Dobler: θ-β-M Diagram Thomson Scattering  LaTeX Typst Creator: Stefan Bringuier
θ-β-M Diagram Thomson Scattering
Timed Event Graph  Typst Creator: Kreijstal Reference: Petri nets Tori  LaTeX Typst
Timed Event Graph Tori
Torus  LaTeX Typst Torus Fundamental Domain  LaTeX Typst
Torus Torus Fundamental Domain
Train-Test Split  Typst Reference: train-test split Wannierization and Wannier Centers  Typst Reference: Maximally localized Wannier functions: Theory and applications Reference: Maximally localized generalized Wannier functions for composite energy bands
Train-Test Split Wannierization and Wannier Centers
Web Graph  LaTeX Typst Creator: Petar Veličković Original source: Petar Veličković: Web Graph Wetterich Equation  LaTeX Typst
Web Graph Wetterich Equation
Which Band Gap Do You Mean?  Typst Reference: derivative discontinuity Wyckoff Positions  LaTeX Typst Original source: Wyckoff Positions Reference: "Wyckoff Set Regression for Materials Discovery"
Which Band Gap Do You Mean? Wyckoff Positions
XC Functional  Typst zT vs n  Typst Reference: α–ln σ plot as a thermoelectric material performance indicator
XC Functional zT vs n

Scripts

Export diagrams as PDF, SVG, PNG, and AVIF:

uv run --no-project --with pyyaml scripts/render_typst.py assets/bloch-sphere/bloch-sphere.typ
uv run --no-project --with pyyaml scripts/render_tikz.py assets/bloch-sphere/bloch-sphere.tex

Requires Typst or LaTeX (latexmk), ImageMagick, and ZopfliPNG. TikZ also needs Ghostscript; pdf2svg enables SVG export. Set preserve_colors: true in metadata to disable dark-mode recoloring.

Python and metadata checks

uv run --no-project --python 3.14 --with pytest --with pyyaml pytest -q
prek run --all-files

Rendering tests need the tools above. Metadata requires title, description, and unique tags.

Site visual checks

cd site
pnpm exec playwright install --only-shell chromium
pnpm build
pnpm test:visual

For intentional visual changes, run pnpm test:visual:update and review the PNG diffs.

📖   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
}

About

Diagrams of concepts in physics/chemistry/ML

Topics

Resources

Stars

702 stars

Watchers

7 watching

Forks

Releases

Contributors

Languages