Code to produce demos of Metroplis-Hastings and Hamiltonian Monte Carlo samplers.