Team:UCLA/sams extra css

From 2014.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
-
<canvas id="c"></canvas>
+
<head>
-
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
+
-
 
+
<style>
<style>
* {
* {
Line 103: Line 101:
}
}
</style>
</style>
 +
</head>
 +
 +
<body>
 +
<canvas id="c"></canvas>
 +
 +
<div id="info">
 +
  <div id="top">
 +
    <a id="site" href="http://www.lonely-pixel.com" target="_blank">my website</a>
 +
    <a id="close" href="">&times;</a>
 +
  </div>
 +
  <p>
 +
    <br>- Tear the cloth with your mouse.
 +
    <br>
 +
    <br>- Right click and drag to cut the cloth
 +
    <br>
 +
    <br>- Reduce physics_accuracy if it's laggy.
 +
    <br>
 +
    <br>
 +
    <br><a id="github" target="_blank" href="http://github.com/suffick/Tearable-Cloth">View on GitHub</a>
 +
    <br>
 +
  </p>
 +
</div>
 +
</body>
<script>
<script>
Line 379: Line 400:
};
};
</script>
</script>
 +
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
</html>
</html>

Revision as of 21:23, 8 August 2014


- Tear the cloth with your mouse.

- Right click and drag to cut the cloth

- Reduce physics_accuracy if it's laggy.


View on GitHub