LaserPointer and two Servos - need sample code

Hi guys, I'm trying to use two servo motors and a laser-pointer to "draw" some shapes and was wondering if someone might have some sample code, that would take in some shape images or vectors or some other easy-to-make form and translate/map them into servo motor movements.

Thanks )

Were you planning to draw the image fast enough so that it looks to the eye as a steady image instead of a moving dot? Roughly 30 repeats per second? If so the servo is probably not a viable choice. Most people use a D/A converter and galvanometer to move a mirror.

no, a moving dot is fine. Like here

That video gives the impression that the servo movements are being controlled very coarsely - I would have thought it would be possible to control them much more smoothly than that with a little effort.