diff --git a/README.md b/README.md index 8ed0fc7..b5770da 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ rough.rectangle(10, 10, 200, 200); // x, y, width, height ```js rc.circle(80, 120, 50); // centerX, centerY, diameter -rc.ellipse(300, 100, 150, 80); // centerX, centerY, radiusX, radiusY +rc.ellipse(300, 100, 150, 80); // centerX, centerY, width, height rc.line(80, 120, 300, 100); // x1, y1, x2, y2 ``` @@ -82,7 +82,7 @@ rc.path('M230 230 A 45 45, 0, 1, 1, 275 275 L 275 230 Z', { fill: 'blue' }); If you have [Workly](https://github.com/pshihn/workly) imported on your web page (~1k only), RoughJS will automatically offload all processing to a web worker - freeing up your main UI thread. This is great when creating complex drawings using RoughJs. ```html - + ``` @@ -92,7 +92,7 @@ If you have [Workly](https://github.com/pshihn/workly) imported on your web page ## Examples -[View examples on Wiki](https://github.com/pshihn/rough/wiki/Examples) +[View examples here](https://github.com/pshihn/rough/wiki/Examples) ## API & Documentation diff --git a/docs/README.md b/docs/README.md index 8ed0fc7..b5770da 100644 --- a/docs/README.md +++ b/docs/README.md @@ -30,7 +30,7 @@ rough.rectangle(10, 10, 200, 200); // x, y, width, height ```js rc.circle(80, 120, 50); // centerX, centerY, diameter -rc.ellipse(300, 100, 150, 80); // centerX, centerY, radiusX, radiusY +rc.ellipse(300, 100, 150, 80); // centerX, centerY, width, height rc.line(80, 120, 300, 100); // x1, y1, x2, y2 ``` @@ -82,7 +82,7 @@ rc.path('M230 230 A 45 45, 0, 1, 1, 275 275 L 275 230 Z', { fill: 'blue' }); If you have [Workly](https://github.com/pshihn/workly) imported on your web page (~1k only), RoughJS will automatically offload all processing to a web worker - freeing up your main UI thread. This is great when creating complex drawings using RoughJs. ```html - + ``` @@ -92,7 +92,7 @@ If you have [Workly](https://github.com/pshihn/workly) imported on your web page ## Examples -[View examples on Wiki](https://github.com/pshihn/rough/wiki/Examples) +[View examples here](https://github.com/pshihn/rough/wiki/Examples) ## API & Documentation diff --git a/examples/2.0/test.html b/examples/2.0/test.html index 2656baf..e7a89f6 100644 --- a/examples/2.0/test.html +++ b/examples/2.0/test.html @@ -2,7 +2,7 @@ RoughJS sample - +