Show HN: Starspelled – Turn Words into Constellations

https://starspelled.com
by photonboom • 4 months ago
1 0 4 months ago

I built a site that turns any word or short phrase into a constellation using star data from the HYG catalog.

I was inspired by Neal Agarwal's constellation-draw, but approached it as an inverse fitting problem. Given text, find real stars that trace the letters. It uses a coarse grid search plus CMA-ES refinement to search for matches. You can reroll results, switch to a globe view, and drag vertices around to tune the constellation manually.

Example for the input "HI HN": https://starspelled.com/#BAEAAKAVRDAKF3___7uEBFOfsQQjABlKPmu...

Source: https://github.com/JoshuaMosier/written-in-the-stars

Feedback welcome!

Related Stories

Loading related stories...

Source preview

starspelled.com