/ Published in: Python
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
import math hx = math.sin(degrees * (math.pi / 180)) * 1 hy = math.cos(degrees * (math.pi / 180)) * 1