Rendering
Benchmarking
go test rendering/render_test.go -run BenchmarkBunnyRender -bench=BenchmarkBunnyRender -cpuprofile cpu.prof
go tool pprof -svg cpu.prof > cpu.svgMaking a Video
ffmpeg -framerate 24 -pattern_type glob -i '*.png' -c:v libx264 -pix_fmt yuv420p -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2" out.mp4Last updated