The 2002 5k Contest

Details on the 2002 5k Contest can be found at www.the5k.org.

The Original 1k DHTML API (5022 bytes)

A full-functioned cross-browser DHTML API script under 1k with included documentation and a demonstration. Spawned a minor cult following and resulted in it's own subsite.

Mac
IE4+, NS4+, Op5+, Gecko
Win
IE4+, NS4+, Op5+, Gecko

How To Code A 5k Entry (4230 bytes)

Tips on how to build minimal code that concludes with a functioning compression utility (I use the same algorithm in my Javascript Compression Utilities page). And, yes, it was used to compress itself.

Mac
IE4+, NS4+, Gecko?
Win
IE4+, NS4+, Gecko?

Solar System Explorer (4862 bytes)

Zip around the solar system with this DHTML simulation. The sun, all nine planets, and all satellites discovered before the Voyager missions are included. All the relative distances and body sizes are roughly accurate as are the colors (I've chosen an average color for most of the planets). For simplicity, I've flattened all the orbits so that they are all in the same plane and I've made them all circular (so, for instance, Pluto's orbit will always be outside Neptune's).

When you start, you will be 3 billion kms above the solar system with your view centered on the sun. Move closer or further away with the Zoom control. How much you move with each click on the Zoom buttons can be custom set from 1 to 1 billion kms.

You can also rotate your view using the Rotate control. The up and down arrows rotate you around the x-axis while the left and right arrows rotate you around the z-axis (at the start, the x-axis runs left-right in the plane of the screen and the z-axis is perpendicular to the screen). This should allow you to get any view you want but in some positions, their behaviour can be counter-intuitive - a good sense of 3d visualization is handy.

You can also change the speed of time or even stop it and make time go in reverse.

Usually, your position will be with respect to the sun (ie, the sun will appear fixed in position). You can change this by selecting a planet from the Lock To dropdown. You will then start to follow your chosen planet. You can still move around but the whole system will behave like the locked-to object is fixed in space and everything will move around it.

Initially, all the moons are visible and all objects are labelled. You can turn off moons and / or labels to get a cleared view. You can turn them back on again at any time.

Notes / Hints

Mac
IE5+, NS6+, Gecko?
Win
IE5+, NS6+, Gecko?

More Contest Entries