Is it possible to create this with vector data in a material?

Also, the same but rotated 90 degrees?

There are many ways to do that. Here are the two possibles ones: