made smooth line to use particles instead of ofVec2f