Bayes’ Theorem, in <canvas>.