Hi On 20 February 2010 11:16, Koaps <[email protected]> wrote: > Hehe, > > I'm making progress too... > > You had to get the idea stuck in my head... > > https://test.null.bz/test9.php > https://test.null.bz/test9.phps > > I looked up your domain to get a location, so the script will figure out > sunset and sunrise for your Lat. Long and then try to make a gradient.
Very cool... Getting there... I programmed a PHP module computing the sunset/sunrise/twilight/solar noon if you're interested. I used the algorithm from http://www.srrb.noaa.gov/highlights/sunrise/sunrise.html It's a bit more accurate than the various calculators you can find online, as there are automatic corrections based on your longitude and the year you're in... I tried a RRDtool only solution ; it has gotten into a new game of mine on doing stuff with rrdtool that clearly wasn't originally designed for ... very fun _______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
