Skip to content

eigensteve/Trebuchet.jl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

throw stuff

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Julia 54.3%
  • JavaScript 41.8%
  • CSS 3.9%