Demonstrate 2D elastic collision in Julia
$ git clone https://github.com/AtelierArith/GeometryObjects.jl.git
$ cd GeometryObjects.jl
$ julia --project=@. -e 'using Pkg; Pkg.instantiate()'
$ julia --project=@. demo/gif/gif.jl
After that you'll see a gif file result.gif
is generated.
You can execute demo/gif/gif.jl
out of the box by creating a Docker image from a Dockerfile we prepared. Just try this:
$ make
$ docker-compose run --rm shell julia demo/gif/gif.jl
https://github.com/AtelierArith/ElasticCollision.jl demonstrates 2D elastic collision using Genie.jl