Commit Graph

17 Commits

Author SHA1 Message Date
Don Cross
9ab7767a57 Document camera demos and include image to explain the angles. 2023-03-25 11:40:02 -04:00
Don Cross
7d955c99ba Added demo program equator_of_date.js.
Given the right ascension and declination of a star,
expressed in J2000 coordinates, this demo converts those coordinates
to right ascension and declination expressed in the Earth's
equator at any given date and time. This example illustrates
how to use rotation matrices to convert one coordinate system
to another.

This example was prompted by the question at:

https://github.com/cosinekitty/astronomy/discussions/114
2021-07-06 20:21:07 -04:00
Don Cross
87926a71c1 Implemented C# 'triangulate' demo. Added doc links. 2021-06-22 13:51:14 -04:00
Mateo Tibaquira
21c053dbed JS: Refactor the build setup
The npm dependencies required are now
installed locally inside the generate folder.

Cleaned up the Astronomy object closure for TS
and kept it for the Browser bundle.

We will have some usage examples in the website.
2021-02-07 17:09:21 -05:00
Don Cross
83544bf57d Added C# demo for lunar eclipse.
Alphebetized demo readme pages.
2020-05-17 14:03:01 -04:00
Don Cross
4fc2787569 JS: Added demo program horizon.js. 2019-12-14 21:16:43 -05:00
Don Cross
9e4c340f60 Added link to culminate.js in nodejs example markdown. Enhanced comments. 2019-06-18 15:41:04 -04:00
Don Cross
0e0bac95ce Added nodejs seasons test. 2019-06-16 21:30:53 -04:00
Don Cross
bffce01bb3 Added node.js example of calculating sunrise, sunset, moonrise, moonset. 2019-06-15 15:45:56 -04:00
Don Cross
480a7d44f1 Added browser demo for calculating sunrise, sunset, moonrise, moonset. 2019-06-15 15:12:28 -04:00
Don Cross
4061aa6b58 Added nodejs example 'positions.js'.
Unit test the calculations and fail if output deviates.
2019-06-13 20:37:43 -04:00
Don Cross
ece698e9f2 Use relative links. Minor style changes. 2019-06-12 17:47:08 -04:00
Don Cross
a47e2e1bff Link Node.js examples directly to GitHub repo to have better view of the source code. 2019-05-13 21:22:23 -04:00
Don Cross
36f55d272a Added moon phase example for Node.js. 2019-05-13 16:58:34 -04:00
Don Cross
30ab57d6a0 Fixed incorrect link. 2019-05-13 14:58:32 -04:00
Don Cross
4ae1626615 I had Node.js, browser docs backwards. 2019-05-13 14:52:20 -04:00
Don Cross
8cd6b421b6 Split JS examples into separate pages for Node.js and browser. 2019-05-13 14:44:05 -04:00