Skip to content

Commit

Permalink
rename create_gif to export_gif
Browse files Browse the repository at this point in the history
  • Loading branch information
ufechner7 committed Sep 28, 2024
1 parent 850520b commit f3091d6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 0 additions & 5 deletions bin/create_gif

This file was deleted.

5 changes: 5 additions & 0 deletions bin/export_gif
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
if [[ $(basename $(pwd)) == "bin" ]]; then
cd ..
fi
julia --project="./video" -e 'using Pkg; Pkg.update(); include("video/export_gif.jl")'
3 changes: 3 additions & 0 deletions video/export_gif.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ for j in 0:(198)
else
A = cat(A, img, dims=3)
end
if j%10 == 0
println("Processing image $img_path")
end
end

FileIO.save(folder * "/Tether.gif", A)
Expand Down

0 comments on commit f3091d6

Please sign in to comment.