3/28/2025 | Overlay images and text to make exercise numbers with Python and PIL |
3/28/2025 | Resize an image so it has desired margins in Python and PIL |
3/25/2025 | Use random points to draw a Sierpinski gasket fractal in Python and PIL |
3/19/2025 | Draw a Sierpinski gasket fractal in Python and PIL |
3/17/2025 | Draw a Sierpinski carpet fractal in Python and PIL |
3/12/2025 | Use a comprehension to make a two-dimensional list of lists in Python |
3/10/2025 | Overlay a blended image on a background image with Python and PIL |
3/7/2025 | Brighten an image's saturated pixels with Python and PIL |
3/5/2025 | Interactively overlay parts of one image on another with Python and PIL |
3/3/2025 | Use a mask to overlay one image on another with Python and PIL |
3/1/2025 | Perform binary contrast enhancement with Python and PIL |
2/28/2025 | Map a trapezoidal image onto an isosceles trapezoid in Python |
2/26/2025 | Map a trapezoidal image onto a rectangle in Python |
2/24/2025 | Stupid code trick: use xor to switch two values |
2/16/2025 | Use ray tracing to draw a three-dimensional spiral in Python |
2/15/2025 | Use ray tracing to draw an interesting collection of colored blocks in Python |
2/14/2025 | Test Nicomachus's theorem in Python |
2/10/2025 | Find the bounding box for text drawn with PIL in Python |
2/8/2025 | Align text drawn with PIL in Python |
2/5/2025 | Draw text with PIL in Python |
1/25/2025 | Draw dashed lines on a PIL image in Python |
1/24/2025 | Provide antialiasing with PIL and Python |
1/22/2025 | Build a jigsaw puzzle program in Python, Part 2 |
1/21/2025 | Build a jigsaw puzzle program in Python, Part 1 |
1/15/2025 | Add Skill Level 3 to the tic-tac-toe game in Python |
1/14/2025 | Make a custom dialog with Python and tkinter |
1/13/2025 | Fill a shape with an image with Python and PIL |
1/11/2025 | Load and display an image at runtime with Python and PIL |
1/9/2025 | Draw stars in Python |
1/8/2025 | Draw L-system fractals interactively in Python |
1/4/2025 | Use improved L-systems to draw more fractals in Python |
1/3/2025 | Use L-systems to draw fractals in Python |
12/30/2024 | Draw a kochawave fractal curve with Python |
12/29/2024 | Draw a Koch snowflake fractal with Python |
12/28/2024 | Draw a Koch curve fractal with Python |
12/23/2024 | Add Skill Level 2 to the tic-tac-toe game in Python |
12/22/2024 | Make a tic-tac-toe game in Python |
12/20/2024 | Use radio buttons in a menu with Python and tkinter |
12/19/2024 | Interactively crop images in Python and tkinter |
12/18/2024 | Improve the DragFrame class in tkinter and Python |
12/17/2024 | Make a frame that lets you drag its contents in tkinter and Python |
12/11/2024 | Make a scrolled frame that responds to the mouse wheel in tkinter and Python |
12/10/2024 | Make a scrolled frame in tkinter and Python |
12/9/2024 | Start and stop background music in Windows with Python |
12/8/2024 | Find palindrome dates in Python |
12/7/2024 | Calculate multifactorials in Python |
12/6/2024 | Draw a Sierpinski pentagon fractal in Python |
12/5/2024 | Convert a Word document into a PDF document in Python |
12/4/2024 | Make, modify, and display a Word document in Python |
12/2/2024 | Validate credit card numbers in Python |
11/29/2024 | Use the k-means artificial intelligence algorithm to classify points in Python |
11/28/2024 | Make a ball popping game in Python and Pygame |
11/27/2024 | Determine where two lines intersect in Python |
11/26/2024 | Use tkinter sliders to select a color's red, green, and blue components in Python |
11/25/2024 | Draw a set of colored convex hulls for a set of points in Python |
11/24/2024 | Find multiple convex hulls for a set of points in Python |
11/23/2024 | Find the convex hull of a set of points in Python |
11/22/2024 | Make a game framework with Python and Pygame |
11/19/2024 | Use dynamic programming to solve the traveling salesman problem |
11/18/2024 | Implement the 2-opt algorithm for solving the traveling salesman problem in Python |
11/17/2024 | Understand the 2-opt algorithm for solving the traveling salesman problem |
11/16/2024 | Improve branch and bound to solve the traveling salesman problem in Python |
11/15/2024 | Use branch and bound to solve the traveling salesman problem in Python |
11/12/2024 | Use exhaustive search to solve the traveling salesman problem in Python |
11/11/2024 | Use random search to solve the traveling salesman problem in Python |
11/10/2024 | Use the yield statement to recursively generate permutations of values in Python |
11/9/2024 | Recursively generate permutations of values in Python |
11/7/2024 | Solve a squares puzzle in Python |
11/6/2024 | Solve an equilateral triangle puzzle in Python |
11/3/2024 | Find the Friday after a given date in Python |
11/2/2024 | Use the yield statement to generate primes in Python |
11/1/2024 | Find random self-avoiding walks in Python and tkinter |
10/31/2024 | Find self-avoiding walks with start and end points more efficiently in Python and tkinter |
10/30/2024 | Find self-avoiding walks that start and end at given positions in Python and tkinter |
10/29/2024 | Find self-avoiding walks in Python and tkinter |
10/28/2024 | Draw three circles and find their tangent circles (Apollonius circles) in Python |
10/27/2024 | Find circles that are tangent to three given circles (Apollonius' Problem) in Python |
10/26/2024 | Display team names for a round robin tournament in Python |
10/25/2024 | Generate a schedule for a round robin tournament in Python |
10/24/2024 | Draw a ray traced self-interlocking shape in Python |
10/23/2024 | Find the tangent lines between two circles in Python |
10/22/2024 | Find the tangent lines between a point and a circle in Python |
10/21/2024 | Determine where two circles intersect in Python |
10/20/2024 | Let the user draw circles in Python and tkinter |
10/19/2024 | Make thumbnails for images in Python and PIL |
10/18/2024 | Get a file's directory, name, extension, and other parts in Python |
10/17/2024 | Draw a smoothly shaded Mandelbrot set fractal in Python and tkinter |
10/16/2024 | Solve the recurrence relation that calculates the size of the Hilbert and Sierpinski fractal curves |
10/15/2024 | Use induction to calculate the number of segments in a Sierpinski curve fractal |
10/14/2024 | Draw a Sierpinski curve fractal with Python and tkinter |
10/13/2024 | Use induction to calculate the number of segments in a Hilbert curve fractal |
10/12/2024 | Draw a Hilbert curve fractal with Python and tkinter |
10/11/2024 | Add an MRU list to the scribble program in Python and tkinter and tkinter |
10/10/2024 | Handle 'TclError: image "pyimage7" doesn't exist' errors in Python with JupyterLab or JupyterNotebook |
10/9/2024 | Add safe document handling to the scribble program in Python and tkinter |
10/8/2024 | Plot a three-dimensional surface with Python, Matplotlib, and NumPy |
10/7/2024 | Draw and save more shapes with the scribble program in Python and tkinter |
10/6/2024 | Save and restore objects drawn by the scribble program in Python and tkinter |
10/5/2024 | Tabulate ranked voting in Python |
10/4/2024 | Simulate a bet doubling strategy in Python |
10/3/2024 | Calculate compound interest over time in Python |
10/2/2024 | Solve the inversion counting problem in Python |
10/1/2024 | Calculate the greatest common divisor (GCD) and least common multiple (LCM) of two integers in Python |
9/30/2024 | Find a number's prime factors in Python |
9/29/2024 | Generate all the selections of K items from a set of N items in Python |
9/28/2024 | Let the user select tools to scribble on the program in Python and tkinter |
9/27/2024 | Build a toolbar in Python and tkinter |
9/26/2024 | Display a color picker in Python and tkinter |
9/25/2024 | Make an option menu that displays images in Python and tkinter |
9/24/2024 | Let the user scribble to make a drawing in Python and tkinter |
9/23/2024 | Draw stars inside polygons with Python and tkinter |
9/22/2024 | Add an MRU list to a program in Python and tkinter |
9/21/2024 | Use file open and save dialogs in Python and tkinter |
9/20/2024 | Build standard menus in Python and tkinter |
9/19/2024 | Rotate a PIL image in Python and tkinter |
9/18/2024 | Draw the Mandelbrot set and zoom in on areas in Python and tkinter |
9/17/2024 | Let the user zoom on a PIL image in Python and tkinter |
9/16/2024 | Let the user zoom on a picture in Python and tkinter |