Skip to content
throw stuff
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
src
.gitignore
LICENSE
Manifest.toml
Project.toml
README.md
REQUIRE
example.jl

README.md

Trebuchet.jl

Simulate and visualise a Trebuchet

Add package

] add https://github.com/Roboneet/Trebuchet.jl

Run example

# 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

# to find the gradient w.r.t (wind_speed, release_angle, weight)
Trebuchet.grad([10.0, 1.0, 1.0])

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

You can’t perform that action at this time.