Diamond, anywhere

どこでもダイヤモンド · 日本語

About this app

In Japan, the moment when the sun sits exactly on the summit of Mt. Fuji is called “Diamond Fuji”, and when the full moon does, “Pearl Fuji”. This web app calculates when and from where you can see such alignments — not only with Mt. Fuji, but with skyscrapers and any mountain or building you choose (“Diamond XX” / “Pearl XX”).

It’s free, has no ads, needs no sign-up, and runs in the browser on PCs, phones and tablets. ← Back to the app

What you can do

Observers and targets are limited to Japan (because the app uses GSI’s elevation API and GSI Tiles for the map).

Skyscrapers with detailed 3D models (80)

Sapporo (7)

Sendai (3)

Tokyo (23 wards) (42)

Yokohama (7)

Nagoya (12)

Kyoto (1)

Osaka (6)

Hiroshima (2)

How to use

  1. Simple mode: We recommend starting with “Simple” mode, which shows only the most-used features. Press “Start the easy calculation” and answer a few questions to choose the observer and target and calculate (observers and targets picked on the map can be bookmarked). You can also choose ① the observer from bookmarks, and ② the target from Mt. Fuji, bookmarks or skyscrapers (detailed 3D). It calculates with a 400-day search period and an allowed offset of ±2.0. To enter latitude/longitude or fine-tune values, switch to “Detailed” mode at the top of the page
  2. ① Observer: In detailed mode, click the map or drag the (blue) pin to set the observer position. If you watch from a building, enter the “Observer height above ground”
  3. ② Target: Choose Mt. Fuji or another target. For other buildings, use the “Pick on the map” map: click a skyscraper marker, or place the (red) pin anywhere and enter the height
  4. ③ Conditions: Choose the sun (Diamond) or the moon (Pearl) and press “Calculate”
  5. Candidates: Tap a row to show that day in the “Result view”. Tap ▶ to expand five days including the two days before and after (sun only). ★ marks the candidate with the smallest offset
  6. Offset: How far the sun / moon is above or below the best alignment (its bottom edge resting on the target’s reference point — the center of the summit disc for Mt. Fuji, the top for buildings), with the apparent size (diameter) of the sun / moon as 1 (+ is above, − is below, 0 is best). Candidates beyond the “Allowed offset” are not shown
  7. Result view: Drag to look around, scroll / pinch to zoom. Drag the sun / moon to move it along that day’s path (dots every minute); the date and time (to the second) are shown at the top left (if “Let the sun move to other days” at the bottom right is on, the sun can also jump to the paths of the days before and after). The distance ring is the distance from the observer, green is the target, and the yellow / white arc is the path of the sun / moon
  8. Using the map and result view on a phone: To keep page scrolling smooth, the map and result view are locked. Double-tap, or use the padlock button at the bottom left, to unlock them (you can also use the map in full screen). While locked, tapping the map doesn’t move the pin. Double-tap again while unlocked to lock. Touching outside the map / result view locks it again
  9. Language: The app follows your browser’s language. You can change it in Menu → Settings → “Language”

Install as an app

Add it to your home screen to use it like an app (still free, no sign-up).

Once installed, it uses the whole screen without the browser frame and opens straight from your home screen. The pages and the calculation part you have opened are stored on your device, so even with a weak signal you can calculate from bookmarks and history and use the result view (the map, elevation lookup and skyscraper display need the internet). When a new version is available, the app asks whether to update.

How it calculates, and caveats

Disclaimer and safety

Security and privacy

Terms of use

This is a translation of the Japanese terms. If there is any difference, the Japanese version prevails.

The copyright of this app’s program and screen design belongs to the author (itachiwalker). © 2026 itachiwalker

Use

Prohibited

Disclaimer

* The 3D city model “PLATEAU”, on which the 3D models and skyscraper data are based, is licensed under CC BY 4.0. The components used for display are listed under “Open-source licenses” below.

Data sources

FAQ

Q. When I pick a skyscraper (simple 3D) on the map, the pin (the point used for the calculation) is off the center of the tower
A. The position of a skyscraper (simple 3D, red-violet marker) is the center (centroid) of the building’s whole footprint in the source data (PLATEAU). For buildings with a wide podium and a slim tower on top, the pin can be off the tower’s center. The calculation uses this position, so the closer you watch from, the more the resulting times shift.
In that case, zoom in until the building outline is shown, and drag the pin to where the tower’s center seems to be (it can move only inside the outline). The building’s name and height are kept; enter a “width” to calculate.
Skyscrapers with detailed 3D (blue-violet marker) use the top of the tower as the reference, so they don’t have this offset (their pin can’t be moved).

Q. What is the “width” used for?
A. Only for drawing the building in the “Result view”. The calculation (candidate times and offsets) uses a single point at the top of the building, so the width doesn’t affect the results. A rough value is fine.
When you pick a skyscraper (simple or detailed 3D) on the map, it’s drawn from the source data, so no width is needed (the field is disabled). If you move the pin inside the outline, enter a width.

Q. Pressing “Use current location” shows “Couldn’t get your location: User denied Geolocation”
A. Your device or browser settings are blocking location access for this site. The app can’t change this permission, so please check the following settings (item names vary slightly with the iOS version).
iPhone / iPad (Safari):
(1) Settings → Privacy & Security → Location Services is on
(2) Further down on the same screen, set “Safari Websites” to “Ask Next Time Or When I Share” or “While Using the App” (with “Never”, requests are denied without asking)
(3) Settings → Apps → Safari (on iOS 17 and earlier, Settings → Safari) → Location: set to “Ask” or “Allow”
(4) If you chose “Don’t Allow” for this site before, open the menu in Safari’s address bar (the “AA” button, etc.) → Website Settings → Location, and set it to “Ask” or “Allow”
After changing the settings, reload this page and press “Use current location” again.
If you use Chrome or another browser on iPhone, go to Settings → Privacy & Security → Location Services and set that browser app to “While Using the App” or similar.
Even without location access, you can set the observer by clicking the map or with “Enter lat/long or URL”.

Q. Some names are still in Japanese
A. Place names in the map search come from GSI and are in Japanese only. Skyscrapers without an English name in our data are shown with their Japanese name. Names you enter yourself (bookmarks) are shown as you typed them.

Bug reports and requests

Please send bug reports and requests for buildings, areas or features via GitHub Issues (a GitHub account is required). English is welcome.

About the author (itachiwalker)

Donations

This app is free and has no ads. It is developed and maintained as a personal hobby, and donations are completely optional. Only if you found it useful or got a beautiful photo with it, support through the button below would be a great encouragement.

Open-source licenses

This app uses the following open-source software.

Leaflet 1.9.4 — BSD 2-Clause License
BSD 2-Clause License

Copyright (c) 2010-2023, Volodymyr Agafonkin
Copyright (c) 2010-2011, CloudMade
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
   list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
three.js 0.160.0 — MIT License
The MIT License

Copyright © 2010-2023 three.js authors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
qrcode (node-qrcode) 1.4.4 — MIT License
The MIT License (MIT)

Copyright (c) 2012 Ryan Day

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Tabler Icons 3.48.0 — MIT License
MIT License

Copyright (c) 2020-2026 Paweł Kuna

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.