An open API service indexing awesome lists of open source software.

https://github.com/yuricst/prettytrajectory.jl

Trajectory plotting with Makie.jl ecosystem
https://github.com/yuricst/prettytrajectory.jl

Last synced: 4 months ago
JSON representation

Trajectory plotting with Makie.jl ecosystem

Awesome Lists containing this project

README

          

# PrettyTrajectory.jl
Trajectory plotting with the [Makie](https://docs.makie.org/v0.22/) ecosystem

## Quick start

### Development

1. `git clone` this repository
2. `cd` to root of repository & start julia repl
3. Run:

```julia-repl
julia> ]
(PrettyTrajectory) pkg> test
```

### Using `PrettyTrajectory` within your project

In julia repl, run

```julia-repl
(SomeEnvironment) pkg> dev https://github.com/Yuricst/PrettyTrajectory.jl.git
```

## Capabilities

- Plot planets/moons with UV sphere

## Examples

See [examples/examples.ipynb](examples/examples.ipynb) for examples & syntax!

## Gallery

Below are examples from `PrettyTrajectory` functions!

#### `plot_planet!`

![Earth-Moon System](test/plots/test_earth_moon.png)
![Planet Rotations](test/plots/test_planet_rotations.png)

#### `plot_cone!`

![Cones](test/plots/test_cones.png)

#### `plot_3d_box!`

![Cones](test/plots/test_box.png)

#### `OrbitAnimator`

![Orbit scatter animation](test/plots/test_animate_orbit.gif)
![Orbit trace animation](test/plots/test_animate_orbit_trace.gif)

## Missing features (todo)

- Animation
- [ ] Rotating planet
- [x] Trajectory