Sun Motion Question Checker
 sunMotionQuestionChecker002view, link (35.8 KB, 800×600) source (167 KB)Mon, 9 Apr 07, 3:18pm UTC 
 

This component is used to find the answer to the question "today the sun is X of the ecliptic moving Y", where X and Y are "north" or "south". The component has a function, getAnswer(), which will return an object whose properties indicate what the correct answer is and what feedback string should be used, if any. The feedback string is defined if the current day is within a given window of the closest equinox or solstice.

The example above can be used to test the results for days other than the present day (solstice and equinox table for reference).

The algorithm used will work until 3000CE, after which we will have to replace it with something else.