Skip to content

Instantly share code, notes, and snippets.

@ttfkam
Created September 4, 2016 18:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ttfkam/3a3b20498e7b1c7db66ac64e562d81ea to your computer and use it in GitHub Desktop.
Save ttfkam/3a3b20498e7b1c7db66ac64e562d81ea to your computer and use it in GitHub Desktop.
Someone said something about a file size strawman...
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ttfkam
Copy link
Author

ttfkam commented Sep 4, 2016

http://blog.leahhanson.us/post/recursecenter2016/haiku_icons.html

Not 100% faithful, but close enough for illustrative purposes. 1096 bytes with some optimization still available. Compressed with zopfli to make an .svgz it ends up 540 bytes. My math may be off, but I think that's smaller than 768 bytes. ;-)

I could make it smaller by simplifying some paths further, making vertical or horizontal paths instead of specifying x/y line coordinates, remove some more spaces, make fill and stroke defaults that inherit for paths, etc.

@lyle
Copy link

lyle commented Sep 4, 2016

How do we view this rendered?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment