How to create an adjustable set of lines?

Something like this?