Python Turtle
imgsrc: blog.adafruit.com

Python Turtle

While I normally like drawing with a ball point pen (check out my instagram: https://www.instagram.com/rlivings/), I do like trying out various drawing tools built into code such as Python Turtle.

Python Turtle is an implementation of geometric drawing tools introduced in the Logo programming language. You can create interesting images such as this “Turtle star”:

No alt text provided for this image
img src: docs.python.org

Python turtle uses a representation of a turtle (which is a little robot with a pen) that draws on a paper on the floor.

Here’s a basic fractal image created on my Parrot VM:

No alt text provided for this image

?You can also create a Turtle that follows your mouse to draw on the paper:

No alt text provided for this image

The Tech with Tim website (link below) and his Youtube channel has great tutorials on how to implement these projects.

This is a great way to get an artist interested in coding or for use by the artistic coder!

Processing (previously known as proce55ing) is another drawing tool that uses code to create art which I’m also trying to find some time to use.

REFERENCES:

https://docs.python.org/3/library/turtle.html

https://www.techwithtim.net/tutorials/python-module-walk-throughs/turtle-module/introduction

要查看或添加评论,请登录

Ronnie Livingston的更多文章

  • Wanna Play?

    Wanna Play?

    I have a 6 year old and although sometimes I need to do something else or I’m tired, I do end up saying yes to my son…

  • Adabox 8: a crickit manifesto

    Adabox 8: a crickit manifesto

    I've squandered my free time while Adabox was on a hiatus/hibernation during the pandemic. I just received my Adabox 21…

  • p5.js

    p5.js

    I ran into four videos on YouTube HACKADAY labelled as “HackadayU: Art + Code” classes. They used p5.

  • 95 books

    95 books

    I’m in the middle of a book now, Shadow of the Giant, here on New Year’s Eve but will not complete the book until the…

    1 条评论
  • Yfinance fail!

    Yfinance fail!

    I was hoping to analyze and automate the prices of what little stocks I have with the Python Yfinance library. The…

  • Webhooks: easy and light and uses less resources as syslog?

    Webhooks: easy and light and uses less resources as syslog?

    I can’t find the video anymore but I heard about webhooks from a GrimmCon youtube video that I watched previously…

  • Eisenhower Matrix

    Eisenhower Matrix

    I’m a big proponent of using lists, planners, checklists to track tasks that I’m working on. Previously I’ve used the…

  • My Vietnam war story

    My Vietnam war story

    A few months ago I saw a USA Today news piece about the US troops officially withdrawing from Vietnam on January 27…

  • Cyber resilience blog using ChatGPT

    Cyber resilience blog using ChatGPT

    I'm not sure how I feel about this but using the below notes, I prompted ChatGPT to “CREATE A BLOG ABOUT CYBERSECURITY…

  • Understanding resilience before Cyber resilience

    Understanding resilience before Cyber resilience

    When I think of resilience, I think of the 90s song Tubthumbing from Chumbawamba: “I get knocked down but I get up…

社区洞察

其他会员也浏览了