Trebuchet.jl

Throw stuff
Author FluxML
Popularity
21 Stars
Updated Last
1 Year Ago
Started In
January 2019

Trebuchet.jl

Simulate and visualise a Trebuchet.

Add package

] add Trebuchet#master

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

Note:

The code corresponding to this blog post can be found here

References

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

Used By Packages

No packages found.