Some Clean up
- There is a nice webgl reference card available
- any takes a boolean vector and returns true of any component is true (logical or)
- all is a logical and
- lessThan is one of a set of vector comparison functions.
- Look at this demo
- How could we make the shader behave like the HTML5 Canvas?
- edge color
- fill color
- back color
- filled/not filled
- How about filled/lines/points?
- Would it make sense to send a "width" value between shader and program
- Do you understand all that is going on here?