https://github.com/processing-js/processing-js/issues/96#issuecomment-41646005