I'm currently enrolled in a Computer Graphics class at the University of Akron. In this class, we've explored a number of exciting technologies in the graphics space. One of the tools that we've studied is the WebGL JavaScript framework. This allows web developers to render arrays of verticies to display drawings.
In this web app that I developed, there is a very simple example of how a developer can create different vertices and render them when an event is created. Check out the web app with the link below: