It should be possible to create and display primitive shapes like lines, circles and polygons. - [ ] Add `Shape` base class that contains the primitive points, a color and the webgl draw mode - [ ] Add `LineShape`, `RectangleShape`, `OvalShape`, `PolygonShape` classes extending `Shape` - [ ] Add `Graphics` Class that acts as a container for shapes and mimics the Path2D API for easy use - [ ] Add rendering functionality for shapes - [ ] Add shapes/graphics example
It should be possible to create and display primitive shapes like lines, circles and polygons.
Shapebase class that contains the primitive points, a color and the webgl draw modeLineShape,RectangleShape,OvalShape,PolygonShapeclasses extendingShapeGraphicsClass that acts as a container for shapes and mimics the Path2D API for easy use