- Genie app utilize GeometryObjects.jl
- Install Julia from here
- git clone this project:
$ cd /path/to/your/workspace
$ git clone --recursive https://github.com/AtelierArith/ElasticCollision.jl.git
- instantiate project:
$ cd /path/to/ElasticCollision.jl
$ julia --project=@. -e 'using Pkg; Pkg.instantiate()'
$ cd /path/to/ElasticCollision.jl
$ julia --project=@. -e 'using Pkg; Pkg.instantiate()'
$ ./bin/server
then open your web browser and go to http://localhost:8000/
You can adjust the number of particles and the length of time gif via http://localhost:8000/?maxT=300&num_particles=60