The following example uses 4 rhythmic displacements (eighth note, quarter note, and sixteenth note). These rhythmic devices are used extensively in composition1 and improvisation. The following uses a basic example, though only the eighth note and quarter note displacements might be appropriate for beginner students.

Options a, b, c, and d are played randomly, with a 15% chance setting for option d, which can be considered the most difficult performance-wise.
Also note that:
This is a good example of the potential for spontaneous variation by using short, similar loops of different lengths.
Based on this simple example, many variations can be created. By muting the drums, the guitar, or both, the playback becomes a time-keeping exercise. The quantize setting can be randomized, and more advanced subdivisions become imaginable, such as transformations2 into other beat subdivisions (triplets, quintuplets, septuplets) and their respective displacements.
E.g. Green Chimneys (Thelonious Monk), Green Spleen (Ari Hoenig) ↩︎
cf. rhythmical sangatis p. 61 in Reina, R. (2017). Applying Karnatic Rhythmical Techniques to Western Music. Routledge ↩︎