This repository was archived by the owner on Mar 31, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 15
Flamboyant Flamingos #16
Open
Starwort
wants to merge
95
commits into
python-discord:master
Choose a base branch
from
Starwort:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
95 commits
Select commit
Hold shift + click to select a range
d193f73
Update README.md
Starwort 24626ec
List project goals
Starwort 59a5108
New ideas means new bullets
Starwort fe4d24f
Skeleton + req.txt
Starwort 78a71a3
File select. May work with updated asynctk
Starwort 20b3572
Small fixes (check description)
slushiegoose b1ce0e2
Added the file select onto the main file
slushiegoose 3ba2a4f
Suhail asked that I reset to here so I did
Starwort 2b23152
Merge remote-tracking branch 'origin/master'
slushiegoose 0916da6
Idk pipenv ok
Starwort 2adc804
Lint fixes
slushiegoose bff83f3
This is the only change we're allowed to make to the .flake8 but it i…
Starwort 46094f4
Make `..` the first thing in the menu
Starwort 2700824
updated asynctk
slushiegoose d9c1cb6
wtf is 'late binding'
Starwort 23c702d
Merge remote-tracking branch 'origin/master'
slushiegoose 38931ee
File select menu is now properly functional
Starwort 230de83
Merge remote-tracking branch 'origin/master'
slushiegoose 021fc55
Linting errors
slushiegoose 9f300dd
Subclassed asynctk.AsyncTk
slushiegoose 64546c1
Add locale
Starwort c069ac9
All locale strings so far + update readme with new goals
Starwort 966e16c
Linting errors
slushiegoose d6a7fda
Huge Update (check description)
slushiegoose ebd66ee
Transcribed new keys
Starwort 6895f46
Fix mislabelled menu item
Starwort db0a5eb
Format locale
Starwort 57e9b11
Add text to button
Starwort 0c321ab
Add "start" command and edited README
slushiegoose 6a70622
Fixed local file imports, transcription error
Starwort 219a0cd
Local import syntax means no module conflicts
Starwort 2b6e0e7
Make file save windows indestructible
Starwort 863a457
Added a cancel option to the new file dialogue
Starwort f54f1a2
Suhail had an oopsie
Starwort df863f3
Cancelling doesn't work, disable it
Starwort 5d89963
Transformed colour
slushiegoose 4590d31
Merge remote-tracking branch 'origin/master'
slushiegoose 3dec6a5
Re-add locale deleted after merge
slushiegoose d3f85b2
updated asynctk
slushiegoose 935093c
Update atk and reenable cancelling
Starwort 86f6a2f
Merge remote-tracking branch 'origin/master'
Starwort 112d872
lint fixes
slushiegoose 8734f9c
Merge remote-tracking branch 'origin/master'
slushiegoose 9cf3f02
Transcribe new key
Starwort 614e331
Merge remote-tracking branch 'origin/master'
Starwort 67f212a
Automatically disappearing error
Starwort 2e02bc8
There are 16777216 options not 16777215 SUHAIL. Also fixed pixel plac…
Starwort 8b36ae4
Formatting and new key
Starwort 5cb7967
Fix mistranscription of 'colour'
Starwort 30ae090
Docstrings
slushiegoose 1aff4f2
Merge remote-tracking branch 'origin/master'
slushiegoose 0096516
Comment locale, typehint code, fix transcription errors in locale, ad…
Starwort bfa5968
Add cancelling save
Starwort 9b85d8a
Make my last commit work
Starwort 4336021
*Really* make my last commit work
Starwort a2d08b6
Lint errors + docstring
slushiegoose c0c718b
Open image from file
slushiegoose 2585047
Replace 'uk-based team' with attempt at team bio
Starwort e249432
Few small changes (check desc)
slushiegoose 98c80f6
Undo & Redo
slushiegoose db07b50
Scrolling
slushiegoose 28ed480
Transcribed new keys
Starwort ab70b99
Fix my transcription errors
Starwort 1b8e4a9
Transcribe missed and future keys
Starwort a9740ca
New File
slushiegoose 6cb0515
Fix errors I made, add eng locale
Starwort 5e7b2b2
Change locale to allow translation
slushiegoose ba48a05
atk broke again
Starwort 2777f43
Konami bind the English translation
slushiegoose dee7211
Merge remote-tracking branch 'origin/master'
slushiegoose 750b5a6
Open file key
Starwort 4b6ffce
random open
slushiegoose 0e491c6
typo oopsoie
slushiegoose 9fdd834
Formatting + visualisation
Starwort db74b26
Visualisations should be stable now
Starwort 47407a1
except: cannot be blank
slushiegoose 95c0c19
Save one byte per Canvas.save() call
Martmists-GH 3cf9d8f
Add myself to README
Martmists-GH cd23f6f
Unroll decorator - is no longer decorator
Starwort bd9e2f3
Fix suhail's pixelate dividing by 0
Starwort 4e37cee
Update pipfile, fix bugs in corruption (lol), add small tester png
Starwort c9be422
add large test jpg
Starwort b4a4cab
Fix frame master being incorrect
Starwort 270efce
Tiny sleeps so that async code still runs (like the toplevels thankyo…
Starwort a406c13
Make progressbars tick for indeterminate, shorten looped sleeps
Starwort 9a4a035
Remembering to format is key
Starwort 55dc955
Icon is itself - how meta
Starwort 4b9d88c
Implement icon.ico
Starwort 0f7dd9c
Add requirement, rework saving, tweak readme
Starwort 59f34af
PIL starts at 0, suhail
Starwort 1c93c32
A word of warning to all those wishing to use this
Starwort 2221f2b
FINAL PUSH
slushiegoose c0715e4
WE'VE BEEN FLAMBOYANT FLAMINGOS, AND GOODNIGHT
slushiegoose 2f7aade
GOOD LUCK TO EVERY OTHER TEAM OUT THERE!
slushiegoose 688437c
Suhail broke this and then I fixed it
Starwort File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
[flake8] | ||
max-line-length=100 | ||
application_import_names=projectt | ||
ignore=P102,B311,W503,E226,S311,W504,F821 | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,3 +102,6 @@ venv.bak/ | |
|
||
# mypy | ||
.mypy_cache/ | ||
|
||
#Visual Studio Code Workplace settings | ||
.vscode |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# To the judges | ||
|
||
Thank you for all the time you take helping run the PyDis code jams and server. | ||
|
||
Although our team would **love** to see you suffer from our program, we do not wanna be marked down for stuff so here's is a list of *(hopefully)* everything that is so-called "evil" with our program. | ||
|
||
**Since we would love for you to experience this blind, please only read this once you've seen the app for the first time so you may see the evilness we managed to achieve.** | ||
|
||
|
||
## The Main Program | ||
|
||
As you have likely already seen, this paint tool isn't your average program. The canvas is completely non-interactive. You are required to use the sidebar to enter the values. | ||
|
||
For the *X* and *Y* entries (see **The Language** to translate the labels), you must enter the X and Y value of the pixel you would like to colour, with `(0,0)` being the top-left corner. | ||
|
||
The *Colour* entry is a bit special. It works like this | ||
|
||
* Grab the colour you would like to enter | ||
* Find its hex value | ||
* Swap the last two digits and the first two digits around (so it's in BGR format instead of RGB) | ||
* Convert it into denary / base 10 | ||
* Enter your final answer into the Entry box | ||
|
||
## The Language | ||
|
||
The entire project is written in Katakana, a Japanese syllabary, which when pronounced sounds similar to the English equivalent. This was in order to make the program more difficult to use. | ||
|
||
However, as an easter egg, we included a method to translate the entire program into English and to do this, you need to enter the Konami code. | ||
|
||
Entering **Up, Up, Down, Down, Left, Right, Left, Right, B, A, ~~Start~~ Return** in quick succession will translate the entire program from Katakana to English. | ||
|
||
## Saving | ||
|
||
The "Save Processor Time" button destroys the program. Having already gone through the application, you may have discovered this. | ||
In order to save, use `Alt + F4` (or the X button) to save your file to a file select window. However, I suggest you save small files since a button needs to be pressed for every byte saved. For example, a 2x2 image contains 75 bytes, meaning that you'd need to press the button 75 times. | ||
|
||
## Small, slightly inconvenient things | ||
It's the small things that everyone hates :D | ||
|
||
### Undo & Redo | ||
|
||
To fit the theme, the *Undo* and *Redo* buttons have been switched around, so clicking one will trigger the other. This also applies to keybinds. Using `Ctrl + Z` will redo the previous action and Using `Ctrl + Y` or `Ctrl + Shift + Z` will undo the action. | ||
|
||
### Open File | ||
|
||
To open a file, navigate to the *Close* button (ironically) and choose a file. There's no saying what will happen to your file though... Maybe it will: | ||
* Become super pixelated | ||
* Have completely different colours to the original image | ||
* Become fragmented | ||
* Have a complete shuffle of pixels | ||
* Be absolutely normal | ||
|
||
Which one will happen? The computer will decide... you have no control. | ||
Not only that but the larger the image, the longer it'll take to load, ensuring that any haste is completely obliterated. | ||
Also, in massive folders, it doesn't scroll so good luck finding that one file at the bottom! | ||
|
||
|
||
### New File | ||
|
||
To create a new file, use the *New File* button and specify a height and width. Don't think you're off the hook because the label is correct. Legends say that your height and width may be switched around... | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.