refactored Painting static methods to Painter object
extracted tick constant