Tick generator using interval.

Close #1166.
if you want to keep the existing formulation but make it more concise:
`ticks.map(t => t >= start && t <= end).every()`