ab_dis = 350 'a-b distance in horizontal axis
b_max = 260 'the rope length (proportional to weight)
a_x1
= _WIDTH(see
) / 2 - ab_dis
/ 2 'position to horizont centrala_x2 = a_x1 + ab_dis
a_y1 = 50 'A-vertical axis of points
a_y2 = 120 'B-vertical axis of points
b = (1 - ((ab_dis - 2 * act_x) / ab_dis) ^ 2) * b_max
b = (a_y2 - a_y1) / ab_dis * act_x + b
PSET (act_x
+ a_x1
, a_y1
+ b
)