Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: adafruit/Adafruit_CircuitPython_turtle
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3.1.0
Choose a base ref
...
head repository: adafruit/Adafruit_CircuitPython_turtle
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3.1.1
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Dec 5, 2024

  1. Account for fractions of a pixel when drawing

    Previously, the endpoint of the line was always moved
    along in increments of 1 pixel, so that the endpoint would always be
    rounded down. This could accumulate to give quite large differences
    from what the program intended.
    
    Ensure that "goto" always ends up storing the floating point endpoints
    and that the line is drawn from the rounded-integer starting coordinate
    and rounded-integer ending coordinate.
    
    This makes the 3 test lines in the OP's "turtle_truncate.txt" example
    be the same length.
    
    Closes: #41
    jepler committed Dec 5, 2024
    Configuration menu
    Copy the full SHA
    614e9e2 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #45 from adafruit/issue41

    Account for fractions of a pixel when drawing
    FoamyGuy authored Dec 5, 2024
    Configuration menu
    Copy the full SHA
    49d941a View commit details
    Browse the repository at this point in the history
Loading