Releases: BhavyeMathur/goopylib
1.0.81b4
-
Added a
slope()
function to the Point class to calculate the slope of a line between 2 points -
Added an
is_clicked()
function to the Line Object -
The GraphicsObject class now calls the
_update()
function for all the GraphicsObject when they are moved or rotated -
Added
get_size()
,get_width()
, andget_height()
functions to the Line Object -
Fixed bug with the mouse cursor not changing when the mouse is still, but the GraphicsObject is moving
-
The Line object now checks if the arrow option specified is a key in its style
-
Added Comments to the Line Class
-
Added
arrowshape
,capstyle
&joinstyle
arguments to the Line class -
Added a
arrow_scale
argument to the line class that scales the arrow based on its based -
Added Line dashing with a few definitions of dashes already provided
-
Created the Line Wiki
-
Added a try-except clause to the Line Vector Equation definition to handle vertical lines (undefined slope)
-
Fixed bug with Polygon not filling itself the specified colour
-
Renamed the Linear & Cosine Interpolation function to
Linear/CosineCurve()
functions -
Added new Linear, Cosine, Cubic, and Hermite Interpolation functions that interpolate between 2 points
-
The Goopy
imports.py
files now import the CurvedLine class too -
Added a
CURVE_INTERPOLATIONS
variable to theconstants.py
file -
Added cosine, linear, and cubic interpolation to the Curved Line class - it's actually a curved line now!
-
Added a
bounds_width
argument to the Line classes that determines how close a mouse click has to be to be considered clicking the line -
Added getter & setter function for the
bounds_width
argument of the Line classes
1.0.65b3
-
Added more getter functions to the GraphWin class
-
Every function in the GraphWin class now raises a GraphicsError if the user hasn't provided the correct arguments
-
GraphWin get mouse functions now call
update_win()
rather thanupdate()
-
Renamed the internal argument
refresh
to_refresh
for the GraphWin -
The GraphWin now checks if
autoflush
is True before updating when theredraw()
function is called. -
Added key click, press, and a lot more related functions to the GraphWin (6290 lines long now!)
-
Added the Point class Wiki
-
Every function in the colours.py now raises a GraphicsError if the user hasn't provided the correct arguments
-
Fixed bug with line not drawing arrow
-
Proofread the Line class, fixed misc bugs with it, etc.
-
Added rotation functions for the Line class
-
Added a check to the GraphicsObject class to make sure the cursor argument is valid
1.0.54b2
-
Changed the Circle class
__repr__
function -
Added an align parameter to the GraphicsObject move function to move an object 'left-aligned' or right, top, bottom, etc.
-
Added
get_height()
andget_width()
functions to _BBox -
The Button class now inherits from the GraphicsObject class
-
Defined all the rotate functions for the button as well as
get_height()
andget_width()
functions -
Fixed bug with Button movement
-
Button is_clicked() function returns False if the button hasn't been drawn
-
Renamed the
BezierCurve()
function toRawBezierCurve()
and created a fasterBezierCurve()
function that uses matrices -
Added Linear & Cosine Interpolation Functions
-
Worked on a graphical application to allow users to create their own custom ease functions
-
The Line Object is no longer a subclass of _BBox but rather it's own object
-
Added a Curved Line Object
-
Added Mangling Functions to the
Point
class and added more to theColour
class -
Changed the
__pow__
function for colours and Points to usepow(a, b, m)
and nota ** b % m
-
Removed the
_move()
function from the Point class because it is no longer a GraphicsObject (v6.10-dev) -
Every function in the Point class now raises a GraphicsError if the user hasn't provided the correct argument
-
The GraphWin checks for the icon texture in the local directory if it does not exist in the textures/ folder
1.0.36b1
-
Added a few functions to the Entry widget through which the user can only allow certain characters to be entered
-
If the texture of an image is not in a textures folder, the Image class will search in the local folder
-
Image resizing now takes the ceiling of the width & height and not the floor (int() gives floor)
-
Fixed bug with Image shrinking when rotating over 90 degrees
-
Fixed bug with Image vibrating when animating rotate
-
Fixed bug with is_gliding causing an AttributeError when creating graphwin
-
Renamed Interpolations.py to Easing.py
-
The Entry does not set the focus to itself when it is drawn
-
Added
get_width()
&get_height()
functions to the Entry -
The Entry Widget unfocuses itself when the user clicks somewhere else
-
Added a GraphWin Wiki! (mainly cause I felt guilty that the people who liked Goopy (4 stars!) wouldn't be able to use it)
-
The GraphWin returns itself for functions where it didn't (unless it is returning something else)
-
Added a
move_to_point()
function for the GraphWin -
Fixed bug with Image not resizing to canvas scaling
-
Made CycleButtons semi-functional by adding
draw()
,undraw()
,click()
, andis_clicked()
functions -
Added a file browsing window to get the name of a file
-
You can now drag objects! The
set_draggable()
function allows for callbacks too. -
Added a imports file for the objects & math sub-packages
-
Fixed bug with Text config raising errors
-
Added RandomColourCMYK() & RandomColourHex() functions and renamed RandomColour() to RandomColourRGB()
-
Changed Goopy to only work with Python > 3.6 because of the use of f-strings
-
Created the Colours wiki
-
Added ABSOLUTE_ RED, GREEN, & BLUE as Colours
-
Lshift (<<) and Rshift (>>) operators on Colours with Integers now shifts the RGB values to be GBR, BRG, etc.
-
Added a get_bk_colour() function to the GraphWin
-
Added a lot more Colours
-
Fixed the 2 examples to work with the Library and made them match the Python Convention
-
Renamed the getScreenSize() function with Python Convention
-
GraphWins now convert their min & max size args to integers
1.0.17b0
-
Added Double & Triple Mouse Click Functions to the GraphWin
-
Added Double & Triple Mouse Click Event Functions to the GraphicsObject class
-
Added glide(), glide_x(), glide_y(), glide_to(), glide_to_x(), and glide_to_y() functions to the graphwin
-
Fixed GraphicsObject gliding functions to work with the new easing.
-
Added a check to make sure the easing provided is a function
-
Added glide_to_point() easing function for the GraphWin
-
You can now not supply a value for y or dy for the glide() & glide_to() functions to make the object glide equally in both directions
-
You can now supply different easings for the y & x gliding
-
Removed keyboard module dependency
-
Added a subtract function for the Point class
-
Fixed Bug with glide functions in queue and different easing for x & y
-
Added a RandomColour() function that returns a random colour
-
Added Mangling Functions to the Colour classes
-
Added a Colour Gradient function that returns a list of colours to create a smooth gradient
-
Added a 2D Colour Gradient function that returns a 2D Gradient
1.0.7a2
v1.0.7-alpha Updated Version Number
1.0.6a1
Goopy is now called goopylib! Look at the version history for a list of changes.
1.0.0a0
Goopy has been split into multiple files! it has been renamed to fit with the Python Convention! and it follows most of the PEP 8 Standards!
The first non-development release of Goopy.
v6.10.0-dev
Development Release. This is the first release of goopy! there are a lot of bugs that need fixing and this is very much an early stage, but a lot more will be added in the future.