GASP/GASP_Code
6
1
Fork
You've already forked GASP_Code
4

Caleb adds six new classes, improves the Gasp code. #6

Merged
jelkner merged 23 commits from caleb33/Caleb_Tkinter_GASP:main into main 2020年08月03日 20:28:45 +02:00

Adds many new classes (Text, Oval, Polygon, Images, Arc, Sound) for Gasp, fixes an error in Circle, renames some parameters to match the Gasp tutorial.

There's a new function screen_shot which works poorly, it might be successful on Windows. For other platforms, it's not yet useful.

The move_by function did not work as intended: for some canvas objects, self.pos will have the wrong coordinates after being moved. I believe I have fixed this.

Adds .DS_Store to .gitignore (useful for those—like myself—on MacOS)

All of these features need tests, but I don't have tests yet (it's on my to-do list). I have ~tested them with regular Python code and they seem to work.

I formatted the code with black.

Some of these features (Sound, screen_shot and Images) need external libraries. They have user licenses, so I copy and pasted them in a comment at the top of the file. I'm not sure if there's a better place to put them.

There's a requirements.txt file for said libraries and directions in README for how to install them with pip.

I corrected a few typos.

Sound & screen_shot should be considered works-in-progress, everything else should be fully functional.

Adds many new classes (Text, Oval, Polygon, Images, Arc, Sound) for Gasp, fixes an error in Circle, renames some parameters to match the Gasp tutorial. There's a new function `screen_shot` which works poorly, it might be successful on Windows. For other platforms, it's not yet useful. The `move_by` function did not work as intended: for some canvas objects, `self.pos` will have the wrong coordinates after being moved. I believe I have fixed this. Adds .DS_Store to .gitignore (useful for those—like myself—on MacOS) All of these features need tests, but I don't have tests yet (it's on my to-do list). I have ~tested them with regular Python code and they seem to work. I formatted the code with [black](http://github.com/psf/black/). Some of these features (Sound, screen_shot and Images) need external libraries. They have user licenses, so I copy and pasted them in a comment at the top of the file. I'm not sure if there's a better place to put them. There's a requirements.txt file for said libraries and directions in README for how to install them with pip. I corrected a few typos. Sound & screen_shot should be considered works-in-progress, everything else should be fully functional.
caleb33 changed title from (削除) WIP: Caleb adds four new classes and improves the Gasp code. (削除ここまで) to WIP: Caleb adds six new classes, improves the Gasp code. 2020年07月29日 21:55:52 +02:00

Great work, Caleb!zonny

Great work, Caleb!zonny
jelkner changed title from (削除) WIP: Caleb adds six new classes, improves the Gasp code. (削除ここまで) to Caleb adds six new classes, improves the Gasp code. 2020年08月03日 20:28:35 +02:00
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
GASP/GASP_Code!6
Reference in a new issue
GASP/GASP_Code
No description provided.
Delete branch "caleb33/Caleb_Tkinter_GASP:main"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?