webdial

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

commit 01349335193cd4ac003217f41b991ac9792435f2
parent 25d275114e5b3af5d789ff8c1ae28796f65d18db
Author: Sean Lynch <seanl@literati.org>
Date:   Thu,  8 Sep 2011 09:10:39 -0700

Try filling

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

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