automatically smooth brush stroke