Edit This Code:
See Result »
Drag the compass wheel and get heading/degrees
Result: