Skip to content

Releases: BhavyeMathur/goopylib

1.0.81b4

12 Jul 20:18
Compare
Choose a tag to compare
1.0.81b4 Pre-release
Pre-release
  • 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(), and get_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 the constants.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

11 Jul 19:55
Compare
Choose a tag to compare
1.0.65b3 Pre-release
Pre-release
  • 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 than update()

  • Renamed the internal argument refresh to _refresh for the GraphWin

  • The GraphWin now checks if autoflush is True before updating when the redraw()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

11 Jul 05:17
Compare
Choose a tag to compare
1.0.54b2 Pre-release
Pre-release
  • 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() and get_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() and get_width() functions

  • Fixed bug with Button movement

  • Button is_clicked() function returns False if the button hasn't been drawn

  • Renamed the BezierCurve() function to RawBezierCurve() and created a faster BezierCurve() 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 the Colour class

  • Changed the __pow__ function for colours and Points to use pow(a, b, m) and not a ** 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

09 Jul 17:22
Compare
Choose a tag to compare
1.0.36b1 Pre-release
Pre-release
  • 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(), and is_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

07 Jul 19:46
Compare
Choose a tag to compare
1.0.17b0 Pre-release
Pre-release
  • 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

07 Jul 08:39
Compare
Choose a tag to compare
1.0.7a2 Pre-release
Pre-release
v1.0.7-alpha

Updated Version Number

1.0.6a1

07 Jul 06:39
1ab5b2e
Compare
Choose a tag to compare
1.0.6a1 Pre-release
Pre-release

Goopy is now called goopylib! Look at the version history for a list of changes.

1.0.0a0

06 Jul 06:32
2710db7
Compare
Choose a tag to compare
1.0.0a0 Pre-release
Pre-release

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

03 Jul 05:46
fd30bad
Compare
Choose a tag to compare
v6.10.0-dev Pre-release
Pre-release

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.