lucko / spark-viewer

Web frontend for spark.
https://spark.lucko.me/
GNU General Public License v3.0
84 stars 28 forks source link

Increase avatar size to 24px #65

Closed embeddedt closed 1 year ago

embeddedt commented 1 year ago

This PR increases avatar sizes in the spark viewer from 20px to 24px. It may seem like a pointless change, but it significantly improves the rendering of pixel-perfect avatars. Minecraft faces are 8x8, so when scaled to 20px using pixel perfect scaling some avatars come out looking a bit distorted. Here is an example of my skin's face before and after this change.

Before (notice how the two legs are not the same, and the design doesn't look perfectly centered):

image

After:

image

lucko commented 1 year ago

Thanks :)