Adjusts speed.
Implements heart-drawing algorithm.