1-bit.day
1-bit.day

#pixel-art #visual-art #code #fav

ICE acorn anticipation astronaut avatar bee beehive blender block bone boot bottlecap bus butterfly buzzer cabin1 cabin2 cable cactus carpet1 carpet2 carrot-flower chess cookie cow diamond disco-ball drum duck flashcard gift gold-ingot icecream keyboard krampus lock milk money-machine mouse muffin note paper pen pencil phone pot rain rebellion robo salt santa satellite skate skunk sled snow snowman sock supernova swan tape teddybear thrill toy train tree1 tree2 tree3 underwear vest vinyl-record wagon washing-machine wave

You can grab these all at once here: ../img/1bitday/!1bitday.zip

I make them on 1-bit.day. 1-bit.day got abandoned shortly after I took up using it; it's now been totally killed off. I still make B&W 16x16 pixel art and add it here.

I've started experimenting with color versions. I suppose these would be 3-bit.day since they use up to eight colors.

acorn-color avatar-color butterfly-color carrot-flower-color

Here's the Python script I wrote to convert the files spit out by 1-bit.day:

#!/usr/bin/env python3
# turns 1024x1024 pixel art from 1-bit.day into actual size
# if filename contains 8x8 or 32x32 it will switch from default 16x16; override this by passing arg
# args: filename format=gif size=16/auto
# dumps to stdout

from sys import argv, stdout
from PIL import Image, ImageOps

output = "gif"
size = 16
if len(argv) < 2:
	print("args: filename format=gif size=16/auto")
	exit(1)
image = Image.open(argv[1])
if "32x32" in argv[1]:
	size = 32
elif "8x8" in argv[1]:
	size = 8
if len(argv) > 2:
	output = argv[2]
if len(argv) > 3:
	size = int(argv[3])
image.resize((size, size), Image.Resampling.NEAREST, (256, 256, 768, 768)).save(stdout.buffer, format=output)

I used it like this:

1bitday.py pixel-art-16x16-1_1.png > out.gif

§ See Also ^