JointedLine - 1.0
John Eriksson (wmjoers)
I needed an easy way to draw and modify jointed lines in one of my projects. I wrote this small proof of concept just to test the algorithm.
The goal was to make it easy to add, insert and move joints.
Hint: Most code is just basic stuff. The interesting part is when you left click on a line to insert a new joint. I use the logic from the LinePointDistance project.
Pygame.org account Comments
If you wish to leave a comment with your pygame.org account, please sign in first.