This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": 10, | |
"name": "Chucho", | |
"surname": "Lopez" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3.7 | |
from math import sin, cos, pi | |
import subprocess | |
import sys | |
skew_x_axis=int(sys.argv[1]) | |
skew_y_axis=int(sys.argv[2]) # if when you move your mouse up it moves up and to the right leaving 10 degrees drift from the y axis, write 10 here | |
c=pi/180. | |
def get_rotation_matrix(xt, yt): |