in your code there are a part like this:
def translate radius
return [(-0.1*(radius-0.3)**3+0.035)*@radius,0]
end
What's the purpose of this part?
You discribeed them as “basically translates the tip of the rotor, graph looks like ------\ -0.1*(radius-0.3)**3” ,but I dont quite understand.