f(x) = drawing function | ScratchStats