works by raycasting [leg count] amount of rays and draws it with pen if it is less then [max leg length] pretty straightforward and easy for a programmer like me :P (seriously btw) u just need to do a lotta raycasting in random directions and if it is smaller than the max distance draw it with the pen. EAZY.
all by me