[PD] Drawing a sine function dynamically in Gem