Create a material that can draw custom sprites using a 2d canvas.
parameters is an object that can be used to set up the default properties
rotation - the rotation of the sprite
color - the color of the sprite
program - the program used to draw the sprite
The rotation of the sprite in radians. Default is 0.
The color of the sprite. The material will set up the color for the context before calling the material's program.
context -- The canvas context
color -- The color of the sprite
Define a program that will use the context to draw the sprite.