What if students could only open a treasure chest by teaching artificial intelligence to recognize a word? In this project, I combined a HuskyLens AI camera, a Hummingbird Robotics Bit, and two micro:bits to make that idea come to life. Here’s how it works: If the recognition isn’t correct? The chest stays locked. This project […]
Tag: functions
Back to School with Python Turtle: Drawing Creativity into Code
As the new school year begins, I wanted to create a project that combines creativity and coding in a way that’s fun, visual, and approachable for beginners. Enter: Python Turtle Graphics 🐢. Turtle is a fantastic way to introduce students to programming. Instead of jumping straight into abstract concepts, learners can instantly see their code […]
🌻 Creating a Flower with Python
Python’s Turtle Graphics module is one of the most fun ways to bring coding to life. With just a few lines of code, you can make your turtle draw shapes, patterns, and even full pictures. In this tutorial, we’ll use Python Turtle inside the Trinket IDE to create a flower with petals, a stem, and […]
Visualizing Recursion with a Python Turtle Spiral
Understanding Recursion with a Simple Spiral Recursion is one of those programming concepts that can be a bit confusing at first. You’re told that a function calls itself, and your mind immediately jumps to the idea of an infinite loop. To truly understand it, you need to see it in action. That’s exactly why I […]
Selection Sort vs. Bubble Sort: Which One Wins?
When learning sorting algorithms, two of the most common examples are bubble sort and selection sort. I built a Python program in Trinket.io using Pygame to visualize selection sort, and I compare it with bubble sort side by side in my video. 💡 Which one do you think will finish first? What is Selection Sort? […]
Bringing Algorithms to Life: A Python and Pygame Visualization Project
What happens when you mix Python, Pygame, and a fundamental sorting algorithm? A powerful visualizer that brings code to life! Algorithms are the backbone of computer science, but learning them from a textbook can feel abstract and difficult. I wanted a better way to understand how a bubble sort actually works, so I decided to […]
Creating Randomly Generated Spirographs in Python
Using Python Turtle graphics and the Trinket IDE, I built a program that creates completely unique, randomly generated spirograph patterns every time it runs. This project combines math, programming, and art into something both fun to code and beautiful to watch. And because it runs in Trinket, you don’t need to install anything. Just click […]
Creating a Randomly Colored Spirograph with Python Turtle Graphics
Click the run button ➡️ below to create a new spirograph. There’s something incredibly satisfying about watching code turn into art, especially when that art is unique every single time you run the program. My latest project uses Python’s Turtle Graphics in the Trinket IDE to draw a beautiful, randomly colored spirograph. This project is […]
This Chest Doesn’t Need a Key, It Has AI!
Some treasure is locked away with keys.Some with secret codes.Mine is guarded by artificial intelligence. Recently, I set out to build something fun, interactive, and educational—a pirate-themed treasure chest made from cardboard that could open and close on its own. But instead of a simple switch, I wanted to give it a brain. That’s where […]
🎨 Random Shape Art with Python Turtle in Trinket – A Fun Beginner Coding Project
What if Python could be more than a programming language?What if it could also be… an artist? In this beginner-friendly Python screensaver project, I used the Turtle graphics module inside the Trinket IDE to create a program that draws completely random art. Each run is a surprise: Why this project is great for beginners: Latest […]
