using a buck converter as constant current source

I've been thinking of using the MC34063 in buck mode as a current regulator, by using the correct value of current limit resistor. That is a peak current limit resistor, though.

The LM2596 circuit needs to be modded similar to how you add current limiting to a 780x regulator.