Computer Science, asked by XJefferson, 11 months ago

//Please complete my code
def swirl(x, y, step):
x -= (u_width / 2)
y -= (u_height / 2)
dist = math.sqrt(pow(x, 2) + pow(y, 2)) / 2.0
angle = (step / 10.0) + (dist * 1.5)
s = math.sin(angle)
c = math.cos(angle)
xs = x * c - y * s
ys = x * s + y * c
r = abs(xs + ys)
r = r * 12.0
r -= 20
return (r, r + (s * 130), r + (c * 130))


# roto-zooming checker board ​

Answers

Answered by saikumar17121
0

Answer:

Sorry bro

Explanation:

I can't understand what you have written.

HOPE you will UNDERSTOOD

Similar questions