webdial

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

commit ccea56818bec3681fee96c628d47c3d42fbd4f51
parent fb45ae8cdca388f9e4bd21575499fb4957e81d0a
Author: Sean Lynch <seanl@literati.org>
Date:   Thu,  8 Sep 2011 00:13:13 -0700

More debugging

Diffstat:
Msun.js | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/sun.js b/sun.js @@ -91,6 +91,7 @@ function Sun() { var deg, H, equ, x, y; for (deg = 0; deg < 360; deg++) { + console.debug(deg); H = deg * Math.PI / 180.0; equ = this.ecl_to_equ(H, alt, obj); x = Math.round(equ.ra * w / PI2 + x_offset) % w;