r/SideProject • u/ringsushy • 2h ago
My browser 3D asteroid simulator just survived 850k requests after Daily Mail and NY Post embedded it
I make 3D space science videos and spent the last few months putting together a browser simulator at https://youvsuniverse.com/ so viewers could test scenarios like an Apophis impact, Earth falling into the Sun, or the Moon crossing the Roche limit on their own city.
This morning articles and embeds went live on Daily Mail, New York Post, IFLScience and The Daily Galaxy. Cloudflare logged about 850k requests and 33k iframe loads over the last ten hours with zero 5xx errors, which caught me off guard because the whole thing runs on static Cloudflare Pages and one small Worker for share links and OG images.
A couple real things did bite me once traffic hit. On live share cards the bundled monospace font in my Resvg Worker was missing the solar radius symbol, so Sunfall cards were printing a broken glyph box until I spotted it. My CSS scroll fade on the side rail was also dimming the bottom buttons on 1280x720 screens. On the 3D side, keeping Three.js drawing as a custom layer inside MapLibre's WebGL2 context and tearing down the MapLibre stage after 20 seconds idle is the only reason mobile tabs didn't blow up today.
If you want to drop a solid gold asteroid on New York or watch Earth fall into the Sun over 64 days, it's up at https://youvsuniverse.com/. If anything feels sluggish or weird on your phone, let me know which device you're on so I can patch it.