6 ms·
Tangential but the gif macro syntax is really, really slick # build an animated gif by pushing new points to the plot, saving every 10th frame @gif for i
by spywaregorilla 5y ago
Tangential but the gif macro syntax is really, really slick
# build an animated gif by pushing new points to the plot, saving every 10th frame
@gif for i=1:1500
step!(attractor)
push!(plt, attractor.x, attractor.y, attractor.z)
end every 5
- bobbylarrybobby 5y agoJulia has figured out exactly the right way to meld macros and ordinary language syntax. It’s really a thing of beauty.