rotate_image(3)
π 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 πΈ
- 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 saysimage_origo_offset, but SEE ALSO saysimage_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
- nixos 26.05: arcan 0.7.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms