Built in 2026
Letters to the Stars
Your journal in the sky
A journaling app set in a 3D night sky. Write entries that become stars, connect them into constellations, and build a personal celestial dome of lived moments.
Made with
Most journaling apps look the same. A list of dated entries in a scrolling feed. Some add tags or mood trackers. None of them make you feel anything when you open them.
I wanted journaling to feel like something worth coming back to. I did not want a productivity tool or a habit tracker. I wanted a place: a quiet, private sky that fills with light as you write.
Letters to the Stars turns every journal entry into a star. You tap the sky, pick a mood color, write your thoughts and send the letter. The letter breaks into particles, gathers into a point of light, and rises into a 3D dome of sky. Over weeks and months, your sky fills with meaning. Warm stars mark good days, and cool ones mark harder days. Tap any star to read what you wrote.
A sky that lives on your device
The app runs entirely in the browser. There is no backend, no account and no server holding your data. Everything lives in your device’s local database. You open it, you write, and your sky belongs only to you.
The experience has two modes.
The first is exploring your sky. It is a rotating 3D dome with nebula clouds, stardust and a slowly moving starfield. On desktop, you drag to look around. On mobile, you tilt your phone and the gyroscope takes over. When you stop, the camera drifts gently up and down, as if it were breathing.
The second is writing. You tap anywhere on the sky to place a new star. A round color picker lets you choose a mood: warm oranges and yellows for joy, deep blues and purples for reflection. You write your entry and press send. The text scatters into particles, the particles gather, and a new star lights up where you tapped. The whole animation takes about fourteen seconds, with matching sound and haptic feedback on devices that support it.
Drawing constellations
You can connect stars into named constellations. Long press a star to enter constellation mode, then tap other stars to draw lines between them. You can group memories by theme, by time or by feeling. Each new connection plays a note from a pentatonic scale, so every constellation has its own little melody.
The lines are smooth curves that arc across the dome. You can undo connections one at a time. When you finish, you name your constellation.
Seven hand written shaders
Every visual element in the sky is a custom shader, a small program that runs on the graphics card. There are no ready made materials or texture sprites. Seven hand written GLSL programs draw everything:
- The glow and halo of journal stars.
- The animation that draws constellation lines.
- The nebula clouds, which blend from violet overhead to amber at the horizon.
- The background starfield.
- The Milky Way band.
- Floating particles in the air.
- The occasional shooting star.
A bloom effect, applied after everything is drawn, ties it all together. Stars really glow, and constellation lines get brighter where they cross.
Running all of this at 60 frames per second on a phone took careful memory management. The render loop creates zero new objects per frame. Every temporary vector, quaternion and projection matrix is created once and reused. Stars are flat squares with a glow from the shader, not 3D geometry. Quality levels change shader complexity and particle counts to fit each device.
Sound that responds
The audio is generative, not fixed. A playlist of six ambient tracks crossfades from one song to the next. It loads the next track thirty seconds before the current one ends. Audio files are saved between sessions, so they do not need to download again.
When you create a star, a spinning sound plays. It speeds up from half speed to two and a half times speed, in time with the particles gathering. Each constellation line plays a pentatonic note, one step higher for each connection. Undo plays the last note in reverse.
Vibrations in time
On devices that support it, vibration patterns follow the star animation. Fast pulses as the text scatters into particles. Gentle taps that speed up as the particles gather, with the gaps shrinking from 400 milliseconds to 15. A long vibration when the star forms. A single buzz as it rises into the dome. The haptics make the moment feel physical, like holding something that builds up energy and then lets it go.
Private by default
All data stays on the device in IndexedDB. There is no account, no analytics and no tracking. The app works offline as a PWA, and you can install it from the browser menu. Translations are built in when the app is compiled, so they add zero cost while it runs.
Feeling first
This project showed me how far the browser can go as a creative medium. Custom shaders, generative audio, timed haptics and particle physics all run on a phone without dropping frames. The key was treating performance as a design limit from the start, not something to fix later.
The emotional design mattered more than the technical work. The star animation lasts fourteen seconds because sending a journal entry should feel like a moment, not a click. The camera drifts because an empty sky should still feel alive. Every technical decision served how the experience should feel.
Letters to the Stars A sky woven from a million lived moments