From 4a3b45c4eec7b51a218bb282b0a70560f408e6da Mon Sep 17 00:00:00 2001 From: Lizzy Fleckenstein Date: Tue, 7 Apr 2026 18:26:46 +0200 Subject: add heart --- Makefile | 8 ++++++-- heart.png | Bin 0 -> 2644 bytes mkheart | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 heart.png create mode 100755 mkheart diff --git a/Makefile b/Makefile index d557eccf..0fc4fc1d 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ USERS != ls plain | xargs basename -s .png -all: plain cube thoughts pets ball +all: plain cube thoughts pets ball heart out/plain/%.png: plain/%.png | out/plain/ cp $< $@ @@ -17,6 +17,9 @@ out/thoughts/%thoughts.png: plain/%.png mkthoughts thoughts/ | out/thoughts/ out/ball/%ball.png: plain/%.png tools/spherize | out/ball/ ./tools/spherize -a 1.2 -b none $< $@ +out/heart/%heart.png: plain/%.png ./mkheart | out/heart/ + ./mkheart $< $@ + out/%/: mkdir -p $@ @@ -25,9 +28,10 @@ cube: $(patsubst %, out/cube/%cube.gif, $(USERS)) pets: $(patsubst %, out/pets/%pets.gif, $(USERS)) thoughts: $(patsubst %, out/thoughts/%thoughts.png, $(USERS)) ball: $(patsubst %, out/ball/%ball.png, $(USERS)) +heart: $(patsubst %, out/heart/%heart.png, $(USERS)) clean: rm -rf out -.PHONY: all plain cube thoughts pets ball +.PHONY: all plain cube thoughts pets ball heart .NOTPARALLEL: cube diff --git a/heart.png b/heart.png new file mode 100644 index 00000000..e6c6e34a Binary files /dev/null and b/heart.png differ diff --git a/mkheart b/mkheart new file mode 100755 index 00000000..537a39e4 --- /dev/null +++ b/mkheart @@ -0,0 +1,2 @@ +#!/bin/sh +magick "$1" \( heart.png -resize $(magick identify -ping -format '%wx%h' "$1") \) -compose copy-opacity -composite "$2" -- cgit v1.2.3