What's going on?

Similar to the simple example it binds Rocky.js to a canvas, and update the output at a regular interval.

The example makes use of GPath a simple API to draw polygons into Pebble's graphic context.

Every second, it choses a random fill color and stroke width. The outline of the path is closed or open at random.

Fork me on GitHub