From 8bd47bf7030673158468a70ed106e5b85e03e7a9 Mon Sep 17 00:00:00 2001 From: Preet Date: Fri, 13 Jan 2017 00:40:14 -0800 Subject: [PATCH] Update README.md --- docs/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/README.md b/docs/README.md index 8432131..bb3ae9f 100644 --- a/docs/README.md +++ b/docs/README.md @@ -21,8 +21,9 @@ Import rough.js ``` Initialize a **RoughCanvas** object by passing in the canvas node and the size of the canvas. -Following code snippet draws a +Following code snippet draws a rectangle. +![Rough,js rectangle](https://pshihn.github.io/rough/images/cap_rect.png) ``` javascript var rough = new RoughCanvas(document.getElementById('myCanvas'), 400, 200); rough.rectangle(10, 10, 200, 200); // x, y, width, height