Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/secretrobotron/popcorn-in-t…
Browse files Browse the repository at this point in the history
…he-planetarium
  • Loading branch information
David Humphrey committed Apr 28, 2011
2 parents 4749fe1 + ccf5764 commit 957dfa8
Show file tree
Hide file tree
Showing 74 changed files with 2,545 additions and 0 deletions.
7 changes: 7 additions & 0 deletions planetarium/README.md
@@ -0,0 +1,7 @@
The Planetarium
===============

[The Planetarium][demo_url] is a CSS3 experiment that was created for the launch of Firefox 4. It's been featured as a demo in the [Mozilla's Web'O'Wonder][wow_url] gallery.

[wow_url]: http://demos.mozilla.org
[demo_url]: http://mozillademos.org/demos/planetarium/demo.html
570 changes: 570 additions & 0 deletions planetarium/css/style.css

Large diffs are not rendered by default.

374 changes: 374 additions & 0 deletions planetarium/demo.html
@@ -0,0 +1,374 @@
<!DOCTYPE html>
<html lang="en">
<!--
________ ___ __ __ _
/_ __/ / ___ / _ \/ /__ ____ ___ / /____ _____(_)_ ____ _
/ / / _ \/ -_) / ___/ / _ `/ _ \/ -_) __/ _ `/ __/ / // / ' \
/_/ /_//_/\__/ /_/ /_/\_,_/_//_/\__/\__/\_,_/_/ /_/\_,_/_/_/_/
An (HTML5 + CSS3 + SVG) x JS experiment
Created by Little Workshop http://www.littleworkshop.fr
* Libraries used : jQuery, Raphaël, RequireJS
* Go check out the source on GitHub at : http://github.com/[insert repo URL]
* Supported in Firefox 4, Chrome, Safari
-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8">
<style>
.hidden { display:none; }
#spinner {position:absolute;left:50%;top:50%;margin-left:-25px;margin-top:-25px;height:50px;width:50px;background:url('img/spinner.gif') no-repeat;}
</style>
<title>The Planetarium</title>
</head>
<body class="system">
<div id="starfield">
</div>

<div id="spinner"></div>

<img id="glow" src="img/glow.png">

<div id="title">
<h1 class="franchise"><span class="marketing">The</span>Planetarium</h1>
<span id="subtitle" class="carto">An HTML5 Astronomical Adventure</span>
</div>

<div id="instructions" class="carto loading">
click on a planet to start
</div>

<div id="toggle-credits" class="loading">
<span class="marketing">view credits</span>
</div>

<section id="credits">
<span id="madeby" class="carto">Made on Earth by <a href="http://www.littleworkshop.fr/" target="_blank" title="Visit Little Workshop">Little Workshop</a></span>
<div id="door">
<div></div>
<div></div>
</div>
<div id="doorlight">
<div></div>
<div></div>
</div>
<div id="authors">
<p id="guillaume">
<span class="marketing">design by</span>
<span class="bebas">Guillaume Lecollinet</span>
<span class="carto"><a target="_blank" href="http://twitter.com/glecollinet/" title="follow Guillaume on Twitter">@glecollinet</a></span>
</p>
<p id="franck">
<span class="marketing">code by</span>
<span class="bebas">Franck Lecollinet</span>
<span class="carto"><a target="_blank" href="http://twitter.com/whatthefranck/" title="follow Franck on Twitter">@whatthefranck</a></span>
</p>
</div>
<section id="typefaces">
<header>
<span class="separator"></span>
<span id="title-hr" class="marketing">typefaces</span>
<span class="separator"></span>
</header>
<ul>
<li class="carto">Marketing Script <br/><span>by</span> <a href="http://www.steffmann.de/" target="_blank" title="Dieter Steffmann">Dieter Steffmann</a></li>
<li class="carto">Franchise <br/><span>by</span> <a href="http://www.derekweathersbee.com/" target="_blank" title="Derek Weathersbee">Derek Weathersbee</a></li>
<li class="carto">Bebas <br/><span>by</span> <a href="http://dharmatype.com/flat-it" target="_blank" title="Flat-it Type Foundry">Flat-it</a></li>
<li class="carto">CartoGothic Std <br/><span>by</span> <a href="http://www.fontsite.com/" target="_blank" title="FontSite Inc.">FontSite Inc.</a></li>
</ul>
</section>
</section>

<ul id="planets" class="loading">
<li id="mercury" class="planet"></li>
<li id="venus" class="planet"></li>
<li id="earth" class="planet"></li>
<li id="mars" class="planet"></li>
<li id="jupiter" class="planet"></li>
<li id="saturn" class="planet"></li>
<li id="uranus" class="planet"></li>
<li id="neptune" class="planet"></li>
</ul>

<div id="gui" class="shrink">
<div id="container"></div>

<div id="ruler">
</div>

<div id="counter">
<span class="carto">DISTANCE FROM THE SUN</span><br />
<span id="kilometers" class="bebas"></span>
</div>

<div id="back">
<span class="carto">Back to space</span>
</div>

<div id="moveleft">
<div id="previous">
<img src="img/previous.svg" alt="Previous planet">
</div>
</div>

<div id="moveright">
<div id="next">
<img src="img/previous.svg" alt="Next planet">
</div>
</div>

<section class="content hidden" id="mercury-info">
<article id="mercury-window" class="window">
<div class="reflect">
<h1 class="bebas">
Mercury
</h1>
<p class="carto">is the first planet from the Sun and is also the smallest and densest planet of the Solar System. Mercury has yet to be entirely mapped, making it the least known planet in our system.</p>
</div>
</article>
<div id="mercury-missions">
<h2 class="bebas">Mercury Observation Progress</h2>
<ul>
<li><img src="img/mercuryobs1.png" alt=""></li>
<li><img src="img/mercuryobs2.png" alt=""></li>
<li><img src="img/mercuryobs3.png" alt=""></li>
</ul>
<img id="mariner10" src="img/mariner10.png" alt="">
<img id="techarrow" src="img/30years.png" alt="">
<img id="messenger" src="img/messenger.png" alt="">
</div>
</section>

<section class="content hidden" id="venus-info">
<article id="venus-window" class="window">
<div class="reflect">
<h1 class="bebas">
Venus
</h1>
<p>is the second planet from the Sun and is often called Earth's sister due to its many similarities with the Blue Planet. However, a strong greenhouse effect gives Venus the hottest climate in the Solar System.</p>
</div>
</article>
<ul id="venus-atmosphere" class="bebas">
<li>65 KM
<span>-100°C</span>
<span>Sulfuric Acid Cloud Layers</span>
</li>
<li>50 KM
<span>0°C</span>
<span>Sulfuric Acid Haze</span>
</li>
<li>38 KM
<span>25°C</span>
<span>Troposphere</span>
</li>
<li>0 KM
<span>467°C</span>
<span>Surface Level</span>
</li>
</ul>
</section>

<section class="content hidden" id="earth-info">
<article id="earth-window" class="window">
<div class="reflect">
<h1 class="bebas">
Earth
</h1>
<p>is the third planet from the Sun, and the densest and fifth-largest of the eight planets in the Solar System. Sometimes referred to as the Blue Planet, Earth is the only known planet to harbor life.</p>
</div>
</article>
<div id="earth-moon" class="grid moon">
<img id="distance" src="img/distance.png" alt="">
</div>
<ul id="earth-facts" class="properties bebas">
<li class="mass">
<img src="img/mass.svg" alt="mass">
5.9736 <small>x</small> 10<span class="exposant">24</span> kg
<span>That's 80 times the mass of the moon</span>
</li>
<li class="perimeter">
<img src="img/perimeter.svg" alt="perimeter">
40,075,16 km
<span>Equatorial circumference</span>
</li>
<li class="revolution">
<img src="img/revolution.svg" alt="revolution">
365 days
<span>Complete Orbital Period</span>
</li>
<li class="temperature">
<img src="img/temperature.svg" alt="temperature">
-89.2&deg;C to 57.8&deg;C
<span>Temperature range</span>
</li>
</ul>
</section>

<section class="content hidden" id="mars-info">
<article id="mars-window" class="window">
<div class="reflect">
<h1 class="bebas">
Mars
</h1>
<p>is the fourth planet from the Sun. Named after the Roman god of war, Mars is often described as the "Red Planet" and is the site of Olympus Mons, the highest known mountain in the Solar System.</p>
</div>
</article>
<ul id="volcanoes" class="bebas">
<li>Olympus Mons<span>27,000 KM</span><hr /></li>
<li>Mount Everest<span>8,848 KM</span><hr /></li>
<li>Mount Fuji<span>3,776 KM</span><hr /></li>
</ul>
</section>

<section class="content hidden" id="jupiter-info">
<article id="jupiter-window" class="window">
<div class="reflect">
<h1 class="bebas">
Jupiter
</h1>
<p> is the fifth planet from the Sun and is the largest planet of the Solar System. Jupiter has 63 known satellites, the biggest of which are called the four Galilean Moons : Io, Europa, Ganymede and Callisto.</p>
</div>
</article>
<ul id="jupiter-moons" class="properties bebas">
<li><img src="img/iopicto.png" alt="">
IO
<span>Land of Volcanoes</span>
</li>
<li><img src="img/europapicto.png" alt="">
EUROPA
<span>Ice Ice Baby</span>
</li>
<li><img src="img/ganymedepicto.png" alt="">
GANYMEDE
<span>Larger than Mercury</span>
</li>
<li><img src="img/callistopicto.png" alt="">
CALLISTO
<span>The Habitable Moon ?</span>
</li>
</ul>
<div id="galilean-moons" class="grid bebas"></div>
</section>

<section class="content hidden" id="saturn-info">
<article id="saturn-window" class="window">
<div class="reflect">
<h1 class="bebas">
Saturn
</h1>
<p>is the sixth planet from the Sun and is the second largest planet in our system. Despite its size (9.4 Earths), Saturn's density is so low that it would float on water if there was a large enough ocean.</p>
</div>
</article>
<div id="rings-origin">
<h2 class="bebas">The origin of Saturn's rings</h2>
<p class="carto">Almost entirely composed of water ice,<br />Saturn's rings are believed to<br />be the remains of a<br />former moon.</p>
<ul id="arrows" class="bebas">
<li><span>1</span>
<img class="saturnarrow" src="img/saturn-arrow1.png" alt="">
<img class="rings" src="img/rings1.png" alt="">
</li>
<li><span>2</span>
<img class="saturnarrow" src="img/saturn-arrow2.png" alt="">
<img class="rings" src="img/rings2.png" alt="">
</li>
<li><span>3</span>
<img class="saturnarrow" src="img/saturn-arrow3.png" alt="">
<img class="rings" src="img/rings3.png" alt="">
</li>
</ul>
</div>
</section>

<section class="content hidden" id="uranus-info">
<article id="uranus-window" class="window">
<div class="reflect">
<h1 class="bebas">
Uranus
</h1>
<p>is the seventh planet from the Sun and is the coldest in the Solar System. Altough the first pictures taken by Voyager 2 showed a featureless, pale-blue planet, astronomers later discovered the complex atmosphere of Uranus.</p>
</div>
</article>
<div id="axial-tilt" class="grid">
<h2 class="bebas">Axial Tilt</h2>
<img src="img/tilt.png" alt="">
<span class="bebas">98°</span>
</div>
<div id="uranus-atmosphere">
<h2 class="bebas">The atmosphere of uranus</h2>
<div id="hydrogen">
<div></div>
<div></div>
<div></div>
<span class="bebas">85.3%<br />
Hydrogen
</span>
</div>
<div id="helium">
<div></div>
<div></div>
<div></div>
<span class="bebas">15.3%<br />
Helium
</span>
</div>
<div id="methane">
<div></div>
<div></div>
<div></div>
<span class="bebas">2.3%<br />
Methane
</span>
</div>
<div id="deuteride">
<div></div>
<div></div>
<div></div>
<span class="bebas">0.01%<br />
Hydrogen Deuteride
</span>
</div>
</div>
</section>

<section class="content hidden" id="neptune-info">
<article id="neptune-window" class="window">
<div class="reflect">
<h1 class="bebas">
Neptune
</h1>
<p>is the eighth and farthest planet from the sun. Neptune has been approached only once by a man-made object, Voyager 2 space probe, in 1989. Most of our knowledge of Neptune comes from this first and only flyby.</p>
</div>
</article>
<ul id="neptune-facts" class="bebas">
<li><img src="img/wind.png" alt="">
2100 <span>km/h</span>
<br />
<span class="carto">max wind speed</span>
</li>
<li><img src="img/satellite.png" alt="">
13 <span>known satellites</span>
<br />
<span class="carto">and counting</span>
</li>
<li><img src="img/time.png" alt="">
164 <span>earth years</span>
<br />
<span class="carto">per neptunian year</span>
</li>
</ul>
<div id="flyby">
<img src="img/earthicon.png" alt="">
<img src="img/246min.png" alt="">
<img id="voyager2" src="img/voyager2.png" alt="Voyager 2">
</div>
</section>
</div>

<div id="counters"></div>

<script data-main="main" src="js/require-jquery-1.4.4.min.js"></script>
</body>
</html>
Binary file added planetarium/fonts/BEBAS___-webfont.ttf
Binary file not shown.
Binary file added planetarium/fonts/CartoGothicStd-Book-webfont.ttf
Binary file not shown.
Binary file not shown.
Binary file added planetarium/fonts/Franchise-Bold.ttf
Binary file not shown.
Binary file added planetarium/fonts/MarketingScript.ttf
Binary file not shown.
Binary file added planetarium/img/246min.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added planetarium/img/30years.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added planetarium/img/astronauts.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added planetarium/img/bg.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added planetarium/img/callistopicto.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added planetarium/img/distance.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added planetarium/img/doorlight.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added planetarium/img/earth.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added planetarium/img/earthicon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added planetarium/img/europapicto.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added planetarium/img/everest.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added planetarium/img/fuji.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added planetarium/img/ganymedepicto.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added planetarium/img/glow.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added planetarium/img/grid.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added planetarium/img/iopicto.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added planetarium/img/jupiter.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added planetarium/img/mariner10.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added planetarium/img/mars.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 957dfa8

Please sign in to comment.