| author | ymh <ymh.work@gmail.com> |
| Wed, 07 Nov 2012 16:58:20 +0100 | |
| changeset 24 | 9595ad2678ec |
| parent 23 | 45b05706b516 |
| child 29 | c9c75ab3de3e |
| permissions | -rw-r--r-- |
|
23
45b05706b516
mosaic effect js first test
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff
changeset
|
1 |
<!DOCTYPE html> |
|
45b05706b516
mosaic effect js first test
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff
changeset
|
2 |
<html lang="fr"> |
|
45b05706b516
mosaic effect js first test
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff
changeset
|
3 |
<head> |
|
45b05706b516
mosaic effect js first test
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff
changeset
|
4 |
<meta charset="utf-8"> |
|
45b05706b516
mosaic effect js first test
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff
changeset
|
5 |
<title>The End - @todo</title> |
|
45b05706b516
mosaic effect js first test
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff
changeset
|
6 |
<link rel="stylesheet" href="static/res/css/style.css" /> |
|
45b05706b516
mosaic effect js first test
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff
changeset
|
7 |
</head> |
|
45b05706b516
mosaic effect js first test
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff
changeset
|
8 |
<body> |
|
45b05706b516
mosaic effect js first test
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff
changeset
|
9 |
|
|
45b05706b516
mosaic effect js first test
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff
changeset
|
10 |
<center> |
|
45b05706b516
mosaic effect js first test
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff
changeset
|
11 |
<canvas id="mosaic" width="1024" height="550"></canvas> |
|
45b05706b516
mosaic effect js first test
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff
changeset
|
12 |
</center> |
|
45b05706b516
mosaic effect js first test
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff
changeset
|
13 |
|
|
45b05706b516
mosaic effect js first test
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff
changeset
|
14 |
<script src="static/res/js/jquery-1.8.2.min.js"></script> |
|
45b05706b516
mosaic effect js first test
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff
changeset
|
15 |
<script src="static/res/js/popcorn-complete.js"></script> |
|
45b05706b516
mosaic effect js first test
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff
changeset
|
16 |
<script src="static/res/js/popcorn.sequence.js"></script> |
|
45b05706b516
mosaic effect js first test
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff
changeset
|
17 |
<script src="static/res/js/incplayer.js"></script> |
|
45b05706b516
mosaic effect js first test
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff
changeset
|
18 |
<script src="static/res/js/ease.js"></script> |
|
45b05706b516
mosaic effect js first test
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff
changeset
|
19 |
<script src="static/res/js/incmosaic.js"></script> |
|
45b05706b516
mosaic effect js first test
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff
changeset
|
20 |
<script> |
|
45b05706b516
mosaic effect js first test
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff
changeset
|
21 |
$(function() { |
|
45b05706b516
mosaic effect js first test
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff
changeset
|
22 |
incMosaic.addPairImages("static/res/img/mosaic1.png", "static/res/img/mosaic2.png"); |
|
45b05706b516
mosaic effect js first test
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff
changeset
|
23 |
incMosaic.addPairImages("static/res/img/mosaic2.png", "static/res/img/mosaic3.png"); |
|
45b05706b516
mosaic effect js first test
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff
changeset
|
24 |
incMosaic.addPairImages("static/res/img/mosaic1.png", "static/res/img/mosaic3.png"); |
|
45b05706b516
mosaic effect js first test
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff
changeset
|
25 |
incMosaic.start("mosaic", 16, 8); |
|
45b05706b516
mosaic effect js first test
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff
changeset
|
26 |
}); |
|
45b05706b516
mosaic effect js first test
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff
changeset
|
27 |
</script> |
|
45b05706b516
mosaic effect js first test
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff
changeset
|
28 |
|
|
45b05706b516
mosaic effect js first test
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff
changeset
|
29 |
</body> |
|
45b05706b516
mosaic effect js first test
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff
changeset
|
30 |
</html> |