An interval describes the distance between two notes. The starting note could be any. G to A is a whole-step. D to E is a whole-step. F to F# is a half-step. A# to B is a half-step. And remember that E to F and B to C are also half-steps.

The previous examples all started on the same note, C. These will start from random notes.