Refacto To bulid with processingJS