Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Heikki Pora <heikki.pora@fusemail.com>
- Loading branch information
Heikki Pora
committed
Jul 23, 2010
1 parent
c2de231
commit b1b5054
Showing
3 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
body { | ||
background: black url('background.jpg') no-repeat; | ||
margin: 0; | ||
padding: 0; | ||
overflow:hidden; | ||
} | ||
|
||
#demoCanvas { | ||
margin: 0; | ||
padding: 0; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
.overlay { | ||
position: absolute; | ||
top: 20px; | ||
left: 20px; | ||
z-index: 20; | ||
} | ||
|
||
.overlay h1 { | ||
font-family: sans-serif; | ||
font-size: 4em; | ||
color: black; | ||
opacity:0.2; | ||
margin: 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fi" lang="fi"> | ||
<head> | ||
<title>HTML5 Canvas Demo</title> | ||
<link rel="stylesheet" href="polarmap-fullscreen.css" type="text/css"/> | ||
<script type="text/javascript" src="bitmap.js"></script> | ||
<script type="text/javascript" src="polarmap.js"></script> | ||
</head> | ||
<body> | ||
<canvas id="textureCanvas" width="512" height="512" style="display: none;"> | ||
Your browser does not support the Canvas element, please upgrade. | ||
</canvas> | ||
<canvas id="demoCanvas" width="320" height="240"> | ||
Your browser does not support the Canvas element, please upgrade. | ||
</canvas> | ||
<div class="overlay"> | ||
<h1>Tell me, sweet eyes, from what divinest star did ye drink in your liquid melancholy?</h1> | ||
</div> | ||
<script type="text/javascript"> | ||
self.addEventListener('load', function () { Polarmap.init(); }, false); | ||
</script> | ||
|
||
</body> | ||
</html> |