Initial commit from dropbox

Basic features :
Can create frames
Can edit frames (black and white only)
Can select the frame to edit
Animated preview

And that's it.

Really tired and code is extremely ugly, just needed to do something
that _works_
This commit is contained in:
Julian Descottes
2012-08-23 00:57:35 +02:00
parent c14a8ff08d
commit 1b44e3fd48
4 changed files with 297 additions and 0 deletions

36
index.html Normal file
View File

@@ -0,0 +1,36 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Piskel</title>
<meta name="description" content="">
<meta name="author" content="Julian Descottes">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/style.css">
</head>
<body
onmousedown="piskel.onCanvasMousedown(arguments[0])"
onmouseup="piskel.onCanvasMouseup(arguments[0])">
<div class='debug left-nav'>
<span class="action-button"
onclick="piskel.addFrame()">
Add a Frame
</span>
<ul id="preview-list">
</ul>
</div>
<div class='main-panel'>
<div id="canvas-container"></div>
<div class='preview-container'>
<canvas id="animated-preview" width="256" height="256"></canvas>
</div>
</div>
<div id="cursorInfo"></div>
<script src="js/piskel.js"></script>
</body>
</html>