1.1.176a19
Pre-release-
You can now use the
set_text()function forEntryobjects even if theEntryhasn'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 theRandomColourRGB()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 forWARM COLOURSandCOOL COLOURS -
Added a list of all goopylib colours objects
-
Added HSV colours to goopylib: a
ColourHSVclass &RandomColourHSV()function -
Changed all the
GraphicsErrors incolours.pyto be raised with a"GraphicsError:"prefix -
The
ColourCMYKclass 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
Pointclass in favour of an iterable -
Added a few more (7) colour definitions to complete the existing colour scales
-
Added HSL colours to goopylib: a
ColourHSLclass &RandomColourHSL()function -
Renamed all the functions inside
colours.pyto follow the Python naming convention -
Added American spelling (
color) equivalents of everything incolours.pywhich references the original functions -
Renamed the
blend_BLENDINGTYPE()functions toblend_colour_BLENDINGTYPE()and added their American equivalents. -
Moved the
randommodule's import statement above thegoopylib.math.Interpolationsimport statement incolours.py
to abide by PEP8 -
Created a
color.pyfile which simply imports everything fromcolours.py