https://github.com/AtelierArith/ElasticCollision.jl
Application that runs elastic collision on Genie.jl
https://github.com/AtelierArith/ElasticCollision.jl
genie julia julialang plots
Last synced: 5 months ago
JSON representation
Application that runs elastic collision on Genie.jl
- Host: GitHub
- URL: https://github.com/AtelierArith/ElasticCollision.jl
- Owner: AtelierArith
- Created: 2021-10-15T06:48:23.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-05T12:06:27.000Z (over 3 years ago)
- Last Synced: 2024-02-12T17:09:21.962Z (over 1 year ago)
- Topics: genie, julia, julialang, plots
- Language: JavaScript
- Homepage:
- Size: 1.8 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ElasticCollision.jl
- Genie app utilize [GeometryObjects.jl](https://github.com/AtelierArith/GeometryObjects.jl)

# Usage
## Prerequisite
1. Install Julia from [here](https://julialang.org/downloads/)
2. git clone this project:```console
$ cd /path/to/your/workspace
$ git clone --recursive https://github.com/AtelierArith/ElasticCollision.jl.git
```3. instantiate project:
```console
$ cd /path/to/ElasticCollision.jl
$ julia --project=@. -e 'using Pkg; Pkg.instantiate()'
```## Running Julia server
```
$ 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/`
### Tips
You can adjust the number of particles and the length of time gif via `http://localhost:8000/?maxT=300&num_particles=60`