The Real Japanese Witching Hour Isn’t Midnight
I Built Two Interactive Apps Inspired by Japanese Ghost Folklore

The Real Japanese Witching Hour Isn’t Midnight
I Built Two Interactive Apps Inspired by Japanese Ghost Folklore
When people outside Japan think about ghost stories, they often imagine haunted temples, long-haired spirits, or mysterious forests.
But there’s another idea that appears again and again in Japanese folklore:
Ushimitsu-doki (丑三つ時).
It is often translated as the “Witching Hour,” the mysterious time when the boundary between the human world and the spirit world becomes thin.
Most people — even many Japanese people — assume it simply means “around 2 a.m.”
But that’s not actually true.
The Real Ushimitsu-doki Changes Every Day
Before Japan adopted modern clocks, people used a system called Futeijihō (不定時法), or temporal hours.
Instead of dividing every night into fixed sixty-minute hours, the time between sunset and sunrise was divided into six equal parts.
Because nights become longer in winter and shorter in summer, the length of each “hour” changed throughout the year.
That means Ushimitsu-doki also changes every night depending on the season and your location.
It isn’t a fixed time.
It’s determined by the movement of the sun.
I found that fascinating.
So I decided to build an app that calculates the real Ushimitsu-doki for any location.
App 1 — USHIMITSU
🔗 https://chart.nanami-astro.com/kaii/ushimitsu_en.html
This app calculates:
- Sunset and sunrise using astronomical calculations
- Tonight’s real Ushimitsu-doki
- A live countdown until the Witching Hour begins
- Moon phase
- Atmospheric “Kaii Index” inspired by Japanese ghost folklore
When Ushimitsu-doki begins, the entire screen slowly changes color to create the feeling that something has quietly arrived.
Of course…
It’s only an atmospheric effect.
Or maybe not.
AI Observation Mode
One feature I especially enjoyed building is the AI Observation Mode.
If you provide an astrology YAML generated by my AI astrology tools, the AI can create:
- a personalized ghost story
- mysterious warnings
- forbidden actions for tonight
- atmospheric folklore-inspired messages
Without the YAML, it simply creates a story based on tonight’s moon and the calculated Ushimitsu-doki.
It isn’t meant to convince anyone that ghosts exist.
It’s an experiment in combining Japanese folklore, astronomy, and generative AI into a playful interactive experience.
App 2 — The Kaii Detector
🔗 https://chart.nanami-astro.com/kaii/kaii_kenchi_en.html
The second app asks a different question.
Instead of calculating when strange things might happen…
What if we tried measuring whether something unusual is happening right now?
The Kaii Detector uses your browser’s cryptographically secure random number generator (CSPRNG).
It collects 65,536 random bits and performs a binomial statistical test.
Depending on the result, it displays:
- Significant Bias
- Weak Bias
- No Anomaly
The idea is loosely inspired by projects such as the PEAR Lab and the Global Consciousness Project, which explored possible relationships between consciousness and random systems.
There is no scientific evidence that ghosts influence random numbers, and repeated testing will naturally produce unusual results from time to time.
That’s exactly why I like it.
Standing alone at night, pressing a single button, and seeing “Significant Bias” appear on the screen creates an unforgettable moment — even when you know it’s only statistics.
Sometimes imagination is the most powerful special effect.
A Small Collection of Japanese Horror Stickers
I also created a free collection of digital stickers inspired by Japanese horror and folklore.
👻 Free Download: https://payhip.com/b/dSXUO
They’re designed for digital journals, planners, creative projects, or simply for anyone who enjoys Japanese ghost stories.
If You Want More Japanese Ghost Stories…
One YouTube channel I enjoy is:
🎥 https://www.youtube.com/@kwaiki-collector
Its videos capture the atmosphere of modern Japanese ghost storytelling very well.
Personally, I also enjoy the works of Japanese horror writer Yama Yu (夜馬裕), whose stories blend urban legends with traditional folklore.
Everything Here Is Meant to Be Enjoyed
The astronomical calculations for sunset, sunrise, and the moon phase are real.
The folklore, visual effects, AI stories, and ghost detection are entertainment inspired by Japanese culture.
Please don’t treat them as paranormal evidence.
If you decide to visit haunted places, always respect local laws, avoid private property, and put your own safety first.
Japanese folklore has always blurred the line between imagination and reality.
Perhaps that’s why these stories have survived for centuries.
If you’re curious about one small piece of Japanese culture, try waiting for the real Ushimitsu-doki tonight.
It might arrive at a different time than you expected.
메타데이터
- post_id
- 7a707f90efb5
- slug
- the-real-japanese-witching-hour-isnt-midnight-7a707f90efb5
- url
- https://medium.com/@r-hayama/the-real-japanese-witching-hour-isnt-midnight-7a707f90efb5
- canonical_url
- https://medium.com/@r-hayama/the-real-japanese-witching-hour-isnt-midnight-7a707f90efb5
- author_url
- https://medium.com/@r-hayama
- status
- ok
- fetched_at
- 2026-08-18 21:47:59