#TIL: Turtle 0 ▲ Thomas Rigby 3 hours ago · Tech · hide I'm working on a project at work for entity mapping; using semantic triples to describe a knowledge graph of a client's content ecosystem. It's mostly a boring spreadsheet so I was wanting to visualise it as Nodes and Edges so it's easier to understand for less technical people. In my quest to find some off-the-shelf software that can turn an Excel file into a picture deterministically, I discovered Turtle, a Python library for drawing diagrams using path descriptions in (mostly) human-readable steps: A Simple Square import turtleSIDE = 15 # length of each side in pixelsturtle.fillcolor('yellow') # Set the fill colorturtle.begin_fill() # Start recording the shape to fillturtle.forward(SIDE) # Move forwardturtle.right(90) # Turn 90° clockwiseturtle.forward(SIDE)turtle.right(90)turtle.forward(SIDE)turtle.right(90)turtle.forward(SIDE)turtle.right(90) # Final turn returns the turtle to its starting directionturtle.end_fill() # Fill the shape with yellowturtle.done() # Keep the window open… Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town