Add dynamic mesh generation via Lua

This is actually pretty cool :)