Animation based on work by Y. Daniel Liang