Jump to content

Julia: Difference between revisions

464 bytes added ,  6 September 2019
no edit summary
No edit summary
No edit summary
Line 24: Line 24:
"Variable x is $x, y is $y, and x+y is $(x+y)"
"Variable x is $x, y is $y, and x+y is $(x+y)"
</syntaxhighlight>
</syntaxhighlight>
===Animation Loop===
You can use <code>Timer(callback, delay, interval)</code>. This is similar to SetInterval in JavaScript.
<syntaxhighlight lang="julia">
animate = Timer(function(t)
    println("Animating")
end, 0; interval=1/60)
</syntaxhighlight>
==Useful Packages==
===MeshCat.jl===
[https://github.com/rdeits/MeshCat.jl Link]<br>
A wrapper for graphics visualizations around three.js. This opens in a web browser but can be used for making helium apps.