generates a checkered texture
npm install gl-checker-texture
Creates a 2x2 checkered repeating WebGL texture. Useful for checkered backgrounds, dotted lines, etc.
``js
var Checker = require('gl-checker-texture')
var tex = Checker(gl)
tex.bind()
`

#### createTexture(gl[, opt])
Creates a new 2x2 texture with the given options:
- colors an array of two RGBA colors in bytes. Defaults to #ffffff and #cccccc.
Example:
`js`
var tex = createTexture(gl, { colors: [
[0x50,0x50,0x50,0xff],
[0x46,0x46,0x46,0xff]
]})
The new texture is set to gl.REPEAT wrap and gl.NEAREST` filtering.
MIT, see LICENSE.md for details.