Problem 78 Bezier Curves

Back to Problem Solutions forum

Igor Shapovalov     2020-10-15 20:44:27

Hello. Could someone explain pls how do i have to recive 10 values of x,y? I understood only 1.my step have to be 1/quantity first point-1, 2.I have to find lenght between every points 1-2 2-3 etc. and then find some points in proportional step:1-step 3.Do this steps while exist more then 2 points. Question: 1.Whats coordinates have i to display? 2.Why at the pic 10 points but it has different values of x,y? This problem is very hard for my brain. I solve all problems in a row, a can't do next while it is not solved(

Igor Shapovalov     2020-10-16 00:30:47

I did it by recursion, but I have some troubles with rounding. Im using round() function but results are incorrect for 2-3 pairs x or y xy+-1. What can I do?

Alexandr Milovantsev     2020-10-16 11:33:44

If you are using python, beware of embedded round() function doing bank rounding, which does not fit here.

Please login and solve 5 problems to be able to post at forum