112 Comments
- nayr, on 10/12/2007, -3/+27next: quake 3 in javascript.
- inactive, on 10/12/2007, -1/+18Oh! I had read it as the solar system is made from javascipt. For a split second i was convinced blackholes were caused by script errors.
- nayr, on 10/12/2007, -7/+22how 'bout if you digg down for irrelivant comments (like yours), and stop paying attention to how people express themselves.
- ncdave101, on 10/12/2007, -5/+18.oO ( The solar system is made "from" Javascript? That could explain a few things.... )
- thenamestj, on 10/12/2007, -3/+16where the f is saturn? anybody?
- Neme, on 10/12/2007, -4/+15Saturn's missing. :(
And the scale is way, WAY off. - masamunecyrus, on 10/12/2007, -0/+10@thenamestj: He mispelt the image source.
Here's a bookmarklet to fix it:
javascript:void(document.getElementById("links").childNodes[11].childNodes[0].src="saturn.gif")
and to make it clear to people skimming through the comments...
######
TO GET SATURN TO SHOW UP, TYPE THE ABOVE BOOKMARKLET INTO YOUR FIREFOX ADDRESS BAR WHEN BROWSING THE PAGE
######
Hope it helps. ^^ - Nougat, on 10/12/2007, -2/+11No, black holes are the open ends of the tubes that make up the Internets.
- RedWolves, on 10/12/2007, -0/+8You are all missing the point this is a demo of what can be done with jQuery.
http://jquery.com/blog/2006/08/01/3d-universe-with-jquery/
Who cares about the details of the solar system it's the code that should be looked at and applauded...that's why it's classified as Programming and not Space. - UncommonSense, on 10/12/2007, -0/+7The headline reads like something Senator Ted Stevens would say: "The solar system is made from Javascript. Trust me. A big scientist told me."
- calebegg, on 10/12/2007, -1/+8At least this time they didn't falsely label any javascript as AJAX.
- vegasbright, on 10/12/2007, -3/+10Kinda headache indusive.
- ho0ber, on 10/12/2007, -0/+7Yeah, I feel pretty sick after messing with it for a few seconds. It is just me, or does anyone else hate interactive sites that rotate based on mouse position? Just... eww.
- inactive, on 10/12/2007, -3/+10Why digg down jdb? He's right - this is extremely half-assed. The Earth is almost as big as Jupiter for crissakes. What value is there in a completely inaccurrate model?
- matthewaaron, on 10/12/2007, -1/+8Anybody else think this is a cool concept but looks terrible? Since when does the earth have a 10 pixel jagged black edge?
- inactive, on 10/12/2007, -1/+7Good effort.Keep working on it.
- joshfraz, on 10/12/2007, -2/+8that's a pretty impressive bit of javascript... but let's hope I never see it again!
- Djerrid, on 10/12/2007, -2/+7You'll have to download it, but here's a universe for you to zoom around in. In just this solar system they have all man-made and natural satellites as they are in real time (or at any time you enter in) - and the planets of course.
http://www.shatters.net/celestia/
If you don't want to leave your browser, here's a flash planetarium:
http://www.neave.com/lab/planetarium/
And a very slick downloadable planetarium
http://stellarium.sourceforge.net/ - twoeyes, on 10/12/2007, -2/+7It's a great achievement but you shouldnt have bother submitting it here. About 99% of the digg members hvae no idea how to go about making anything with a programming language much less something like this. Yes, there are applications written in C and C++ that do this better, that is not the point kids.
- lotivictor, on 10/12/2007, -2/+6Probably too complicated to show the rings and have it "appear" as 3D
- robertl30, on 10/12/2007, -3/+7Doesn't seem to work for me. Do I need to download something to make it work? I just see a orange sun-like ball in the center of the page. Nothing else happens. If I click anywhere I get an info page about jQuery.
- ConkerBFD, on 10/12/2007, -2/+6What happened to Saturn?
- dieseltravis, on 10/12/2007, -0/+4I think that some of the offtopic jerks thought that this was in the "science" category and not the "programming" one.
- Neme, on 10/12/2007, -1/+5And if you're feeling even more adventurous, fly around space in an accurate simulator!
http://orbit.medphys.ucl.ac.uk/ - shm0edawg, on 10/12/2007, -0/+4yeah i think some people missed the point. This isn't supposed to be a really super cool model of the solar system. It's proof of concept for a javascript library called jquery. jquery seems pretty efficient since the code for the library is a tiny 10kb. It seems like it would make a lot of javascript snippets more fun to write and smaller in size. The fact that the planets don't revolve to scale is irrelevant.
- venir, on 10/12/2007, -1/+4Yeah, it looks pretty bad and the scale made me want to cry.
- pcx99, on 10/12/2007, -2/+5I think you guys are missing the point. The cool factor is it's doing something in javascript that most people really didn't think could be done in javascript. So it's a technology demonstrator. In short, the author thought outside the box, made a proof of concept and now web 2.0 is 2.1. The REALLY cool part comes later when all the coders start working inside the new and larger box that includes this solar system demonstrator.
- rhyno2000, on 10/12/2007, -1/+4LOL The purpose of this demo is not to accurately represent a model of the Solar System!
It's simply meant to show off what can be done using JQuery / JavaScript. - hendoz, on 10/12/2007, -0/+3I think it would be "kewler" if the orbits were more relative. Mercury seems to be orbiting only slightly faster than Pluto. I don't know much about the language, is tht possible? Still pretty impressive though.
- astrotrain, on 10/12/2007, -1/+4"Just remember that you're standing on a planet that's evolving and revolving at 900 miles an hour.
That's orbiting at 90 miles a second, so it's reckoned, the sun that is the source of all our power.
The Sun and you and me, and all the stars that we can see are moving at a million miles a day.
In an outer spiral arm, at 40,000 miles an hour, of a galaxy we call the Milky Way" - TheCookieMaker, on 10/12/2007, -6/+9http://www.duggmirror.com/programming/Solar_system_made_from_JavaScript/
- armbar, on 10/12/2007, -1/+3Technically, remiprev, you can access, modify, and create new elements in the DOM without any HTML, aside from the link to the js file.
Thanks for using XHTML as a buzzword, by the way. That lets everyone know how well-learned you are. - Jumbar, on 10/12/2007, -2/+4In their html, the link for saturn is spelled "satur.gif". It should be: saturn.gif
http://www.willjessup.com/sandbox/jquery/solar_system/saturn.gif - wompastompa, on 10/12/2007, -0/+2eh, ok i fixed saturn and added "real" sorta orbits.
- KicktheDonkey, on 10/12/2007, -0/+2It's so nice to see somebody who's aware of their own problems, like yourself...
- persaltier, on 10/12/2007, -0/+2you guys are missing the whole point of this.
think less about whether saturn appears or not.
think a lot more about how easy jQuery makes this (and other) things. it's an excellent library, and as long as you're not married to RoR, in many ways it's superior to prototype. - MikeHughes, on 10/12/2007, -0/+2my favorite planet is the sun. it's kinda the king of all the planets.
- motang, on 10/12/2007, -2/+4Too bad it's not in 3D, like the JavaScript one.
- flash200, on 10/12/2007, -0/+2A few months ago I made a JavaScript animation with moving planets that's somewhat similar, but much more lame. It doesn't use jQuery or the canvas tag, just plain vanilla JavaScript and DOM. Totally unusable for any real-world use (well, I know that now :)
http://www.forestpath.org/demos/web_motion/WebMotion.html
I'm looking forward to the day when it's practical to do this sort of stuff with SVG/SMIL. I'd use Flash, except I'm not comfortable with the proprietary nature of it, and the lack of tools (and Players) for Linux. - MrBester, on 10/12/2007, -0/+2JavaScript ain't Java. Not even closely related.
Like Google Maps? Guess what "CRAP language" that's coded in.
I doubt the Amiga running at 8Mhz has a W3C compliant web browser running script inside it at any reasonable rate, so that point is worthless.
JQuery is 10K of source code. scene.org's 4K demos are compiled assembler. Bet you the source code is longer than 10K for any of those demos.
In short: get a clue you nob. - zeeneo, on 10/12/2007, -0/+2Small amount of added code to the framework, nice work!
- inactive, on 10/12/2007, -0/+2Better put: It would have looked much better if he used PNG instead of GIF. The partial transparency in PNG makes all the difference. Sadly IE6 don't understand alpha gradient in PNG.
- willcode4beer, on 10/12/2007, -0/+2Wierd comment. You complain about the model but, state that earth would be one pixel and off the screen. As if that is going to be more interesting ot look at.
Geez, give a kid a break. - fredmv, on 04/18/2008, -0/+1Actually, IE isn't up to date with the W3C standards. And hence, a web app can be perfectly well-written, and up-to-spec, but not work in IE because of this fact. And besides, what the ***** are you doing using IE? Get out of the stoneage: http://getfirefox.com
- patricks, on 10/12/2007, -0/+1turn on javascript?
- rchtr, on 10/12/2007, -0/+1Wow, that's laughably slow.
- thenamestj, on 10/12/2007, -0/+1@masamunecyrus
good call on the saturn thing. - yahoofrom, on 10/12/2007, -0/+1sounds like a good way to headaches.
- aalaap, on 10/10/2007, -0/+1hahahaahahah (Y)
- pollardito, on 10/12/2007, -0/+1"I'd be tempted to try and mod this thing, i.e., fix the orbits (as well as fix the planets' scales), if I could figure out how the heck it works."
while you're at it, please make them all orbit the Earth with proper epicycles and eccentrics. bonus points if you can add in the giant turtle that the Earth rests on -
Show 51 - 100 of 111 discussions



What is Digg?
Browsing Digg on your phone just got easier with our enhancements to the