Please redraw only on animation using noLoop() and own draw calls. (smaller issue btw, please place frameRate(30) in your setup function instead of draw). Hope you appreciate my comment.