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

https://github.com/fluxml/trebuchet.jl

throw stuff
https://github.com/fluxml/trebuchet.jl

Last synced: 7 months ago
JSON representation

throw stuff

Awesome Lists containing this project

README

          

# Trebuchet.jl

Simulate and visualise a Trebuchet.

## Add package
```julia
] add Trebuchet#master
```

## Run example
```julia
# using Blink # if not on Juno or IJulia
using Trebuchet

t = TrebuchetState()
simulate(t)

target = 100 # or nothing
s = visualise(t, target)

if @isdefined(Blink)
body!(Blink.Window(), s)
end

```

## Note:
The code corresponding to [this](https://fluxml.ai/2019/03/05/dp-vs-rl.html) blog post can be found [here](https://github.com/FluxML/model-zoo/blob/master/contrib/games/differentiable-programming/trebuchet/DiffRL.jl)

## References
http://www.virtualtrebuchet.com/#documentation_EquationsOfMotion