I'm testing a laser cutter and need to make a "graduated" line consisting of tiny dots that goes from 0 or 1 PPI(DPI) to 1000 PPI(DPI) - breaking a line into gradually smaller pieces with same-size room between them will also do the job. The idea is to get a line that goes from visibly "dotted" to "solid".
Any suggestions on how to do this? Preferably in vector graphics and in Illustrator. If it is easier to do in Photoshop, that's also an option.