Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1578)

Side by Side Diff: experimental/docs/jsonbaseddoc.htm

Issue 1342523002: json based animation toy (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: wip whats next? Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « experimental/docs/jsonReader.cpp ('k') | experimental/docs/lesson1.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4
5 <script src="utilities.js"></script>
6
7 <script src="animationCommon.js"></script>
8 <script src="backend.js"></script>
9 <script src="canvasBackend.js"></script>
10 <script src="exampleSlides.js"></script>
11 <script src="interpolatorFunctions.js"></script>
12 <script src="svgBackend.js"></script>
13
14 <script>
15
16 var frame = 1;
17
18 function keypress() {
19 init('all', 'keyframe' + frame);
20 if (++frame > 7) {
21 frame = 1;
22 }
23 }
24
25 function onload() {
26 init('all', 'keyframe1');
27 }
28
29 </script>
30
31 </head>
32
33 <body onLoad="onload()" onKeypress="keypress()">
34
35 <canvas id="canvas" width="770" height="500" ></canvas>
36
37 <svg id="svg" width="770" height="500"
38 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink " />
39
40 </body>
41 </html>
OLDNEW
« no previous file with comments | « experimental/docs/jsonReader.cpp ('k') | experimental/docs/lesson1.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698