FBFADE(1)

πŸ“¦
version 7.44.0 Β· 2 versions
, in nixpkgs unstable

✨ FBFADE(1) ✨ β€” the fbfade page, but make it make sense πŸ’…

okay so bestie, real talk: this is the fbfade manual page from BRL-CAD, and it's genuinely iconic β€” it fades frame buffer images in and out, one pixel at a time, in a random order. It's giving dissolve. It's giving main character energy. Let's get into it 🫢


🌈 NAME 🌈

fbfade β€” fade a frame buffer image in or out. That's the whole gig. That's the brand. πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

fbfade [-H] [-s _size_] [-w _width_] [-n _height_] [-f _in_fb_file_] [-S _size_] [-W _width_] [-N _height_] [[-F] _out_fb_file_]

Yes, that's a lot of brackets. Yes, it's nesting. No, we're not scared. 😭


πŸ¦‹ DESCRIPTION πŸ¦‹

So fbfade paints a frame buffer one pixel at a time, in a random order, which produces a dissolve effect. Literally the glow-up of frame buffer transitions, ngl. ✨

If you hand it an input image with -f, that image gets faded in. If you don't, the output is painted black β€” fading out whatever's currently on screen. Two vibes, one tool. πŸ’…

The output frame buffer is picked by -F (or as a trailing argument), and if you don't do either of those it falls back to the FB_FILE environment variable, and after that, the default frame buffer. Chain of command, periodt. πŸ‘‘

The effective area gets clamped to the smaller of three things:

  • the requested size
  • the actual frame buffer size
  • the input image size

So it never overreaches. Very self-aware. πŸŽ€

The dissolve itself uses a shuffled-index algorithm, which means the effect is best on a frame buffer with fast single-pixel writes. Like, that's just the tea β€” fast single-pixel writes = chef's kiss, slow ones = sadness. πŸ“


πŸ’œ OPTIONS πŸ’œ

  • -H β€” use the default input size of 1024x1024 instead of 512x512. Bigger canvas, bigger moment. Note that if you explicitly specify sizes, those override this default. Sizes run the show, fr fr. πŸ‘‘
  • -s _size_ β€” set both the width and height of the input image. One flag, two jobs, efficiency queen. ✨
  • -w _width_ β€” set the input image width only.
  • -n _height_ β€” set the input image height only.
  • -f _in_fb_file_ β€” read the image you want to fade in from the named frame buffer. Skip this option and the output fades to black instead. iykyk πŸ’€
  • -S _size_ β€” set both the width and height of the output frame buffer.
  • -W _width_ β€” set the output frame buffer width.
  • -N _height_ β€” set the output frame buffer height.
  • -F _out_fb_file_ β€” write to the named frame buffer instead of the one given by the FB_FILE environment variable (or the default). And here's the cute part: when it's given as the last argument, you can totally omit the -F flag. Sneaky. Love that for us. 🫢
  • -h, -? β€” print a usage message and exit. The classic "help me" combo. πŸ™ˆ

🌸 EXAMPLES 🌸

🌟 Example 1. Slide show with fade transitions 🌟

fbclear
for i in *.pix; do
    pix-fb "$i"
    fbfade -f /dev/mem
    sleep 5
    fbfade
done

So what's happening here, bestie: each PIX image in the current directory gets displayed with pix-fb(1), then dissolved into view from the in-memory frame buffer, then it pauses for 5 seconds, then it fades back to black before the next image rolls in. Slide show with production value. πŸ”₯


🧚 SEE ALSO 🧚

brlcad(1), fbclear(1), fb-fb(1), pix-fb(1), pix(5)

Go read them. They're the supporting cast and they ate. πŸ’…


⭐ AUTHOR ⭐

BRL-CAD Team β€” icons, honestly. πŸ‘‘


This software is Copyright (c) 1989-2026 by the United States Government as represented by U.S. Army Research Laboratory.


πŸ”₯ BUG REPORTS πŸ”₯

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. Be nice, be specific, be iconic. πŸŽ€


Heads up bestie: the dissolve hits best on frame buffers with fast single-pixel writes β€” that's not me being dramatic, that's literally in the description. πŸ’–

that's the whole page, no notes πŸ’œ β€” BRL-CAD, version vibes, and yeah, dated way back to the man page itself. slay. βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from