Releases: adafruit/Adafruit_CircuitPython_turtle
2.1.3 - Moved to pre-commit, added licensing info
pre-commit has been added to the GitHub Actions workflow in this repository. pre-commit allows you to run multiple checks, such as black and checking the REUSE licensing compliance, both locally and on GitHub Actions with one command.
You can run pre-commit locally with pre-commit run --all-files
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-turtle
.
Read the docs for info on how to use it.
2.1.2 - Fixed discord invite link
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-turtle
.
Read the docs for info on how to use it.
2.1.1 - Added Black check, reran Black with Python 3 target.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-turtle
.
Read the docs for info on how to use it.
2.1.0 - Upgrade to latest Pylint, implement Black formatting
We have upgraded Pylint checks to use the latest version of Pylint and implemented usage of Black Python formatting. This does not change the functionality of the code - it is designed to bring it up to current standards and make it more readable.
- Remove pinned Pylint version number from build.yml file
- Synced
.pylintrc
file to match Adafruit standard - Ran upgraded Pylint and applied any changes or new disables necessary
- Ran Black formatter and allowed application of changes across entire repo
For more information on using Pylint and Black on your code, check out this guide on working with Pylint and Black
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-turtle
.
Read the docs for info on how to use it.
Numerous improvements, bug fixes, and enhancements
Thanks to @Marius-450 for many improvements, including:
- memory improvements : smaller background bitmap scaled to fullscreen and added a
scale
parameter to scale the "canvas". - colors : +7 colors (for same memory consumption), background color management.
- mode is now implemented and consistent with documentation.
- Images : added
bgpic()
to display a bitmap as background, using OnDiskBitmap. Addedchangeturtle()
to change the turtle shape via OnDiskBitmap or by passing a tilegrid object. - Implemented :
pensize()
,speed()
,reset()
and some helpers likedistance()
ortowards()
- Stamping of the turtle.
- Some details like fixing rounding errors in
circle()
, or improvingdot()
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-turtle
.
Read the docs for info on how to use it.
1.1.2 - Bug fix, changed CI from Travis to GitHub Actions
This release includes:
- Vec2D.__repr__ has been patched
- Migrating this repository from Travis to GitHub Actions. This has no effect on the behavior of the code itself.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-turtle
.
Read the docs for info on how to use it.
External display and no sleep
- Patch to support configurations with external displays
- Remove
time.sleep(0.003)
hacks - Remove calls to deprecated
displayio
methods
Guide release version
Merge pull request #9 from dastels/master Example additions and edits
Add stubs for unimplemented methods from CPython's turtle
Merge pull request #4 from dastels/master Add stub methods to comply with the cpython turtle implementation
Initial release of basic turtle functionality.
Merge pull request #3 from dastels/master A few more pylint issues that my local run found