Live OpenGL programming with Erlang.
6 04 Jun 2016 23:01 by u/johnP
This isn't my thing, I just found it on the web but it's pretty cool. Because of Erlang's ability to dynamically load code, you can change your OpenGL code on the fly.
For example, you can change the points of the triangle in the draw code in lesson02 just by recompiling the file (C-c C-k in emacs) with the window staying open.
Here is the link: https://github.com/asceth/nehe_erlang
I'm using Erlang 18 and it works. You need to have wx installed. Here are some commands you can type into the shell to see if wx is working:
~~~ Wx = wx:new(). F = wxFrame:new(Wx, -1, "Some window"). wxFrame:show(F). ~~~
0 comments
No comments archived.