Get the latest tech news
FD 100 (2019)
I learnt how to write computer programs in IBM/LCSI PC Logo. That was back in the year 1992.
The only thing my nine-year-old self then needed to understand was that after drawing an entire polygon, the turtle is back to its original position having completed one full turn. A pentagon drawn with IBM Personal Computer Logo The same approach works for drawing a regular five-pointed star too. I won't include the code and output for that on this page for the sake of brevity of this post but here are links to some screenshots I have kept that show a few of several ways to do it: logo-square-centre.png, logo-pentagon-centre.png, and logo-star-centre.png.
Or read this on Hacker News