Example #3.
This example has, like the previous, more of a jazz/fusion feel to it. However, this has a more linear approach, and is strictly played using triplets.
You should ultimately be able to play any line in any note value, and never settle down until you’re able to! Then and only then, will you be able to have true improvisational freedom in any style. Rhythm is almost always more important than note choice to be able to improvise well over many styles. You can practice technique and scales to your heart’s content, but if you haven’t nailed timing and note value alteration, you will still only be able to play it convincingly over that one style.
For more on that, the back bone of all improvisation, see my Timing and Note Value Alteration tutorial!