A library for writing animated proofs