Was this a port of the Flash app or reverse engineering it? The description on GitHub mentions that the Flash version was made by your friend, so I presume you have the original source available.<p>I've wanted to port an old Flash game for a long time, but I only have the .swf file, not .fla, because I'm not the original developer. I've tried several decompilers to examine the code and resources, but it would take a lot of work to make sense of the obfuscated code. Unfortunately, it can't be played in the Ruffle emulator since it is written in ActionScript 3, which is not currently supported.
You can check out the source code here: <a href="https://github.com/matttt/scale_of_the_universe" rel="nofollow">https://github.com/matttt/scale_of_the_universe</a>
I didn't realize that the Planck length was so much smaller than the elementary particles. "There's plenty of room at the bottom" indeed.
Loving this, really nice work. Works super smooth and even the music is quite nice!<p>A little bit of unrequested feedback:<p>- Allow me to drag the viewport somehow. A couple times I wanted see elements around to position them on my screen in perspective but couldn't do that.<p>- Allow me to stop the zoom out animation somehow. At the moment one move on my trackpad and I teleport from coffee bean to Rwanda. I can't stop this zoom animation. It seems that I have to go to Rwanda.<p>- Support retina screens. This might come in really useful. To do this (it occurs to me that you're using PIXI.js), when creating your app set resolution to window.devicePixelRatio || 1. You might be on a devicePixelRatio === 1 screen and can't see the difference right but trust me it's there. You can test and see it on any modern mac or apple mobile device.<p>Sending you a digital high five of size of the observable universe.
Past threads about the original (and maybe a few variations):<p>(Edit: this is fun too: <a href="https://abcnews.go.com/Technology/page/scale-universe-cary-michael-huang-california-high-school-15573968" rel="nofollow">https://abcnews.go.com/Technology/page/scale-universe-cary-m...</a>)<p><i>The Scale of the Universe (2012)</i> - <a href="https://news.ycombinator.com/item?id=9629418" rel="nofollow">https://news.ycombinator.com/item?id=9629418</a> - May 2015 (8 comments)<p><i>Scale of the Universe</i> - <a href="https://news.ycombinator.com/item?id=7298423" rel="nofollow">https://news.ycombinator.com/item?id=7298423</a> - Feb 2014 (80 comments)<p><i>The Scale of The Universe- Made by 14 year old twins</i> - <a href="https://news.ycombinator.com/item?id=4816166" rel="nofollow">https://news.ycombinator.com/item?id=4816166</a> - Nov 2012 (1 comment)<p><i>The Scale of the Universe 2</i> - <a href="https://news.ycombinator.com/item?id=4691798" rel="nofollow">https://news.ycombinator.com/item?id=4691798</a> - Oct 2012 (1 comment)<p><i>The Scale of the Universe</i> - <a href="https://news.ycombinator.com/item?id=3589030" rel="nofollow">https://news.ycombinator.com/item?id=3589030</a> - Feb 2012 (8 comments)<p><i>The Scale of the Universe</i> - <a href="https://news.ycombinator.com/item?id=3585187" rel="nofollow">https://news.ycombinator.com/item?id=3585187</a> - Feb 2012 (2 comments)<p><i>The scale of the universe, and everything</i> - <a href="https://news.ycombinator.com/item?id=2398150" rel="nofollow">https://news.ycombinator.com/item?id=2398150</a> - April 2011 (17 comments)<p><i>Scale of the Universe</i> - <a href="https://news.ycombinator.com/item?id=1953919" rel="nofollow">https://news.ycombinator.com/item?id=1953919</a> - Nov 2010 (39 comments)<p><i>Scale of the Universe</i> - <a href="https://news.ycombinator.com/item?id=1835460" rel="nofollow">https://news.ycombinator.com/item?id=1835460</a> - Oct 2010 (46 comments)<p><i>Scale of the universe (flash)</i> - <a href="https://news.ycombinator.com/item?id=1261816" rel="nofollow">https://news.ycombinator.com/item?id=1261816</a> - April 2010 (15 comments)
These things are always depressing to me regarding meaning. I know the now point is to avoid pain/exist. But the scale and scifi, traveling, will it happen, even then what's the point but yeah. At least I'm busy being poor/trying to escape that at the moment.<p>I do pursue things, have goals, enjoy solving problems/making things but yeah... good reminder. Same for remembering that you are a bag of meat.
On an iPhone 13 Pro / iOS 15.1.1, I get<p>> This version of Scale of the Universe 2 is not designed for phones. Please find the app on the iOS app store.<p>... but can't find your app on the app store. Any chance you could provide a link?
For any who haven't seen it, I also recommend Charles & Ray Eaemes' "Powers of Ten"
<a href="https://www.youtube.com/watch?v=0fKBhvDjuy0" rel="nofollow">https://www.youtube.com/watch?v=0fKBhvDjuy0</a>
It should be "中文 (繁體)" or "中文 (正體)" for the traditional Chinese, not just "中文". I'm confused a little bit since it has "中文 (简体)" (Chinese (simplified)).
The giant green button at the bottom is just slimy -- I fell for it. No, I don't want to install your Protecto extension, whatever the frack it is. Geez.
Pretty amazing. I couldn't help but remember this yt video(1) by Carl Sagan while zooming out.<p>(1) <a href="https://www.youtube.com/watch?v=wupToqz1e2g" rel="nofollow">https://www.youtube.com/watch?v=wupToqz1e2g</a>
My own webgl port of Celestia, which allows zoom-out from Earth to the scale of nearest 10k stars:<p><a href="https://celestiary.github.io/" rel="nofollow">https://celestiary.github.io/</a>
Is there a way to convert this to an SVG?<p>Just curious what performance would be like to drag and zoom around an SVG version. I'm guessing bad...