I would like to use GLMakie on a remote machine without exporting a display. Note that I was not able to use WGLMakie because of speed issue neither CairoMakie because these are 3D plots.
Is it possible to record a movie with GLMakie without displaying the intermediate frames ?
using GLMakie,AbstractPlotting function MWE() scene = Scene() nh,nx,ny = 50,200,200 xs = LinRange(0, 10.0, nx) ys = LinRange(0, 15.0, ny) zs = zeros(nx,ny) function updatezs!(t) for j in eachindex(ys) for i in eachindex(xs) zs[i,j] = cos(xs[i]+t) * sin(ys[j]+2t) end end end zn = Node(zs) surface!(scene,xs, ys, lift(z->z,zn),camera = cam3d!) GLMakie.record(scene, "output.mp4", 1:nh, framerate=15) do j t=j*0.1 updatezs!(t) zn = zs end end MWE()
Thank you for your help.