On Friday, 6 February 2015 12:47:41 UTC-5, Phil Tomson wrote:
>
> Say I want to do something like Boids simulation in Julia (
> http://en.wikipedia.org/wiki/Boids), what packages are available to show 
> the animations? These are easy(ish) things to do in Processing, but Julia 
> is more capable mathematically and performance should be better. 
>
> I know there's the Images library, but is it amenable to doing animations?
>

Julia has good bindings to GLFW and OpenGL (GLFW.jl, ModernGL.jl, 
GLAbstraction.jl; of these GLFW and ModernGL are complete and have full 
bindings to everything), so if the animation needs a lot of rendering work 
and you already know how to use OpenGL and GLSL (or you have the red 
"OpenGL Programming Guide" book and don't mind learning), you can use the 
bindings directly. I do, and it's a comparable experience to all other 
languages. One advantage of learning OpenGL yourself is that you won't be 
limited by the list of features somebody else has decided to implement, so 
you are less restricted in what you can draw. It might be overkill for 
small simple animations, but you will get nearly all available performance.

Reply via email to