Commit Graph
2 Commits
Author SHA1 Message Date
Leo L. Schwab 167358cffc New animation - Plasma
Working from the plasma screensaver from ReallySlickSavers, create a
plasma-style animation.
2026-07-20 13:06:42 +02:00
Leo L. Schwab b2e4ac13c0 Clean up RGB back-scaling.
The device accepts and reports 3-bit intensity values, which need to be
converts to 8 bits.  If you simply shift the 3-bit value up by five bits,
the lower bits are left as zero, resulting in lost intensity range (e.g.
your range becomes 0x00-0xe0, rather than 0x00-0xff).

Scale the intensities by replicating the 3-bit value down through the lower
five bits, recovering the full 8-bit range.
2015-12-23 01:06:57 -08:00