The POT command works between 0-255 when properly scaled so :

x = POT Value * 141
degrees = (POT Value * 141 / 100) . (POT Value * 141 / 10)

This comes from 360º / 255 = 1.41...

In order for this to work properly you must make certain you scale the POT command so that it reaches 255 at the very end otherwise the numbers will be off.