A fun little thing I made using FABRIK- Forward And Backward Reaching Inverse Kinematics. Pretty much a smarter and improved version of my arms project I did a while back. Using this is much easier, and more physics-based as well, but I believe it is probably slightly more performance-intensive, even though it is practically nothing. I have made it only using 3 sprites, the origin, target, and pen sprite, and the rest are just the ones that do not stay attached to the blue line.
Made it after watching a Sebastian Lague video on youtube. He codes games, simulations, and other "coding adventures". I would really recommend checking him out if you find this project! I put a few little things that happen with inputs, those being the origin (the point that is pulled) moves towards the target (mouse dot) when you click, and you can press space to refresh the x and y lists, generating new points