Yeah, just kind of tricky to get everything working on a phone. My collaborator Cary's brother Michael had already built an iOS app so we didn't bother getting this working on phones.
Not sure on the original, but I spent about a year working on it on weekends here and there. Hard to find time with full time work and other projects mixed in. I would say it was around 100 hours of work in total. The majority of the was done within a couple weeks but there were a lot of performance tweaks and bugs to fix.
Given the style some of the graphics would be fairly easy to convert by hand in Inkscape. But maybe some like the Sloan Great Wall would be more difficult.
Yeah that's a good idea. The only issue is that its been translated into so many different languages that it'd be a pain to get that name/description translated to all 17 of them.
I’d generally recommend not blocking mobile users. I’m not installing an app just to see if I like the idea. An “it’s even better…” pitch after using it would let me know if it’s worth the trouble.
I get "Please find the app on the iOS app store" and "Download the Scale of the Universe iOS app!" on my Android Samsung Galaxy S8+.
I assume there is no app that will run on my phone, and that the web version might work ok if it was allowed, as some other WebGL apps do. (I don't wish to downplay the problems with WebGL or web apps generally across a variety of mobile device though. Maybe there are good reasons for blocking it.)
Loving this, really nice work. Works super smooth and even the music is quite nice!
A little bit of unrequested feedback:
- 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.
- 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.
- 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.
Sending you a digital high five of size of the observable universe.
The performance is really good. Usually when I open a GPU-intensive visualization in the browser, my laptop fans start making a lot of noise, but not this time.
Thanks for mentioning that; the music does not play in Safari, so I opened Firefox in the background for the music while zooming in Safari via trackpad scrolling (which doesn't appear to work in Firefox).
It should be "中文 (繁體)" or "中文 (正體)" for the traditional Chinese, not just "中文". I'm confused a little bit since it has "中文 (简体)" (Chinese (simplified)).
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.
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.
It's worse falling into the state of mind that no matter what you do, you're insignificant and will be forgotten, and your existence in the cosmic scale means nothing.
OTOH, it's liberating, because you know your life is yours to live, it doesn't belong to history, or some nebulous legacy. Enjoy your life, good and bad, because it's the only one you'll ever have.
The odds lucking out as a human were slim, as most lives here are microscopic and are not conscious enough to understand living.
How many terabytes of content do you need not to get bored? My guess is that with some adjustments, it's gonna be just fine. We somehow dealt without and endless box of content at our disposal for centuries, and some of us were even happy.
The other factoid though, VY Canis Majoris fits inside the orbit of Saturn... that's huge in the other direction. Especially compared with what you said.
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.
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.
It was closer to a port than reverse engineering. I spoke with Cary (the original creator) to get explanations from him on how the features and math behind it worked. He then sent over the metadata and images for all the objects. I think he sent the original flash project as well but I don't remember reading that code too much because his explanations of the functionality were sufficient.
83 comments
[ 3.3 ms ] story [ 135 ms ] threadI assume Flash version is easier to implement and requires less technical knowledge.
Just curious what performance would be like to drag and zoom around an SVG version. I'm guessing bad...
Given the style some of the graphics would be fairly easy to convert by hand in Inkscape. But maybe some like the Sloan Great Wall would be more difficult.
The virus is 'SARS-CoV2'.
> This version of Scale of the Universe 2 is not designed for phones. Please find the app on the iOS app store.
... but can't find your app on the app store. Any chance you could provide a link?
I assume there is no app that will run on my phone, and that the web version might work ok if it was allowed, as some other WebGL apps do. (I don't wish to downplay the problems with WebGL or web apps generally across a variety of mobile device though. Maybe there are good reasons for blocking it.)
A little bit of unrequested feedback:
- 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.
- 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.
- 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.
Sending you a digital high five of size of the observable universe.
Thanks for mentioning that; the music does not play in Safari, so I opened Firefox in the background for the music while zooming in Safari via trackpad scrolling (which doesn't appear to work in Firefox).
The wonderful "Powers of Ten" video has been mentioned elsewhere in the comments; see also "The Simpsons" take: https://www.youtube.com/watch?v=ycvlJ9XMd94 .
Lots of fun - thank you, mattmar96!
(Edit: this is fun too: https://abcnews.go.com/Technology/page/scale-universe-cary-m...)
The Scale of the Universe (2012) - https://news.ycombinator.com/item?id=9629418 - May 2015 (8 comments)
Scale of the Universe - https://news.ycombinator.com/item?id=7298423 - Feb 2014 (80 comments)
The Scale of The Universe- Made by 14 year old twins - https://news.ycombinator.com/item?id=4816166 - Nov 2012 (1 comment)
The Scale of the Universe 2 - https://news.ycombinator.com/item?id=4691798 - Oct 2012 (1 comment)
The Scale of the Universe - https://news.ycombinator.com/item?id=3589030 - Feb 2012 (8 comments)
The Scale of the Universe - https://news.ycombinator.com/item?id=3585187 - Feb 2012 (2 comments)
The scale of the universe, and everything - https://news.ycombinator.com/item?id=2398150 - April 2011 (17 comments)
Scale of the Universe - https://news.ycombinator.com/item?id=1953919 - Nov 2010 (39 comments)
Scale of the Universe - https://news.ycombinator.com/item?id=1835460 - Oct 2010 (46 comments)
Scale of the universe (flash) - https://news.ycombinator.com/item?id=1261816 - April 2010 (15 comments)
btw, I appreciate you fixing my grammar in the title.
Original: https://www.nicovideo.jp/watch/sm20365493
(1) https://joshworth.com/dev/pixelspace/pixelspace_solarsystem....
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.
OTOH, it's liberating, because you know your life is yours to live, it doesn't belong to history, or some nebulous legacy. Enjoy your life, good and bad, because it's the only one you'll ever have.
The odds lucking out as a human were slim, as most lives here are microscopic and are not conscious enough to understand living.
Weeks or months of travel between star systems with no internet, not fun. Oh, and we'd definitely make enemies of any alien civilizations.
Astronomical distances be wild, yo.
https://incompetech.com/music/royalty-free/most/kerbalspacep...
Oops I should really add a credit for it.
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.
edit: I see a github link, will send a pull request someday (there's quite a lot of text to translate)