rotate_image(3)

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

πŸ’– NAME πŸ’–

okay so this is rotate_image(3) from the Arcan Lua API manual, and the name is literally doing the most: rotate_image β€” Rotate the image around its own center. slay. πŸ’…


✨ SYNOPSIS ✨

the synopsis is giving exactly this, bestie:

nil
rotate_image( vid, newang, dt )
rotate_image( vid, newx, newy, time )

yep, that first nil is in there too β€” we keep everything, no cap. 🫢


πŸŽ€ DESCRIPTION πŸŽ€

okay so the original DESCRIPTION section is literally empty β€” not a single sentence, bestie. πŸ’€ no extra lore to spill here, so the synopsis, notes, and example are carrying the whole vibe.


🌸 NOTES 🌸

  1. For transformation hierarchies where the orientation will depend on that of a parent, grandparent etc. the desired effect might require that you define an origo translation through the use of image_origo_offset. periodt. πŸ¦‹

πŸ”₯ EXAMPLE πŸ”₯

this example is literally the whole demo, copied exactly:

function rotate_image0()
      a = fill_surface(64, 64, 255, 0, 0);
      show_image(a);
      rotate_image(a, 180, 200);
      rotate_image(a, 270, 100);
      rotate_image(a, 380, 100);
      rotate_image(a, 0, 100);
end

🌈 SEE ALSO 🌈

  • image_origo_shift(3) β€” yes bestie, that's the exact reference printed. πŸ‘€ NOTES says image_origo_offset, but SEE ALSO says image_origo_shift(3), and we are not "fixing" it. we preserve. πŸ’œ

that's the page, bestie: source/version image, date October 2026, page rotate_image(3). byeee, stay iconic πŸ‘‘βœ¨

πŸ“¦ where this page comes from