home.social

Search

51 results for “RodStephens”

  1. Prevent event cascades and easily update read-only Edit widgets in tkinter and Python

    rodstephensbooks.com/prevent_e

  2. Verify Pick's Theorem in Python

    This example uses techniques from four previous examples to use Pick's Theorem to calculate polygon areas relatively easily.

    rodstephensbooks.com/picks_the

    #Python #Geometry #ComputerGraphics #Graphics #Mathematics

  3. A small experiment with Claude and ChatGPT

    This post asks ChatGPT and Claude to compare the broken window parable to a scene in the move "The Fifth Element."

    rodstephensbooks.com/small_ai_

    #AI #ArtificialIntelligence #ChatGPT #Claude #GenerativeAI #TheFifthElement

  4. Make a flash card app in Python

    (Finally, the flash card app!)

    rodstephensbooks.com/flash_car

  5. Make a font dialog with Python and tkinter

    A brief digression from the ongoing flash card series.

    rodstephensbooks.com/font_dial

  6. Fit an image to a target rectangle and center it in Python

    (This is the first in a series of posts leading to a flash card application that you can use to learn about Japanese hiragana characters.)

    rodstephensbooks.com/fit_image

    #Python #PIL #ImageProcessing

  7. Use PIL to make an analog clock out of cake slice images in Python

    This somewhat silly example demonstrates several useful PIL techniques including image scaling, rotation, and pasting with a transparency mask.

    rodstephensbooks.com/analog_cl

    #Python #PIL #Clock #ImageProcessing

  8. Learn about numeric data types (and the number 998,001) in Python

    The value 1 / 998,001 has an interesting property, but to see it in Python you need to learn about numeric data types.

    rodstephensbooks.com/many_digi

    #Python #FloatingPoint #Decimal #Precision

  9. Make buttons grow and shrink when the mouse moves over them with tkinter in Python

    rodstephensbooks.com/pop_butto

  10. Draw a filled chrysanthemum curve in Python

    This example draws a pretty picture but the real interesting part is learning how to draw translucent colors on top of each other.

    rodstephensbooks.com/chrysanth

    #Python #PIL #Drawing #Fractals #Graphics #Drawing

  11. Use Pygame to visualize bubble sort in Python, Part 2

    This part explains how the program creates its sprites and runs its event loop.

    rodstephensbooks.com/bubble_so
    #Python #Algorithms #Pygame #Animation

  12. Implement bubble sort in Python

    This post introduces the bubble sort algorithm. My next post (or two) will use Pygame to visualize the algorithm.

    rodstephensbooks.com/bubble_so
    #Python #Algorithms #BubbleSort