From 25bac6cca8b6ef3323d2b8cfd61c08513fada0e9 Mon Sep 17 00:00:00 2001 From: sepans Date: Mon, 4 May 2015 11:10:39 -0400 Subject: [PATCH] demo minor change --- p5-element.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p5-element.html b/p5-element.html index a5e8724..3958eb1 100644 --- a/p5-element.html +++ b/p5-element.html @@ -151,7 +151,7 @@ * @property drawFunction * @type {String} */ - drawFunction: 'fill(255,5);\nrect(0, 0, width, height);\nrect(x, y, 20, 20);\nx++;\ny++;\nif(x > width - 20) x = 0;\nif(y > height - 20) y = 0; ', + drawFunction: 'fill(255,5);\nrect(-1, -1, width+1, height+1);\nrect(x, y, 20, 20);\nx++;\ny++;\nif(x > width - 20) x = 0;\nif(y > height - 20) y = 0; ', /** * Hide the code block and only display canvas *