« HOME

Adventures in elm and elm-webgl

By Nacho Martín on 31 October 2016

I have been playing lately with Elm and, specificaly, with webGl. Elm is a surprisingly elegant language. It is a functional language that resembles Haskell, but it is much more simple to use, and you feel in details here and there that people behind the language have put a great amount of effort in making it usable.

As a learning project I adapted the famous NeHe lessons to elm-webgl. Here is the code and here you have a live version. It was a real fun to make these crates fly around!

As a result of this, I could contribute with to PR to elm-webgl, so you can now use indexedTriangles to save some memory when building complex meshes. All good!

Written by @nacmartin

blog comments powered by Disqus

» ALL POSTS