Creating 2D animated examples for physics equations