Tagged articles
turtle
25 articles · Page 1 of 1
This tutorial explains how to recreate a hand‑drawn birthday cake using Python's turtle library, covering the motivation, step‑by‑step code implementation with parametric equations, visual results, and reflections on code quality and potential improvements.
Pythoncakedrawing
0 likes · 15 min read

This guide explains that the turtle module is included with Python, then provides step‑by‑step code examples for drawing basic shapes like squares, stars, spirals, concentric circles, polygons, fractal trees, as well as advanced patterns such as colorful spirals, Koch snowflakes, Mandelbrot sets, the Chinese flag, and a simple map of China, all illustrated with complete runnable code snippets.
Code ExamplesGraphicsturtle
0 likes · 11 min read

This article demonstrates how to use Python's turtle library to programmatically draw a birthday cake, explaining the motivation, step-by-step code implementation, and visual results, while also discussing code structure improvements and the mathematical concepts behind curve drawing.
Tutorialcodingturtle
0 likes · 12 min read

This tutorial walks you through building a fully functional Pong game in Python using the turtle library, featuring an AI paddle that automatically tracks the ball, complete with step‑by‑step code snippets and a complete source listing for easy copy‑paste implementation.
AIPongPython
0 likes · 8 min read

This tutorial introduces Python's built‑in Turtle graphics library, explaining how to configure the drawing canvas, use pen functions, draw shapes, apply fill colors, write text, and create animated balloon objects with movement and rendering loops for a festive visual program.
GraphicsPythonTutorial
0 likes · 8 min read

This article introduces Python's Turtle graphics library, explains its educational and creative use cases, and provides five detailed code examples—including drawing a square, a colorful spiral, a flower, a heart, and a Fibonacci spiral—to help beginners learn programming concepts through visual output.
EducationGraphicsPython
0 likes · 7 min read

This tutorial demonstrates how to generate a realistic snowflake falling animation in Python by first using the Turtle module to draw individual snowflakes and then employing Pygame to animate multiple snowflakes with random positions, sizes, and speeds, including installation guidance for Pygame.
Snowflaketurtle
0 likes · 6 min read

This tutorial demonstrates how to use Python's turtle library to programmatically draw a festive Christmas tree, covering library introduction, function definitions, and detailed code snippets for drawing lights, ornaments, snowflakes, stars, and text, culminating in the complete source code.
christmasturtle
0 likes · 3 min read

This tutorial demonstrates how to use Python's turtle graphics library to draw a festive mooncake for the Mid‑Autumn Festival, explaining common turtle parameters, providing a complete code example, and showing the resulting image.
GraphicsMid-Autumn FestivalTutorial
0 likes · 9 min read

This article introduces Python's built‑in Turtle graphics library, explaining its drawing principles, import methods, and provides step‑by‑step code examples for creating shapes like triangles, stars, and hexagons, along with usage of color specifications and window configuration options.
GraphicsPythonTutorial
0 likes · 3 min read

This guide introduces Python’s Turtle graphics library, explaining its screen and turtle concepts, and demonstrates how to draw rectangles, stars, circles, and arcs, while showing how to change pen attributes and apply fill colors, providing visual examples for beginners and intermediate learners.
Graphicsbeginnerdrawing
0 likes · 5 min read

This article introduces Python's turtle module, explains how to import it, configure the pen's speed, color, size, and use drawing functions such as forward, left, right, circle, dot, and goto, and provides several complete code examples for creating simple graphics.
GraphicsPythonTutorial
0 likes · 4 min read

This short tutorial demonstrates how to use Python's turtle library to draw a red five‑pointed star by setting the fill color, looping five times, moving forward, and turning 144 degrees, with a complete code example and the resulting graphic.
Graphicsstar-drawingturtle
0 likes · 2 min read

This tutorial demonstrates how to use Python's turtle module to randomly generate and draw a starry sky, explaining the core logic of random positions, sizes, and angles for each star and providing complete code to render the night sky effect.
Graphicsrandomstarfield
0 likes · 3 min read

This tutorial introduces Python's built‑in Turtle module, explaining how to draw basic shapes, control movement and rotation, set colors, use loops, define functions, handle events, and create simple animations, providing complete code examples for each concept.
GraphicsPythonprogramming
0 likes · 20 min read

This tutorial demonstrates how to use Python's turtle module to programmatically draw a detailed Minion character by defining functions for each body part and assembling them with precise turtle commands.
GraphicsPythondrawing
0 likes · 9 min read

This tutorial introduces Python's turtle module, showing how to set up the canvas, control the drawing pen, and use a wide range of basic commands—including movement, drawing shapes, and screen management—to create graphics quickly and efficiently.
GraphicsPythonTutorial
0 likes · 13 min read

This tutorial introduces Python's standard turtle graphics library, explains its drawing principles, details core commands for window setup, movement, direction, and pen control, and provides ten illustrated code examples ranging from basic shapes to complex patterns.
Code ExamplesGraphicsdrawing
0 likes · 8 min read

This tutorial shows how to celebrate 520 with Python by drawing hearts, roses, and a starry‑sky confession using turtle graphics, pygame, and image‑processing code, providing beginner, intermediate, and advanced examples complete with source code and visual results.
GraphicsPygamePython
0 likes · 12 min read

This tutorial explains how to use Python's turtle graphics and the random module to draw a 3×3 magic square, covering functions for drawing squares, filling colors, displaying numbers, and a brute‑force algorithm that shuffles numbers until the magic‑square condition is met.
AlgorithmGraphicsPython
0 likes · 6 min read

This tutorial walks you through creating a complete Peppa Pig illustration using Python's turtle graphics, covering shape analysis, custom drawing functions for each body part, and code snippets that demonstrate arcs, ellipses, and color fills to produce a recognizable cartoon figure.
Graphicsdrawingpeppa pig
0 likes · 15 min read

This article demonstrates how to use Python's built-in Turtle module to create an analog clock that displays the current time, including step-by-step explanations of setting up the Turtle objects, drawing the clock face, hands, and updating them in real time with code examples.
DATETIMETutorialanalog clock
0 likes · 9 min read

This tutorial demonstrates how to use Python's turtle graphics library to programmatically draw the popular “What is Peaqi” character that went viral on social media, providing the complete source code, execution result image, and a brief call‑to‑action for sharing.
Graphicsdrawingturtle
0 likes · 6 min read

This article compiles a series of entertaining Python code examples—including flag drawing with Turtle, image‑to‑ASCII conversion, Tetris, a plane shooter game, and a 25‑line face‑recognition script—to inspire learners and demonstrate practical programming techniques.
ASCII artOpenCVPygame
0 likes · 6 min read

This article showcases five engaging Python projects—including drawing a national flag with Turtle, converting images to ASCII art, building a Tetris clone, creating a simple plane‑shooter game, and implementing a 25‑line face‑detection script—complete with code snippets, installation tips, and visual results.
ASCII artFace DetectionOpenCV
0 likes · 5 min read
