Floryne Pierson
← All posts

I built a navigable 3D universe with 107 clickable objects

From the planets to the Big Bang, every object in my universe viewer has an info card you can click. Here's why I built it, how it works, and what it taught me about building products people actually want to pay for.

The universe viewer showing Jupiter's first opposition transit card at age 6, with the solar system in the background and a life timeline at the bottom
The transit card for Jupiter's first opposition at age 6, with the full life timeline visible at the bottom.

The problem: a sky map that stopped at the solar system

I already had a working 3D sky map. You could enter a birth date and location, see the real sky above that place and moment, and read a personalized natal chart. But the moment you zoomed out past Neptune, the experience died. You could see the Milky Way, Andromeda, distant superclusters, but clicking them did nothing. They were decoration.

The data was there. I had galaxies rendered as particle systems, nebulae as sprites, constellation lines drawn from real stellar distances. What I didn't have was the bridge between "that glowing thing" and "here's what it is and why it matters."

107 info cards, two languages, two perspectives

Every object in the scene now has a card with two sections: an astronomical description (what it physically is) and an astrological interpretation (what it symbolically means). Both in French and English.

The taxonomy:

Writing the astrological interpretation for a supercluster or the Cosmic Microwave Background is not something you find in any astrology textbook. These are modern, contemplative interpretations: what does the Bootes Void symbolize? What does it mean that 85% of the mass holding our galaxy together is invisible? I treated them as philosophical mirrors, not predictions.

The click detection problem

Three.js raycasting works well for meshes with geometry. Click a planet sphere, get a hit. But most deep-space objects are point clouds (thousands of particles forming a galaxy shape) or tiny label sprites. The raycaster either misses them entirely or returns a particle hit with no useful identity.

My solution: screen-space projection. On every click, I project all tagged labels onto 2D screen coordinates and find the nearest one within 150 pixels of the cursor. If it has an objectKey, I show the card. This bypasses the raycaster entirely for deep-space objects and feels much more natural. You click near a label, you get the card.

function findNearestScreenLabel(pixelX, pixelY, maxPx) {
  let best = null, bestDist = maxPx;
  for (const lbl of allLabels) {
    if (!lbl.userData.objectKey || !lbl.visible) continue;
    const v = lbl.position.clone().project(camera);
    if (v.z > 1) continue; // behind camera
    const sx = (v.x + 1) * halfWidth;
    const sy = (-v.y + 1) * halfHeight;
    const d = Math.hypot(sx - pixelX, sy - pixelY);
    if (d < bestDist) { bestDist = d; best = lbl; }
  }
  return best;
}

The priority chain: planet mesh hit > screen-space label > distance-based region (asteroid belt, Kuiper belt) > fly to click point. Planets always win.

The product decision: what's free, what's paid

This was the harder question. I had a complete natal chart engine: Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Ascendant, Midheaven, and North Node in sign, plus 24 life transits from childhood to age 95. All personalized. All written in both languages.

The instinct was to gate everything. Blur all natal texts, blur all transits, charge upfront. But that's the wrong order. You can't sell what people haven't experienced.

The split I landed on:

FreePaid
Full natal chart (all 10 placements, readable)20+ adult life transits
3D universe + 107 clickable objectsSaturn return, midlife crisis, Jupiter cycles
Childhood transits (before age 18)AI-generated report (Wooly)

The natal chart is the hook. It's deeply personal, immediately resonant, and shows the quality of the writing. The transits are the ongoing value: "what's coming in my life." You read your natal chart, recognize yourself, see the timeline of your life with intriguing locked cards at age 29, 37, 42... and want to know what happens next.

The transit system

Each transit is a real astronomical event computed from the user's birth date. The first Saturn return happens at exactly 29.5 years. The Uranus opposition at 42. The North Node returns every 18.6 years. These aren't generic horoscopes. They are personalized descriptions that reference your natal sign for each planet.

The timeline covers 24 events across a full life, from the first Jupiter opposition at age 6 (entering school, the world expanding beyond family) to the third Saturn return at 88 (a cosmic honor, the transit of accomplished mastery). Each one is a full paragraph of interpretation, with duration, affected life domains (career, love, spirituality, karma), and no health predictions.

What I learned

Astronomy and astrology are not enemies. The same person who wants to know that Betelgeuse is a red supergiant 700 light-years away also wants to know that it sits at 29 degrees Gemini and symbolizes success through individual effort. Putting both on the same card, without pretending one invalidates the other, is a product decision most competitors don't make.

The freemium gate matters more than the feature list. A locked feature nobody has tasted is invisible. A free feature that makes people say "I want more of this" is a sales engine. The natal chart is free because it's the best ad for the transits.

Screen-space detection beats raycasting for label-heavy scenes. If your 3D scene has hundreds of text labels, don't fight the raycaster. Project to 2D and find the nearest neighbor. It's simpler, more reliable, and the user doesn't care how you found the click target.

Writing 107 bilingual info cards with two perspectives each is not a weekend project. But it's the kind of content moat that's very hard to replicate. Every card exists because someone decided that the Helix Nebula deserves to be called the Eye of God and that the Dark Matter Halo represents "the invisible 85% that holds everything together." That's editorial judgment, not automation.

The universe viewer is live at magicalchart.com/star-map. Enter a birth date and location, switch to the solar system view, and zoom out. Click anything.