2024-01-01 07:42:04 +01:00
|
|
|
# pixelfloot
|
|
|
|
|
2024-01-02 03:03:53 +01:00
|
|
|
Origin: https://git.la10cy.net/DeltaLima/pixelfloot
|
|
|
|
|
|
|
|
an very simple and dirty pixelflut client to draw images, written in bash.
|
2024-01-01 07:42:04 +01:00
|
|
|
pixelfloot was built during the 37c3. in its actual state, its just a mess. I hope i will find time to put it in a more usable and readable format.
|
|
|
|
|
|
|
|
## examples
|
|
|
|
|
2024-01-02 03:34:25 +01:00
|
|
|
Display image: `./pixelfloot_bash.sh floot images/lucky-cat.jpg`
|
2024-01-02 03:36:07 +01:00
|
|
|
|
2024-01-02 03:35:26 +01:00
|
|
|
set position: `W=1337 H=420 ./pixelfloot_bash.sh floot images/lucky-cat.jpg`
|
2024-01-01 07:42:04 +01:00
|
|
|
|
2024-01-02 02:08:37 +01:00
|
|
|
image random position: `./pixelfloot_bash.sh floot images/lucky-cat.jpg chaos`
|
2024-01-02 03:36:07 +01:00
|
|
|
|
2024-01-02 03:34:25 +01:00
|
|
|
wider "chaos-radio": `W=1000 H=600 ./pixelfloot_bash.sh floot images/lucky-cat.jpg chaos`
|
2024-01-01 07:42:04 +01:00
|
|
|
|
2024-01-02 03:36:07 +01:00
|
|
|
|
2024-01-02 03:34:25 +01:00
|
|
|
image shake position: `./pixelfloot_bash.sh floot images/lucky-cat.jpg shake`
|
2024-01-02 03:36:07 +01:00
|
|
|
|
2024-01-02 03:34:25 +01:00
|
|
|
set the position : `W=420 H=420 ./pixelfloot_bash.sh floot images/lucky-cat.jpg shake`
|
2024-01-01 07:42:04 +01:00
|
|
|
|
2024-01-02 03:36:07 +01:00
|
|
|
|
2024-01-02 02:08:37 +01:00
|
|
|
move image with your cursor (needs `xdotool`): `./pixelfloot_bash.sh floot images/lucky-cat.jpg cursor`
|
2024-01-01 07:42:04 +01:00
|
|
|
|
2024-01-02 03:36:07 +01:00
|
|
|
|
2024-01-02 02:08:37 +01:00
|
|
|
Use a color as "alpha" (remove background): `ALPHACOLOR=FF00FF ./pixelfloot_bash.sh floot images/cursor.ppm cursor`
|
2024-01-01 07:42:04 +01:00
|
|
|
|
2024-01-02 03:36:07 +01:00
|
|
|
|
2024-01-02 03:34:25 +01:00
|
|
|
increase No of cuncurrent connections: `FLOOTFORKS=8 ./pixelfloot_bash.sh floot images/lucky-cat.jpg`
|
|
|
|
|
2024-01-02 03:36:07 +01:00
|
|
|
|
2024-01-02 03:34:25 +01:00
|
|
|
```shell
|
|
|
|
$ ./pixelfloot_bash.sh help
|
|
|
|
./pixelfloot_bash.sh [floot|convertimg] [FILENAME|fill] ([MODE])
|
|
|
|
MODE: static (env $H and $W for position)
|
|
|
|
chaos (env $H and $W for position range)
|
|
|
|
shake (env $H and $W for position range)
|
|
|
|
cursor
|
2024-01-01 07:42:04 +01:00
|
|
|
|
2024-01-02 03:34:25 +01:00
|
|
|
available env vars to configure:
|
|
|
|
RESIZE(int), ALPHACOLOR(hex), FLOOTFORKS(int), H(int), W(int)
|
|
|
|
```
|