pulsing marker



using Makie

N = 100
scene = scatter([0], [0], marker = '❤', markersize = 0.5, color = :red, raw = true)
s = scene[end] # last plot in scene
record(scene, "output.mp4", range(0, stop = 10pi, length = N)) do i
    s[:markersize] = (cos(i) + 1) / 4 + 0.2
end