I would like to use a luadraw picture as a background image on a page. I tried overlay, but this is not working as the picture is shifted above right.
Luadraw is not (yet?) on CTAN, but available on github: luadraw
%!TEX TS-program = lualatex
\documentclass[a4paper]{article}
%\usepackage[ignoreall, margin=-0cm, marginparsep=0cm]{geometry}
\usepackage{luadraw}
\begin{document}
\begin{luadraw}{}
local g = graph:new{
margins={0,0,0,0}
, size={31,31}
, pictureoptions="overlay"
}
for j= 1, 5 do
for k=1,10*j do
g:Dcircle(Zp(j,k*math.pi/(5*j)),1)
end
end
g:Show(true)
\end{luadraw}
% without overlay, the center of the picture (on a new page) is approximately at (20,10) (if (0,0) is the bottom left corner
% with overlay, the center of the picture is out the page (at (30,50) ? maybe)
\end{document}
(The original picture is more complex than this one, so using a standard tikzpicture is not really an option)
