Ctrl+/
IE11
F11
ESC
PgUp
PgDn
<!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" lang="en" xml:lang="ja">
<head>
<meta name="viewport" content="width=480, user-scalable=no" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<script src="//ku.shouce.ren/files/js/1457852197.js" type="text/javascript">
</script>
<title>新7款HTML5/CSS3特效之3D衣服摆动
</title>
</head>
<body>
<div style="width:500px;margin:10px auto">
<canvas id="cv" width="480" height="300">
</canvas>
<p>"3D on 2D Canvas" demo
</p>
<p>move cursor to pan / click to swing
</div>
</body>
</html>
xxxxxxxxxx
body {
margin: 0;
padding: 0;
background-color: #333;
color: #fff;
-moz-user-select: none;
-webkit-user-select: none;
}
#cv {
background: #000;
display: block;
p {
padding-left: 1em;
function ClothApp()
{
this.canvas = document.getElementById("cv");
P3D.g = this.canvas.getContext("2d");
var tex = new Image();
this.texture1 = tex;
tex.onload = function(){
_this.start();
};
tex.src = "//ku.shouce.ren/files/images/201603/56e5100521fc6.gif";
tex = new Image();
this.texture2 = tex;