From 7b11d014af30ecb8a830b8a2a56aca4130ec2c0b Mon Sep 17 00:00:00 2001 From: Marcus Date: Sat, 6 Jan 2024 16:55:10 +0100 Subject: [PATCH] help and README --- README.md | 3 +++ pixelfloot.sh | 1 + 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 6a6f6fb..9e3387b 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,8 @@ pixelfloot was built during the 37c3. in its actual state, its just a mess. I ho - for drawing big areas, like 1280x720, use LARGE mode: `LARGE=true ./pixelfloot.sh floot images/xphg.jpg` - default field size are 64k lines. You can adjust it with LOLFIELDSIZE: `LOLFIELDSIZE=16000 LARGE=true ./pixelfloot.sh floot images/xphg.jpg` +- drawing an gif file with proper animation: `LARGE=true ./pixelfloot.sh floot images/dancing_banana.gif` + - Adjust the speed with FRAMETICKTIME in seconds: `FRAMETICKTIME=0.03 LARGE=true ./pixelfloot.sh floot images/shaking_cat.gif` ```shell $ ./pixelfloot.sh help @@ -53,6 +55,7 @@ IPFLOOT(string), FLOOTPORT(int), USECACHE(bool), FLOOTFORKS(int) SIZE(int), TEXT(string), FONTSIZE(int), BGCOLOR(hex), COLOR(hex) BORDERCOLOR(hex), X(int), Y(int), X_MAX(int), Y_MAX(int), H(int), W(int) RESIZE(int), ALPHACOLOR(hex), BOUNCESTEP(int), LARGE(bool) +ANIMATION(bool), FRAMETICKTIME(float) ``` Running on my Ryzen 4700G with [wellenbrecher](https://github.com/bits0rcerer/wellenbrecher) 1280x720 and three workers, diff --git a/pixelfloot.sh b/pixelfloot.sh index 2e6d291..92bbd56 100755 --- a/pixelfloot.sh +++ b/pixelfloot.sh @@ -646,6 +646,7 @@ case $1 in echo "SIZE(int), TEXT(string), FONTSIZE(int), BGCOLOR(hex), COLOR(hex)" echo "BORDERCOLOR(hex), X(int), Y(int), X_MAX(int), Y_MAX(int), H(int), W(int)" echo "RESIZE(int), ALPHACOLOR(hex), BOUNCESTEP(int), LARGE(bool), LOLFIELDSIZE(int)" + echo "ANIMATION(bool), FRAMETICKTIME(float)" exit 1 ;;