You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* You can now use the `set_text()` function for `Entry` objects even if the `Entry` hasn't been drawn
* Fixed the `RandomColourRGB()` function to no longer raise errors if the user hasn't specified the RGB values
* Optimized the error checking in the `RandomColourRGB()` & `RandomGreyscale()` functions by reducing the number of
`not` & `!=`
* Simplified the `RandomColourCMYK()` function and optimized it like with the `RandomColourRGB()` one
* The `RandomColourHex()` function now works if the user hasn't supplied hex values for r, g, & b and optimized the
function to execute faster
* Added a new lists to contain all of `GREENS`, `PURPLES`, etc. and for `WARM COLOURS` and `COOL COLOURS`
* Added a list of all goopylib colours objects
* Added HSV colours to goopylib: a `ColourHSV` class & `RandomColourHSV()` function
* Changed all the `GraphicsError`s in `colours.py` to be raised with a `"GraphicsError:"` prefix
* The `ColourCMYK` class is now printed as `"cmyk c%, m%, y%, k%"` rather than the previous `"cmyk c, m, y, k"`
* The Internal goopylib classes no longer use the `Point` class in favour of an iterable
* Added a few more (7) colour definitions to complete the existing colour scales
* Added HSL colours to goopylib: a `ColourHSL` class & `RandomColourHSL()` function
* Renamed all the functions inside `colours.py` to follow the Python naming convention
* Added American spelling (`color`) equivalents of everything in `colours.py` which references the original functions
* Renamed the `blend_BLENDINGTYPE()` functions to `blend_colour_BLENDINGTYPE()` and added their American equivalents.
* Moved the `random` module's import statement above the `goopylib.math.Interpolations` import statement in `colours.py`
to abide by PEP8
* Created a `color.py` file which simply imports everything from `colours.py`
0 commit comments