Rewrite movingpaint using generic renderer