Skip to content
Donner's Daily Dose of Drama
Donner's Daily Dose of Drama
  • The Good
    • Blogging
    • Consumer Protection
    • Environment
    • Ethics
    • Geek’s Home
    • Lisa Lanett
    • Medfield
    • Music
    • Parenting and Technology
    • Travel
    • wow
  • The Bad
    • Business
    • Ebay
    • Investment
    • Job search
    • Personal Finance
    • Politics
  • The Ugly
    • Information Technology
      • Business Intelligence
      • Content Management
      • Free Software
      • I18N and L10N
      • Java
      • Open Source
      • Mobile Devices
      • Open Source Business Intelligence
      • OSBI
      • SDA
      • Security
      • Smartphone
      • Software Best Practices
      • Software Engineering
      • SQL Server
      • Streaming Media
      • Web
    • Austria
    • Fiction
    • Hardware
    • iPod
    • Miscellaneous
    • Uncategorized
    • Video
    • Weekend Warrior
Donner's Daily Dose of Drama

Stars: From a 64k Data Segment to the Browser

Christian Donner, May 27, 2026November 30, 2026

How a student project for Prof. Gerhard Fasching at the Technische Universität Wien — written in C for Windows 2.1 sometime around 1989 — found its way, more than three decades later, into a modern React application that anyone can open in a browser.

→ Open the live app at heeroz.com/stars

Or jump straight to one of three moments:

  • The sky over Houston on the night of the Moon landing — 20 July 1969, 21:56 local time, the minute Armstrong stepped onto the surface. The crescent Moon is low in the west, in Virgo.
  • Midnight over Times Square, 1 January 2000 — the sky above the ball drop as the millennium turned.
  • The total solar eclipse over Dallas, 8 April 2024 — three hours squeezed into eight seconds, zoomed to 2° and centred on the Sun. The Moon slides in from the lower right, covers the Sun completely (watch for the corona), and moves off again.

Want the sky from your own birthday? Here is how to find it, step by step.


Vienna, late 1980s

I was an Electrical Engineering student at the Technische Universität Wien in the late eighties and early nineties — the era of MS-DOS, the first 80386 machines, and a fragile early Windows whose version number had only just ticked past 2. The Internet, for most students, was a rumor about something called USENET that the lucky ones could read on a VT220 in the basement of the Freihaus.

Red hardcover of Werkstoffe für die Elektrotechnik: Mikrophysik, Struktur, Eigenschaften by G. Fasching, Springer-Verlag Wien New York, standing on a desk
My copy of Prof. Fasching’s materials science textbook, Werkstoffe für die Elektrotechnik (Springer, Wien/New York).

One of the most memorable lecturers of that period was Prof. Gerhard Fasching. He taught material science, a key subject for all EE students, with the kind of personal fervor that you remember even decades later, but his real passion was astronomy. He wrote books about it. Beautiful, careful books. The kind that put the constellations in their proper place not just on the sky but in cultural and scientific history. His “Sternbilderkunde: Himmelskarten, Himmelskörper, Sternbilder” sits on a lot of Austrian bookshelves to this day.

Cover of Sternbilderkunde: Himmelskarten, Himmelskörper, Sternbilder by Gerhard Fasching, published by Vieweg: yellow title over a dark star field with a horizon arc and a constellation figure
Sternbilderkunde (Vieweg), now available from Springer.

If you’ve ever had a professor whose enthusiasm for a topic was contagious enough to nudge you into spending an entire summer on a project that wasn’t strictly required, you know what I mean. For me that project was Stars.

The assignment that became a small obsession

I was looking for a way to earn academic credits and Prof. Fasching wanted a piece of software that could draw the night sky for any place on Earth, at any moment in time, in a way that he could actually use.

I didn’t start from a blank page. Stars was Prof. Fasching’s idea from the beginning: he had already written an earlier version himself, on a CP/M machine if I remember right, around 1979, and that code was where I started. By the late eighties that hardware was obsolete — the other reason he wanted a Windows version.

This was Windows 2.1, and shortly after Windows 3.0. There was no GDI+, no DirectDraw, no GPU. There was a 16-bit operating system on top of MS-DOS, a tiny set of GDI calls, and memory that came in 64-kilobyte segments. Windows 2 could already manage more than one — but spreading the star data across several segments, with far pointers and segment handles in every routine that touched it, would have complicated the in-memory data handling far beyond what I was willing to take on for this project. So I set myself a rule: the whole catalogue had to fit in a single segment.

That last constraint is the one that defined everything else.

The 64k problem

The data set the app needed was the Yale Bright Star Catalog — roughly 9,000 stars down to about magnitude 6.5, with right ascension, declination, and magnitude for each one. The “obvious” representation is something like:

struct Star {
    double ra;     // 8 bytes
    double dec;    // 8 bytes
    float  mag;    // 4 bytes
};                 // = 20 bytes per star

9,000 stars × 20 bytes = 180,000 bytes. About three times what one segment could hold. I could have given up on the one-segment rule and paid for it in every line of code that touched the data — or I could make the records smaller.

So the records got squeezed. Hard.

  • Right ascension goes from 0 to 2π radians. Scale it to a 16-bit unsigned integer and you have a resolution of about 0.0001 radians — well below the size of a printed dot on any screen of the era.
  • Declination goes from −π/2 to +π/2. Offset it to start at the south pole and scale it the same way: another 16 bits.
  • Magnitude needs maybe 6 bits if you quantize in steps of 0.25, starting just above the brightest star — plenty for a chart.

That gave a record like this:

struct Star {
    uint16_t raRaw;     // RA  = raRaw  * 0.00009584 rad
    uint16_t decRaw;    // dec = decRaw * 0.00009584 - π/2 rad
    uint8_t  magByte;   // mag = (magByte & 63) * 0.25 - 1.5
};                      // = 5 bytes per star

The two constants carry the whole idea. 0.00009584 is the size of one step in radians: very nearly 2π divided by 65,536, so a full circle of right ascension fills the range of a 16-bit unsigned integer. One step is about 20 arcseconds of sky, finer than the human eye can separate. Declination reuses the same step. It only has to span half a circle, from the south pole (raw value 0) to the north pole (about 32,780), so subtracting π/2 puts the celestial equator in the middle. Magnitude counts quarter-magnitude steps from −1.5: Sirius, the brightest star in the sky at −1.46, is stored as 0, and six bits reach down to 14.25, far below the catalog’s limit of 6.5. The top two bits of that byte were left spare.

9,000 stars × 5 bytes ≈ 45 KB. That left almost 20 KB of breathing room in the segment for constellation line tables, object indices, and a bit of working memory. The packing constants DECLEH = 0.00009584 and MAGNEH = 0.25 outlived everything else in the codebase — they’re still in the React version today, exactly as they were in the C of 1989.

It’s a small reminder of how much of early personal-computer software was really about negotiating with the hardware. The constellation lines were stored as pairs of 16-bit indices into the star array, four bytes each. The screen projection ran in fixed-point in the hot loop. None of that mattered to the user — they just saw a sky. But the design of the data file rippled through every part of the code.

Drawing the sky

The core of the app is the projection from the celestial sphere onto a flat screen. For a chart that looks like the view from a particular spot on Earth at a particular moment, you need to convert each star’s right ascension and declination into the observer’s azimuth and altitude. The trick is the local sidereal time, which tells you which slice of the sky is overhead right now:

GST = 24h · frac(1.002737909 · days_since_1900 + 0.274907)
LST = GST + (local_time + zone) / 0.997269566 − longitude

Piece by piece:

  • 1.002737909 is how many times the sky turns per clock day. The Earth turns once relative to the stars in 23 hours 56 minutes 4 seconds, about four minutes less than a day by the Sun. That is why a given star rises four minutes earlier each night, and why over a year the stars gain one full turn: 366.25 turns in 365.25 days.
  • 0.274907 is the starting point: how far the sky had turned, as a fraction of a full turn, when the day count begins. Multiply, add, keep only the fractional part (frac), and you have Greenwich sidereal time (GST) at midnight Universal Time on the chart’s date.
  • local_time + zone turns the wall clock into Universal Time. The zone is counted in hours and positive west, as the program always did, so it is 5 for US Eastern Standard Time.
  • 0.997269566 is the same ratio turned around (1 / 1.002737909). Dividing the hours since midnight by it converts them into sidereal hours, because the sky turns slightly faster than the clock.
  • longitude, in hours (15° to the hour) and also positive west, moves the result from Greenwich to your own meridian.

This is the formula as written in 1989. It has since been replaced, for reasons that come up further down in “Two bugs, aged about thirty-four years”.

Once you have LST you can compute the altitude h and azimuth A of any star with the standard horizon-coordinate transform:

H     = LST − α
sin h = sinφ · sinδ + cosφ · cosδ · cos H
A     = atan2(−cosδ · sin H,  cosφ · sinδ − sinφ · cosδ · cos H)

where φ is the observer’s latitude, δ the star’s declination, and α its right ascension. H is the star’s hour angle: how far the sky has carried it past your meridian, the line from due south through the point overhead. It is zero when the star stands highest. The altitude formula is the spherical law of cosines applied to the triangle formed by the celestial pole, the point overhead and the star, and the azimuth comes from the same triangle, measured from north through east. Both are textbook results that every almanac uses.

The chart then places each star at a distance from the center proportional to 90° − h, its angle from the point overhead, in the direction of its azimuth. That is an azimuthal equidistant projection: the zenith is the center, the horizon is a circle 90° out, and every distance from the center is true. Project (h, A) onto a disc that way and you have the chart. Repeat for 9,000 stars, sixty times a second… well, not in 1989. Once per redraw was plenty.

From the screen to the printed page

What I didn’t quite expect was that Prof. Fasching would use its output as source material for his books. The clean line drawings of constellations that appear in his “Sternbilderkunde” volumes are, in a real sense, descendants of those 5-byte star records. For a student, seeing your code in the figures of a published academic book is a fairly intoxicating feeling, and one I never quite forgot.

The books were not the only place the charts ended up. Alongside the volumes he published with Springer, Prof. Fasching self-published a small spiral-bound calendar booklet every year, with sky charts for each month — and those charts were generated with Stars. Here is April 1990:

Spiral-bound 1990 sky calendar open at April: a German text page with a table of Sun, Moon and planet positions, facing a monthly star chart with constellation figures, horizon circle and compass points
April 1990 in Prof. Fasching’s self-published sky calendar. The chart on the right came out of Stars: north at the top, east (Ost) on the left, the ecliptic as a dotted, numbered line. The table on the left tells you where along that line to find the Sun, Moon and planets on each date.

The custom constellation files in the modern version still carry that history. There’s a FASCHING.KBI file alongside the standard set, holding the line work Prof. Fasching himself preferred — a slightly idiosyncratic take that emphasizes certain figures over the IAU defaults. It’s there because it was on the original disks, and it would feel wrong to lose it.


2026: a port to React

Fast-forward roughly 35 years. The C source still compiles, in a fashion, but Windows 2.1 hasn’t been a meaningful runtime in a very long time. I asked Claude (yes — the model that’s writing this very paragraph) to port the application to a modern environment. The goal was simple: keep the look, the math, and the data files exactly as they are, but make it open in any browser, on any device (it now works properly on phones as well — more on that below).

The new version is a single-page React + Canvas application. It loads the original STARS.BIN, OBJECTS.BIN, and CONTOUR.BIN files directly — no conversion step, no re-encoded JSON. The packing constants are unchanged. The projection math is a near line-for-line translation of the old C, with two notable additions:

  • Planets and the Sun, computed from the JPL approximate orbital elements (valid 1800–2050 to about arc-minute accuracy). Each frame solves Kepler’s equation E − e sin E = M by Newton iteration.
  • IP-based geolocation so that when you first open the page, the chart is already centered on your latitude and longitude. The original always opened on Vienna; the new one starts wherever you happen to be.

Everything else — the horizon disc, the cardinal directions, the dashed ecliptic and equator, the click-to-query star info, the constellation editor — is the same set of features the original Windows app had, just in a layout that suits a modern screen.


A short user’s guide

Getting your bearings

When you open heeroz.com/stars, you’ll see a black disc with stars on it. That disc is your local sky, projected as if you were lying on your back looking up. N is at the top, S at the bottom, and east is on the left and west on the right — because that’s how the sky actually looks when you’re facing south and tilt your head back. (If you’re in the southern hemisphere, the chart still works; just face north and reverse the mental image.)

A small line of text in the upper-left corner shows the date, time, latitude and longitude that the chart is drawn for.

On a computer

  • The toolbar runs across the top. Objects is a checklist of what to draw: stars, star names, deep-sky (Messier) objects, the Sun, the Moon, planets, constellation lines, the horizon circle, the compass letters, the ecliptic, the equator and the date and location label. Its Lines menu loads a different set of constellation lines. Next come FOV (field of view) and Center (the zenith, the Sun or the Moon), then the buttons that open the panels described below (Settings, Query, Contours, Vars, Animate), and finally Share, Print and About. Panels open in a sidebar on the right.
  • Zoom with the mouse wheel, which steps through the presets, or pick a field of view from the FOV list: anything from a wide 130° all-sky view down to 0.5°, close enough to see the Sun and Moon as disks.
  • Change your location by clicking and dragging the chart. A small world map appears in the corner while you drag, showing where on Earth you are. Dragging moves the place, not the clock: if you cross into another time zone, set the time zone in Settings as well.
  • Identify a star by clicking it. The Star Query panel opens with its details.
  • Edit constellation lines by right-clicking two stars while the Contours panel is open.

On a phone

  • The Menu button replaces the toolbar. It opens the same controls as a stacked list with buttons big enough for a thumb, and closes again once you pick something, so you can see the result. Object toggles are the exception: the list stays open so you can switch several at once.
  • Panels slide up from the bottom, over the chart, which keeps its full size underneath. Close at the top of the sheet puts them away.
  • Zoom by pinching, or pick a field of view from Menu → FOV.
  • Change your location by dragging the chart with one finger. The world map appears just as it does on a computer.
  • Identify a star by tapping it.
  • Live mode: the Chart | Live switch at the bottom of the screen hands the chart to the phone’s GPS, clock, compass and tilt sensors. Hold the phone flat for a whole-sky chart that turns with you, or raise it to see the stars behind it. More about this in “Pointed at the sky” below.
  • A Stop button appears next to Menu while an animation is running.
  • Constellation editing needs a right-click. Android treats a long press as one, so it works there; iPhones have no equivalent, so use a computer for that.

On both, when the chart is centered on the Sun or the Moon (or in Live mode), dragging is locked, because the chart is following something. A short message says so; switch Center back to Zenith, or Live back to Chart, to drag again.

The panels themselves work the same everywhere:

The Settings panel

The Settings button opens a panel with:

  • Maximum magnitude — the dimmest stars to show. 6.5 is roughly what a person sees on a dark night; 4 looks like a city sky.
  • Star size and Contrast — how large the dots are overall, and how much larger the bright stars are than the faint ones. The brightest star always gets the largest dot and the faintest star shown the smallest, and the dots grow with the size of your screen. A row of sample stars under the sliders shows the result before you apply it.
  • Field of view in degrees, if you want something other than a preset.
  • Latitude and longitude — your location. In this app, negative longitude is east (an old astronomical convention the original code used; the modern version keeps it for fidelity to the data). You can also set the location by dragging the chart, as described above.
  • Time zone meridian — which meridian your local clock is referenced to.
  • Date and time — any moment from 1950 through 2049. The year is still a two-digit field, exactly as it was in 1989, so “50” to “99” means the 1900s and “00” to “49” the 2000s. A Use Current Time button sets it to now.

Star Query

Click or tap any star in the chart. The Star Query panel shows its name (where one is recorded), Bayer/Flamsteed designation, parent constellation, catalog number, right ascension in hours, declination in degrees, and apparent magnitude.

The Constellation Editor

One of Prof. Fasching’s favorite features in the original: you can edit the line drawings yourself. Open the Constellation Editor with the Contours button, then right-click two stars in succession. The panel shows the pair and offers an Add Line or Delete Line button depending on whether that link currently exists. Your edits are persisted in the browser, so the constellation set you build up is yours, kept across sessions.

If you want to start from a different baseline, the Load Constellation section lets you pick from the original .KBI files — including FASCHING.KBI, the one Prof. Fasching himself maintained, and KOMPLETT.KBI, the densest, most exhaustive version.

Animation

The Animation panel (the Animate button) can advance the sky in two different ways:

  • Time mode runs the clock forward (or backward) at a multiple of real time. At “1 hr/s” you watch a full night go by in about thirty seconds — the stars wheel around the pole, planets drift, the ecliptic tilts.
  • Longitude mode keeps the clock fixed and sweeps the observer eastward or westward around the globe. It’s a fast way to see how the same instant looks from very different places on Earth.

Negative speeds run things backwards.

View Variables

For the astronomically curious, the View Variables panel (Vars) exposes the intermediate quantities used by the projection — days since 1900, Greenwich and local sidereal time, the observer’s longitude in hours, and so on. It’s the same set of values that the original C version printed in debug mode, more or less verbatim.


Stars: Eclipses, Messier Objects, and Two Bugs from 1992

A day of changes to the browser version of Stars — some of them new features, some of them corrections to arithmetic that had been quietly wrong since the Cold War ended.

→ Open the live app at heeroz.com/stars


Sharing a view

Every setting that defines what you are looking at — date, time, location, field of view, magnitude limit, which layers are visible, and whether an animation is running — now encodes into the address bar. The new Share button hands you a link that reproduces your exact scene on someone else’s screen, animation and all.

There is one small piece of etiquette built into it. If you open somebody’s link and then start changing things — dragging to a new location, zooming, toggling a layer — the parameters that your action invalidates quietly drop out of the URL. A link should describe what it actually shows. The moment it stops being true, it stops claiming to be.

Printing

The new Print button renders the current chart to a separate, square, high-resolution canvas and opens it in a print window with a caption giving date, location, and field of view.

Printing a white-on-black star chart onto white paper is a good way to empty a toner cartridge, so the print view uses its own palette: transparent background, solid dark stars sized by magnitude, and darker, heavier lines for the horizon, ecliptic, equator, and constellation figures. Internally there is now exactly one renderer that takes a colour theme as a parameter, rather than two drawing routines that could drift apart.

Rendering to a square canvas also means the horizon circle is a true circle regardless of the shape of your browser window.

A quieter toolbar

The row of toggle buttons had grown to about twenty. The display toggles now live in a single Objects dropdown, and the field-of-view buttons in an FOV dropdown that shows the current value. There is also a new Location Map option that keeps the little world map permanently on screen, rather than only while you drag.


The Sun and Moon, to scale

This is the substantial one.

The Sun and Moon had been drawn as fixed dots of 9 and 8 pixels — a decorative choice, not an astronomical one. Two things were wrong with it. The disks never changed size as you zoomed, so at a 90° field of view they were roughly nine times too large. And the ratio between them was frozen at 9:8.

That second point quietly made a solar eclipse impossible. In reality the apparent sizes of the Sun and Moon are almost the same, and which one is larger changes as their distances vary over the year — the ratio swings between about 0.96 and 1.10. That it crosses 1.0 is the entire reason we get total eclipses (Moon larger) and annular ones (Moon smaller). With the Moon permanently pinned at 89% of the Sun’s width, it could never cover it.

Both bodies are now drawn at their true angular diameter, computed from their actual distance at the moment you are looking, and they scale properly with the field of view.

Where you are standing matters

Positions were being computed geocentrically — as seen from the centre of the Earth. For most purposes that is fine. For eclipses it is not, because the Moon’s parallax is about 57 arcminutes, or nearly two lunar diameters. That parallax is precisely what makes an eclipse total along a narrow track and invisible a few hundred kilometres away. Without it, everyone on Earth would see the same alignment, which rather misses the point.

The Moon’s position is now corrected for your position on the Earth’s surface, using an observer vector that accounts for the planet’s flattening.

What you see

The Moon is shaded by its illuminated fraction, so it darkens naturally as it approaches the Sun and goes to a solid silhouette when the disks overlap. Totality draws a corona. The status bar reports the circumstances for your location — Partial, Annular, or Total.

To actually watch any of this, two supporting changes were needed. The field of view now goes down to 0.5°, and a new Center dropdown locks the chart onto the Sun or the Moon instead of the zenith. That last one turned out to be nearly free: the projection has always been an azimuthal-equidistant map about the zenith, and the zenith is just a direction with a right ascension and a declination. Substituting a different direction re-centres the entire chart and nothing else had to change.

Two bugs, aged about thirty-four years

Checking the eclipse geometry meant checking the clock behind it, and the clock had problems.

The first was a timezone. The routine that computed sidereal time correctly converted your local clock to Universal Time. The routine that computed the Julian date — which drives the Sun, Moon, and planet positions — did not. It treated whatever was on your wall clock as though it were UT. The two halves of the program disagreed by the full size of your timezone offset: one hour in Vienna, six in Texas. Six hours is about 3° of lunar motion, or six full Moon diameters.

The second was more interesting. Greenwich sidereal time came from a compact expression built around days since 1900, inherited straight from the DOS original. Tested against a reference, it is accurate to about a hundredth of an hour for 1990 and 1992 — which is exactly when it was written and, presumably, exactly when it was checked. Outside that window it drifts. By 2024 it is off by 0.76°.

You would never notice this looking at a constellation. It is a fraction of the width of your thumb at arm’s length. But it is one and a half solar diameters, and it rotates the entire sky. It has been replaced with the standard series, which now agrees with the reference across the whole range from 1990 to 2026 — including reproducing the old values in the years where the old formula was right.

There is something clarifying about writing a feature that finally exercises code hard enough to reveal that it was never quite correct.


Polarstern becomes Polaris

The star name database was written in Vienna, in German, and had stayed that way. Nineteen names are now anglicised: Polarstern to Polaris, Wega to Vega, Atair to Altair, Kastor to Castor, Spika to Spica, Benetnasch to Alkaid, Arctur to Arcturus, and a handful of spellings that had drifted — Femalhaut, Acharnar — brought back to standard form.

All 72 German constellation names are now the Latin ones used on the chart itself: Großer Bär is Ursa Major, Walfisch is Cetus, Schlangenträger is Ophiuchus, Haupthaar der Berenike is Coma Berenices.

One record had its name and constellation fields swapped, and had done since 1993 — it claimed to be a star called “Pegasus” in the constellation “Markab”. It is Markab, in Pegasus, and now says so.

The Orion placeholder, and what replaced it

The app shipped with a small file called OBJECTS.BIN, drawn as hollow squares. It contained seven entries. Decoding them gives Rigel, Bellatrix, Mintaka, Alnilam, Alnitak, Saiph, and Betelgeuse — the seven brightest stars of Orion, already in the main catalogue and drawn twice.

The original C source explains it. The layer is drawn under a flag called IDM_PLANET. In 1992 the program could not compute planetary positions, so you were meant to type them in yourself for your observing date — seven slots for the seven planets. Somebody filled them with Orion as test data, and nobody ever took it out. It has been sitting in the distribution for thirty-four years pretending to be something it wasn’t.

Since the app now computes the planets properly from orbital elements, the slot was free. It holds the Messier catalogue: all 110 objects, at epoch J2000, drawn with the conventional star-atlas symbols — a dashed circle for an open cluster, a circle with a cross for a globular, an ellipse for a galaxy, a circle with four ticks for a planetary nebula, a square for a diffuse nebula.

Turn it on and the Virgo Cluster appears as the dense knot of ellipses it actually is, with M31 and its two companions over in Andromeda and the Sagittarius nebulae strung along the summer Milky Way.

A better world

The little location map had continents drawn as a dozen very rough polygons — Europe was three blobs. The coastlines have been redrawn at roughly 2–3° resolution, at double the pixel density: Hudson Bay, Florida and the Gulf, Baja California, the Horn of Africa, the Red Sea and the Persian Gulf, Scandinavia, India, the larger Indonesian islands, Japan, Madagascar, New Zealand, Greenland, and Antarctica. The Caspian Sea is a sea again.


The Moon, finally where it belongs

Update, November 2026.

This section used to be called “One thing that is still not right”. The Moon’s position came from a compact low-precision theory anchored at the end of 1999, drifting by roughly 0.85 arcminutes a year away from that epoch — about twenty arcminutes by 2024, most of a lunar diameter. Set the app to the eclipse of 8 April 2024 and you got a convincing partial eclipse with the Moon sitting one diameter off where it belonged. The fix, I wrote then, meant implementing a real lunar theory with several dozen periodic terms rather than papering over the drift with a fudge factor.

That is what it now has. The Moon is computed from the ELP-2000/82 theory as truncated by Jean Meeus in Astronomical Algorithms: sixty periodic terms for longitude and distance, sixty more for latitude. Three smaller corrections came along with it:

  • ΔT. The lunar theory runs on uniform “terrestrial time”, which by 2024 ran about 69 seconds ahead of the clocks on our walls. The Moon covers its own diameter in about an hour, so a minute is not nothing.
  • One frame for everything. The Moon now comes out referred to the same J2000 equator as the Sun and planets, and the Sun’s own conversion now uses the J2000 tilt of the Earth’s axis rather than today’s.
  • Aberration. Sunlight takes eight minutes to reach us, so we see the Sun about 20 arcseconds behind its true position. The Moon is close enough that the effect cancels. For eclipses, that 20 arcseconds is worth about forty seconds of timing.

To check it, I compared the app against NASA JPL’s DE421 ephemeris, a high-precision reference for the positions of the Sun, Moon and planets, at 600 random moments between 1950 and 2049. The old Moon was off by a median of 20 arcminutes and as much as 44. The new one is off by a median of 14 arcseconds, and never more than 35. That is about two percent of the Moon’s width.

And the eclipses come out right. Stepping through them a minute at a time:

  • Dallas, 8 April 2024: total in the app from about 13:41:20 to 13:45:15 CDT. NASA says 13:40:43 to 13:44:27.
  • Carbondale, Illinois, 21 August 2017: total from 13:21 to 13:22 CDT. NASA says 13:20:06 to 13:22:46.
  • Albuquerque, 14 October 2023: annular from 10:35 to 10:39 MDT, matching the published ring of fire.
  • Munich, 11 August 1999: total, at about 12:37 local time, as it was.
  • New York, 8 April 2024: partial only, which is correct — the city sat outside the path of totality.

Under a minute is the honest margin now, and for a program whose star catalogue still fits in 45 kilobytes, I’ll take it.

Stars on a phone

The other long-standing caveat was the phone. The settings and query panels used to open as a sidebar, which on a narrow screen squeezed the chart into a sliver. On a phone, the panels now slide up from the bottom over the chart instead, and the chart keeps its full size underneath. The toolbar collapses into a single Menu button that opens the controls as a stacked list with buttons big enough for a thumb, and you can drag the sky with a finger to change your location, just as you would with a mouse.

Pointed at the sky

Then the phone stopped being a limitation and became the point. You can pinch to zoom, as you would expect, and there is now a Chart | Live switch at the bottom of the screen. Tap Live and the phone’s GPS sets your location, the clock runs in real time, and the compass and tilt sensors take over:

  • Hold the phone flat and the whole-sky chart turns as you turn, with the direction you are facing at the bottom edge — the way you hold a planisphere, and the only way left and right on the chart match the real sky.
  • Raise it toward the sky and the screen becomes a window: it shows the stars behind the phone, with the horizon drawn in and the ground shaded below, and follows you as you sweep around.

Phone compasses point to magnetic north, which here in Massachusetts is about 14° off true north — enough to put the wrong constellation on the screen. So Stars corrects for it with NOAA’s World Magnetic Model, the same model phones and GPS receivers use for navigation. Point the phone north, tilted up by your latitude — 42° here — and Polaris sits in the middle of the screen, which is a satisfying thing for a program whose first version drew charts on paper.


All of this is live now at heeroz.com/stars. Start with the Dallas eclipse — the Moon really does come around, and now it comes around in the right place.

Related Posts:

  • See the Night Sky from the Day You Were Born (Free Star Map)
  • Sky over Houston, Moon landing night 1969
  • Sky over Times Square, midnight 1 January 2000
  • Sternbilderkunde by Gerhard Fasching (cover)
  • Prof. Fasching's sky calendar, April 1990
Miscellaneous

Post navigation

Previous post
Next post

Comment

  1. Pingback: See the Night Sky from the Day You Were Born (Free Star Map) - Donner's Daily Dose of Drama

Leave a Reply

Your email address will not be published. Required fields are marked *

Pages

  • About
  • Awards
    • TechnoLawyer
  • Contact Christian Donner
  • Project Portfolio
  • Publications
  • Speaking Engagements

Recent Comments

  • Stars: From a 64k Data Segment to the Browser - Donner's Daily Dose of Drama on See the Night Sky from the Day You Were Born (Free Star Map)
  • See the Night Sky from the Day You Were Born (Free Star Map) - Donner's Daily Dose of Drama on Stars: From a 64k Data Segment to the Browser
  • Ameet on The Voip.ms SMS Integration for Home Assistant
  • Jay Dee on The Voip.ms SMS Integration for Home Assistant
  • Christian Donner on The Voip.ms SMS Integration for Home Assistant

Tags

AHCI Amazon Android ASP.Net AT&T Droid Drupal email Error failure featured firmware Garmin Godaddy Google honda Internet Explorer 8 iPhone Lenovo Lisa Lanett Modules NAS Nexus One Paypal Performance Privacy QNAP raid RS-407 sauna Security spam SQL SR3600 Synology T-Mobile T430s transmission tylö Verizon Virus VMWare Windows 7 windows 8.1 Windows Mobile
  • About
  • Awards
    • TechnoLawyer
  • Contact Christian Donner
  • Project Portfolio
  • Publications
  • Speaking Engagements
©2026 Donner's Daily Dose of Drama | WordPress Theme by SuperbThemes