Implements POP Buffers, as described here.
$ npm install pop-buffer
var bunny = require('bunny');
var encode = require('pop-buffer').encode;
var decode = require('pop-buffer').decode;
var popBuffer = encode(bunny.cells, bunny.positions, 16);
var mesh = decode(popBuffer);
Check the online demo or
$ git clone https://github.com/thibauts/pop-buffer.git
$ cd pop-buffer
$ npm install
$ npm run demo