How to Draw an Oval Using Python Turtle

how to draw an oval in python

When I first started exploring Python’s Turtle graphics over a decade ago, I was amazed at how simple it was to create beautiful shapes and animations. Drawing an oval, however, was one of those tasks that didn’t have a simple built-in function. Over the years, I’ve developed a few effective methods to draw ovals using … Read more >>

How to Call REST APIs Using TypeScript?

API calling in TypeScript

Recently, while building a frontend project with TypeScript, I had to use a REST API to fetch user data and submit form inputs. Initially, I began with the basic Fetch API, but as the project evolved, I needed something more effective, particularly for handling errors and implementing reusable logic. Then I used REST APIs to … Read more >>

Python Turtle: Draw a Star

how to draw a star in python using turtle

As a Python developer with over a decade of experience, I’ve always found the Turtle module to be a fantastic way to introduce programming concepts visually. Drawing shapes like stars is not only fun but also a great way to understand loops, angles, and functions in Python. If you’re based in the USA and want … Read more >>

How to Create a Python Turtle Grid

python turtle coordinate grid

When I first started exploring Python’s Turtle module, I wanted to create simple graphics that could help visualize data and patterns. One of the most useful and foundational things I learned was how to draw grids using Turtle. In this tutorial, I’ll share several methods to create grids using Python Turtle. I’ll explain each method … Read more >>

Python Turtle Pen

pensize

When I first started exploring Python’s Turtle module, I was amazed at how intuitive it was to create graphics with just a few lines of code. The Turtle pen is at the heart of this experience. It controls how your drawings appear, from the color and thickness of lines to when the pen is up … Read more >>

Use Python Turtle Input for Interactive Graphics

turtle text input

When I first started exploring Python’s turtle module, I was fascinated by how simple it was to draw shapes and patterns programmatically. However, I quickly realized that the real fun begins when you make your turtle graphics interactive. That’s where handling user input comes into play. In this article, I’ll share my experience and guide … Read more >>

Python Turtle Mouse: Create Graphics with Mouse Events

get mouse click coordinates python turtle

When I first started exploring Python’s Turtle module over a decade ago, I was fascinated by how simple it was to create graphics and animations. But what truly elevated Turtle from a basic drawing tool to an interactive playground was its ability to respond to mouse events. Using mouse clicks and movements, you can build … Read more >>

How to Draw a Line Using Python Turtle

python turtle dashed line

As a Python developer with over a decade of experience, I have always found the Turtle module to be a fantastic way to introduce programming concepts visually. Drawing lines with Python Turtle is one of the simplest yet most effective ways to get started with graphics programming. In this article, I’ll walk you through multiple … Read more >>

How to Draw a Smiling Face Using Python Turtle?

smiley face python

I’ve been coding in Python for over a decade, and one of the most enjoyable ways to introduce programming concepts is through graphics. Python’s Turtle module is a fantastic tool for this. It’s simple, visual, and perfect for beginners. In this tutorial, I’ll show you how to draw a smiling face using Python Turtle. Creating … Read more >>

Python Turtle Get Position

get x y coordinates on click python turtle

Recently, while teaching a Python workshop for beginners in my local coding club, I needed to create a simple game that required tracking the position of a turtle on the screen. The challenge was finding an easy way to get the turtle’s coordinates at any given moment. Fortunately, Python’s turtle module provides several methods to … Read more >>