Robot Calligraphy using Pseudospectral Optimal Control in Conjunction with a Novel Dynamic Brush Model