Granular.jl

Julia package for granular dynamics simulation
git clone git://src.adamsgaard.dk/Granular.jl
Log | Files | Refs | README | LICENSE

commit 56dd08aa8f99f8421439e87d66dfb349144e7d16
parent 18360a3aa9af572cc7fd542d2eab32b1b9a3f8fe
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Tue, 12 Jun 2018 14:01:29 -0400

Update logo script

Diffstat:
Mexamples/logo.jl | 10+++++++---
1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/examples/logo.jl b/examples/logo.jl @@ -8,8 +8,8 @@ const verbose = true const text = "Granular.jl" -const forcing = "gyres" -#const forcing = "down" +#const forcing = "gyres" +const forcing = "down" #const forcing = "convergent" # Font created with `figlet` and the font 'pebbles'. If figlet is not installed @@ -43,7 +43,7 @@ end const nx = maxwidth + 1 const Lx = nx*dx -const Ly = ny*dy +const Ly = (ny + 1)*dy x = 0. y = 0. @@ -169,3 +169,7 @@ Granular.removeSimulationFiles(sim) Granular.run!(sim, verbose=verbose) Granular.render(sim, images=true, animation=false, reverse=true) + +run(`convert -delay 100 logo/logo.0000.png -delay 10 logo/logo.'*'.png -trim + +repage -delay 10 -transparent-color white -quiet -layers OptimizePlus + -loop 0 logo.gif`)