A demo for draw smooth line