draw imaginary path between two points and print image along that path?
问题 Is there a way with Javascript (or jQuery) to draw lines between coordinates (not necessarily showing those lines) and then repeat an image or a letter along those "paths"? I am talking straight lines here, no bezier curves or anything. I would think it doesn't seem like a big deal and will give it a go, but I'd like to have others' opinion on this... something like (imaginary code): path = point1[x,y], point2[x,y], point3[x,y]; every20pixels-->renderimage('path/to/image') or letter('letter')