Add script to generate ETH wallpapers#3
Add script to generate ETH wallpapers#3owocki merged 4 commits intogitcoinco:masterfrom adtac:adtac/wallpaper
Conversation
eth-wallpaper-gen/main.py
Outdated
| "top-left": [(0.498, 0.183), (0.393, 0.445), (0.498, 0.538), (0.498, 0.183)], | ||
| "top-right": [(0.498, 0.183), (0.604, 0.445), (0.498, 0.538), (0.498, 0.183)], | ||
| "bottom-left": [(0.392, 0.472), (0.498, 0.567), (0.498, 0.697), (0.392, 0.472)], | ||
| "bottom-right": [(0.605, 0.472), (0.498, 0.567), (0.498, 0.697), (0.605, 0.472)], |
There was a problem hiding this comment.
If you're wondering what these magic numbers are, they are just polygon vertice points (relative to image dimensions).
| @@ -0,0 +1,70 @@ | |||
| import sys | |||
There was a problem hiding this comment.
Can you modify this to be an executable python script?
eth-wallpaper-gen/main.py
Outdated
| "bottom-right": "top-left", | ||
| } | ||
|
|
||
| im = Image.open(sys.argv[1]) |
There was a problem hiding this comment.
We probably want to organize all of this logic into methods and implement a main method that calls the specific functions.
|
left some comments back on the issue itself |
|


No description provided.