import math
fx = 0.866
fy = 0.5
mov = [[0,0] for _ in range(4)]
for i in range(4):
print('i: ', i)
for j in range(4):
an = math.pi / 2 * (i - ((3-j) if j in [1,2] else j))
c = math.cos(an)
s = math.sin(an)
mov[j][0] = fx * c - fy * s
mov[j][1] = fx * s + fy * c
print('%5.3f' % mov[j][0], '%5.3f' % mov[j][1])