show_image(3)

πŸ“¦
version 0.7.1 Β· 2 versions
, in nixos 26.05

πŸ’– show_image(3) β€” the opacity glow-up πŸ’–

okay so bestie, this page is from the Arcan Lua API manual, and it’s literally about show_image(3) β€” the function that gives your image its visible-girl era. No cap.


🌸 NAME 🌸

show_image β€” change image opacity to 1.0. That’s the whole vibe. Periodt.

✨ SYNOPSIS ✨

nil
show_image( vid, time )

πŸ’… DESCRIPTION πŸ’…

This is a specific case of the more general blend_image function, where the opacity argument has been hard-coded to 1.0 β€” aka opaque, visible, and the default blendmode is disabled. Iconic.

This function accepts either single VIDs or a group of VIDs packed in an n-indexed table. Yes bestie, it can take one or a whole little table squad. 🫢

πŸŽ€ EXAMPLE πŸŽ€

function show_image0()
      a = fill_surface(128, 128, 255, 0, 0);
      show_image({a,b}, 100);
end

Look at her go: fill a surface, then show_image a table of VIDs with 100. Slay. πŸ’…

πŸ’€ MISUSE πŸ’€

function show_image0()
      a = fill_surface(128, 128, 255, 0, 0);
      show_image(a, 0.5, 100);
end

Not me passing extra args β€” this is the MISUSE example, so don’t come for me, just don’t copy it, bestie. πŸ’€


mwah πŸ’‹ β€” kisses from the image manual, October 2026 edition. Byeee 🫢

πŸ“¦ where this page comes from