processing js animation for clock / heart shapes