LM317 voltage regulator R2 is getting very hot? why?

calvingloster:
I don't know if you guys are maybe getting confused. A constant current source means that the device can never draw current above the set limit but can draw any value below the limit. So if I set an LM317 to a constant current source of 100mA the device can never draw above 100mA but can draw 5mA or 20mA or any current bellow 100mA

Don't teach your grandmother how to suck eggs. You are the one who is confused. A constant current source puts out a constant current. You are talking about a current limited source.