Emerald Blog

    Notes from the developers at Emerald Sequoia LLC

    Browsing Posts in Project status

    We’ve gotten a lot of requests for this, and we’ve finally put it in the can: We’ve just hit the App Store with an iPad version of Emerald Chronometer, called “Emerald Chronometer HD”. You can see the press release here, some images here, and the App Store page here.

    Once again this was more work than you might think, because of the way the app works with its OpenGL implementation. Something as simple as rotation, which is trivial on a simple app with standard UIKit views, becomes a lot more complicated when you have an OpenGL view and UIKit views and you want to animate it all smoothly during an orientation change. Watch carefully what happens when you rotate the device while grid mode is up; that represents a week of development effort. :-) We did get to make use of the higher-resolution images we developed for the Retina display, however.

    Anyway, we’re pretty happy with the way it looks, in both portrait and landscape modes. And in grid mode with 2-4 watches, all of the watches are the same size as they are in Emerald Chronometer on the iPhone (or larger), so it’s a nice way to see more than one watch at once and still be able to read each one.

    The new app is priced at USD $5, the same price as Emerald Chronometer has been since it entered the store. At the same time, we are reducing the price of Emerald Chronometer to USD $2; this reflects both an overall downward trend in app pricing in the past three years and also the additional value (and development effort) associated with the iPad app.

    We hope you like the new app!

    Eclipses

    No comments

    There will be a lunar eclipse later this month, visible in the Americas (a total eclipse, around midnight on the night of Dec 20-21, weather willing) and parts of Australia (partial eclipse just after sunset on the 21st) and Great Britain (partial eclipse just before sunrise on the 21st).

    Emerald Chronometer (and Emerald Geneva) have had the capability to model eclipses for some time now, and there’s a web page about it in the Help and online. But we thought Emerald Observatory should have some of the fun, too. So we took that display from Geneva, simplified it a bit and shrunk it into the spot in Emerald Observatory previously occupied by the leap-year indicator:

    Eclipse simulator in Emerald Observatory

    Eclipse Simulator in Emerald Observatory

    The outer ring shows things that are apparently rotating around the Earth, namely the Sun, the Moon, the shadow of the Earth, and the nodal points of the lunar orbit, which are the points where it intersects the apparent orbit of the Sun. When the Moon and the Sun are at the same point on the display’s ring, there is a new moon. A new moon does not always result in an eclipse, but if the new moon happens near a “nodal point” (red line on the ring), it means the orbital paths of the Sun and Moon are close to intersecting and a solar eclipse is possible. Similarly, when the Moon is opposite the Sun on the ring, it will be at the same point as the Earth shadow (black-filled circle) on the ring display, and there is a full moon. Again, a lunar eclipse does not always occur when there is a full moon, but again if the full moon happens near a nodal point (red line), then a lunar eclipse is possible.

    When an eclipse of some sort happens, or even almost happens, the dial inside the ring shows a simulation of what will appear in the sky (with better graphics than on Geneva, since we aren’t constrained here by the mechanical model). For example, if we tap the Set button and then the phase button to advance to December (20th or) 21st, we see

    Lunar eclipse simulation

    The moon is shown eclipsed, and the Earth shadow is very faintly shown as a gray outline. If we move forward or backward in time, we can see the eclipse progress. Here we’ve moved backward an hour, to show the partial eclipse at that time:

    As I said earlier, we removed the leap-year indicator. We moved the year itself next to the date (as shown in the top picture), and have a simple “Leap” indicator that turns on when there is a leap year, but the complex 1/2/3/4/100/400 display is gone. We were somewhat ambivalent about it from the start anyway, and at least one observer agreed.

    Anyway, here’s wishing for clear skies for everyone. But if you can’t see the eclipse outdoors, you’ll be able to see it inside on Emerald Observatory. :-)

    You’ll need version 1.3 of Emerald Observatory to see it. It was approved for the store last night and should show up in the next 24 hours.

    Retina support and app size

    1 comment

    The new iPhone 4 support that Bill just posted about required a whole new set of artwork, which is why it took so long for us to get this support out. Most simple apps simply use built-in widgets and graphic routines to render their displays, and those apps got Retina support simply by recompiling. (Our own apps Emerald Time and Emerald Timestamp fall into that category, and we supported the Retina display in those apps when the iPhone 4 came out). But the displays you see in Emerald Chronometer are rendered using a “parts list” of display objects that is generated with a custom external tool.

    For example, here’s a parts list (this is really an OpenGL texture atlas, for the technically inclined) from Geneva’s front side, at the old resolution:
    Old display 'parts list' or texture atlas

    That image, and many more like it, are included with every copy of the app we ship.

    The only way to get higher resolution imagery with this scheme is to provide a higher resolution image of parts; because the Retina display has 4x the pixels of the older displays, that means these artwork images need to be about 4 times the size of the old ones, which turns out to be a pretty large number (40 MB of images). Here’s just a portion of the same artwork image at the higher resolution for comparison:

    We sympathize with those of you with older phones and slower connections who have to download all of the bytes of the new app with no appreciable benefit. For what it’s worth, we considered a couple of different options before settling on this one:

    1) Creating a separate app with the high-resolution artwork in it, and leaving the existing app as is. This would have removed any impact on owners of 3GS and earlier devices. But we didn’t think this was fair to our existing iPhone 4 customers, since they would have to pay full price for the new app for a relatively minor feature upgrade, and we didn’t see any other app developers do this.

    2) Making an in-app purchase option for $1 to get the higher resolution artwork. At first this seemed like a good idea (especially since it would bring in a small amount of revenue for our not inconsiderable effort generating the new artwork), and we spent a little time developing some store infrastructure to support it. But this would mean that users would have to download the additional 35 megabytes or so of Retina-specific imagery while running the app. This maybe wouldn’t be so bad, but the artwork typically changes in minor ways every time we release a new version, so it would mean that going forward as more and more people had iPhone4-class devices, we’d all be forced to do this extra step every time a new version was released.

    We finally decided that the right long-term architecture was to just support the Retina display as part of the normal app. Anyway we hope those of you with Retina displays like it.

    iPhone 4 support

    No comments

    We’re about to release a new version of Emerald Chronometer with high-resolution graphics for the Retina display.  iPhone 3 users won’t see much difference but iPhone 4 users will finally get the full benefit of their new screens.  It makes a huge difference, especially on all our small text:

    Current projects

    No comments

    Just a quick note to update you on what we’re doing at this moment:

    • Our iPad app Emerald Observatory squeaked in under the wire (with 35 minutes to spare!) to make it into the store by iPad launch day (April 3).  That consumed most of our attention for the months of February and March.
    • We’ve been putting the finishing touches on a “world time” watch for Emerald Chronometer, which has a 24-city ring on the front and four 12-hour subdials on the back.  You can customize each of the 28 city locations via the Settings panel (much more quickly than sending it back to the factory for repainting!)

    - Steve

    EC 3.1 world time watch

    **Preliminary**