Created an integer palette fade in/out in Allegro 4 and am feeling *unreasonably* happy about it.

This oughta be very easy with modern shader stuff even in truecolor or even HDR, honestly. But even with 8-bit, doing saturating decrements down to zero means the darkness swoops into the image in pools, leaving the brightest spots until last: it gives an HDR-like effect on early '90s hardware. And is era-appropriate, unlike floating-point equal interpolation/big black semitransparent GL quad.

In theory this is 100% within the capabilities of GIF, but I have the horrible feeling trying to actually capture the result would take another hour, and then modern websites would fastidiously transcode it to WebM or something anyway.


@LionsPhil GIF, probably, but if you do APNG, the worst that will happen is it gets treated as a PNG. Firefox has native support for it and IIRC so does Chrome.

· · Tusky · 0 · 0 · 0
Sign in to participate in the conversation
LGBTQIA+ Tech Mastodon

*Due to increased bot signup, manual approval is required. Please write some applicable request text on signup.*

This Mastodon instance is for tech workers, academics, students, and others interested in tech who are LGBTQIA+ or Allies.

We have a code of conduct that we adhere to. We try to be proactive in handling moderation, and respond to reports.

Abridged Code of Conduct

Discrimination & Bigotry Won’t Be Tolerated.

We're not a free speech absolutist. We're not interested in Nazis, TERFS, or hate speech. No homophobia, transphobia, queerphobia, racism allowed.

Respect Other Users.

This instance is meant to be a friendly, welcoming space to all who are willing to reciprocate in helping to create that environment.

Consent is Important in all contexts.

If you’re ever unsure, ask first. Use CWs where required.

Listen; Don’t Make Excuses.

If you’re accused of causing harm, either take some responsibility or ask moderators for help.

Use the Report Feature.

Our moderators are here to listen and respond to reports.

For more detail, please
Review our Full Code of Conduct

This instance is funded in part by Patreon donations.