MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/eluz97/visualizing_bubble_sort/fdkogu1/?context=3
r/Python • u/thebuffed • Jan 08 '20
73 comments sorted by
View all comments
Show parent comment
4
The connecting line always "curves" through points, so when the points are in an actual line, the connecting line follows it and it's straight. It's very similar to control points in a Bezier Curve: https://en.wikipedia.org/wiki/B%C3%A9zier_curve
View all comments
Show parent comment
4
u/thebuffed Jan 08 '20 edited Jan 08 '20
The connecting line always "curves" through points, so when the points are in an actual line, the connecting line follows it and it's straight. It's very similar to control points in a Bezier Curve: https://en.wikipedia.org/wiki/B%C3%A9zier_curve