webdial

Incomplete JS port of moondial.
git clone https://code.literati.org/webdial.git
Log | Files | Refs

commit a46510c0794b1b246181134938fd2932c8e7d013
parent 01349335193cd4ac003217f41b991ac9792435f2
Author: Sean Lynch <seanl@literati.org>
Date:   Thu,  8 Sep 2011 09:11:54 -0700

Add debugging

Diffstat:
Mwebdial.js | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/webdial.js b/webdial.js @@ -27,8 +27,11 @@ function WebDial(canvas) { console.debug("drawSun ", x, y); ctx.fillStyle = "rgb(0, 0, 0)"; ctx.beginPath(); + console.debug(1); ctx.arc(x, y, 20, 0, PI2, false); + console.debug(2); ctx.fill(); + console.debug("done"); } function drawNight(ctx, lon2x, lat2y) {