Change hardcoded values to size-based calculations

Also make an external draw loop to scale the clock on the interval.