Does JavaScript have geometric primitives like point, rectangle, etc.?
canvas, drawing, geometry, javascript
Solution
Javascript doesn't really. There are a bunch of graphics libraries available. You might look at processing.js and raphael.
Problem
Does JavaScript have geometric primitives like point and rectangle, or do I need to define my own? Alternatively a good, simple library for it would be a great help, if there is one.