The SimpleSun applet is displayed here if your browser supports Java.

About SimpleSun

Jars Registered SimpleSun was "Rated Top 25% WebApplet" by JARS."
If you find bugs in this program (or improvements), please contact me.

SimpleSun is a simplification of my SunClock applet. It displays a map of the world showing the sunrise/sunset and twilight terminators for your location. (Well, actually, it uses the difference between your local time and GMT as an appoximation of your longitude, which means that the display may be off by about an hour, depending on where you are located within your timezone, and how badly the politicians have fiddled with timezone bounaries.)

Click here for a more elaborate (but much slower to load) applet that displays the phase of the moon and other interesting data.

Adding SimpleSun to Your Home Page

You may use SimpleSun in your personal, non-commercial, home page. In doing so, you understand that I make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for any incidental or consequental damages in connection with or arising out of the use of the information or program.

To add SimpleSun, add the following HTML to your web page:

<applet
  name="SimpleSun"
  codebase="http://www.vmeng.com/minow/simplesun"
  code=SimpleSunApplet.class
  width=360
  height=168
>
<param name=bgcolor value="#FFFFFF" >
The SimpleSun Applet is displayed here if your browser supports Java.
</applet>
The bgcolor parameter should match your home page's background color.

Algorithm credits

Source Files


Copyright © 1996-1998 Martin Minow. All Rights Reserved.
World map copyright © 1992-97 Apple Computer Inc. All Rights Reserved. Used by permission.
Permission to use, copy, modify, and redistribute this software and its documentation for personal, non-commercial use is hereby granted provided that this copyright notice and appropriate documentation appears in all copies. This software may not be distributed for fee or as part of commercial, "shareware," and/or not-for-profit endevors including, but not limited to, CD-ROM collections, online databases, and subscription services without specific license. The author makes no expressed or implied warranty of any kind and assumes no responsibility for errors or omissions. No liability is assumed for any incidental or consequental damages in connection with or arising out of the use of the information or program.

Return to my home page.