Inital Commit (Creates Graphs)

This commit is contained in:
Venrey 2024-07-05 22:46:20 +00:00
commit 435a2a453a
30 changed files with 348 additions and 0 deletions

8
cords.py Normal file
View file

@ -0,0 +1,8 @@
def center_on(image, location):
h = image.size[0]
w = image.size[1]
return (int(location[0] - (0.5 * h)),int(location[1] - (0.5 * w)))
def scale(image, amount):
return image.resize((int(image.size[0] * amount), int(image.size[1] * amount)))