Created a function that creates a sprite out of an array of lines (made up of points). It accepts settings that a canvas context would for line rendering and determines the bounds of the points and creates a canvas and makes a PIXI.Texture out of the canvas and creates a PIXI.Sprite out of the texture.