28BYJ-48 5-Volt Stepper

My newer library is on another thread here. Many improvements. More coming. PWM to make it smoother. Non-blocking to free up the processor for other tasks. Higher voltage to increase performance without getting hot...

I'd like to move 2 motors called x,y at the same time. Pointing a laser for example. While the laser is on when you go from 0,0 to 10,10 it should move at a 45 degree angle. That's simple just move 1x,1y,1x,1y... until you get to 10. Or move them simultaneously. Not so simple when you're going to 75,80 or an arbitrary x,y. There must be an easy algorithm? I don't know it. Anyone?