Real time animations with Makie in Pluto

So, Makie.VideoStream gets inlined directly as base64 data-url, when displayed in a cell, which I think is what you want.
The easiest way to create a raw VideoStream is like this:

begin
	fig, ax, pl = scatter(rand(Point2f0, 10))
	
	CairoMakie.Makie.Record(fig, 1:20) do i
		pl[1] = rand(Point2f0, 10)
	end
end

I just tested this for the first time in years, and turned out it somehow broke :smiley:
It should work, after this is merged:

9 Likes