WebGL with Julia?

275 views
Skip to first unread message

Uwe Fechner

unread,
Jun 22, 2015, 3:47:20 PM6/22/15
to julia...@googlegroups.com
Hello,

are there any packages that support to create animated, rendered
WebGL graphics?

We are working on airborne wind energy (see: http://awec2015.tudelft.nl/ ) and are looking for options to replace our
current visualization tools, that are based on Python (cgkit) and Java.

We would like to write some software, that allows students to interactively control the flight of a kite.

For Python there is pythonocc (see: http://www.pythonocc.org/features_overview/experimental-webgl-renderer-towards-cad-in-a-browser/
online demo: http://webgl.pythonocc.org ), but it allows only to create output, but does not yet support interactive input.

For Julia, there is Escher.jl, but it does not (yet) support WebGL.

Any suggestions?

Uwe Fechner, TU Delft

Andreas Lobinger

unread,
Jun 23, 2015, 7:14:35 AM6/23/15
to julia...@googlegroups.com
Hello colleague,

On Monday, June 22, 2015 at 9:47:20 PM UTC+2, Uwe Fechner wrote:
Any suggestions?

Not really -> Start own development.

One thing that's maybe far fetched at the moment. Your needed output is html5/js/WebGL. Emscripten is enabling this as compiler from C/C++ source including OpenGL to JS + WebGL (at least their web site tells so). And this is done via LLVM, the same basis, julia uses.

So a project might be to analyze where julia intermediate LLVM code could be forwarded to the JS backend that Emscripten enables.


Isaiah Norton

unread,
Jun 23, 2015, 9:35:48 AM6/23/15
to julia...@googlegroups.com
 analyze where julia intermediate LLVM code could be forwarded to the JS backend that Emscripten enables.

Jason Grout

unread,
Jun 23, 2015, 1:04:40 PM6/23/15
to julia...@googlegroups.com
You might have a look at pythreejs if you're also interested in python solutions.  Pythreejs exposes much of the three.js webgl library as interactive IPython notebook widgets.  So basically, you get interactive three.js, controllable from python in the IPython notebook.


Thanks,

Jason
Reply all
Reply to author
Forward
0 new messages