Last active
June 2, 2022 21:42
-
-
Save jleedev/adbb8d662b92bbc793b7ca05ae1ba356 to your computer and use it in GitHub Desktop.
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
size=512 | |
print(f'''<?xml version="1.0" encoding="UTF-8"?> | |
<svg xmlns="http://www.w3.org/2000/svg" width="{size//2}" height="{size//2}" viewBox="0 0 {size} {size}"> | |
<rect width="{size}" height="{size}"/> | |
<path d="M0,0''') | |
for i in range(size//2): | |
print(f'V{size}h1V0zm2 0') | |
print('M0,0') | |
for i in range(size//2): | |
print(f'H{size}v1H0zm0 2') | |
print('" fill="#fff" fill-rule="evenodd" /></svg>') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment