polygon drawer implementation (processing.py)
if ever you wanted to implement a polygon drawer, here it is : explanations nodes = [ [50,40], [40,50] ] first we added some coordinates as 2d arrays for i,node in enumerate(nodes): try: line(nodes[i][0], nodes[i][1], nodes[i+1][0], nodes[i+1][1]) except: pass then for each coordinate we drew a line from it to the next, the …