I have been wondering for a long time about the usage of a DS1669 digital potentiometer chip to control the LM317K, and wondering if it could be done to control electronically the power of the individual lasers of a RGB laser...
The red and blue shouldn't be too challenging, integrating the 8-pin dip, who needs no additional parts to run to a homemade LM317K-based PS. For a green module, I imagine carefully desoldering the pot on the driver board and replacing it with a combination DS1669 and limiting resistor on a tiny daughterboard should be possible...
http://datasheets.maxim-ic.com/en/ds/DS1669.pdf
Now imagine digitally controlling the power of each laser via a USB interface controller... but I'm getting over my head a bit, I'm sure some members with more technical saavy than I would think this might be a cool idea to make a multicolor-programmable laser spiro or something of that sort, and have the knowledge to design such a device... just a thought...
Robert