Examples
This folder contains a variety of examples designed to help you understand some of the things you can accomplish with Rocky.js.
- Simple Example – Minimal code example that binds Rocky.js to a canvas and draws some primitives.
- Interactive Documentation – Interactive documentation for Pebble's C-API.
- TicToc – Implementation of a custom/extended API and basic watchface.
- Vector Graphics – Draws and modifies vector graphics.
- GPath – Shows how to use APIs around
GPath
.
- APNG/GIF – Renders an animatd GIF/animated PNG.
- Text – Shows how to draw text and use fonts.
- Compass – Uses DeviceMotionEvent to implement a simple compass app.
- Community Examples - Additional examples built by community members.