xxxxxxxxxx
24
<html>
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.2/p5.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.2/addons/p5.dom.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.2/addons/p5.sound.min.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
<meta charset="utf-8" />
</head>
<body>
<h1>here is my lens project</h1>
<script src="sketch.js"></script>
<script src="jumps.js"></script>
<p> the lens is the various ways I loop<br>
I loop through images of the horse trotting<br>
the horse also loops through the actual movement<br>
of going to the end and beggining of the screen<br>
I used the modulus operator to get the individual images to loop through.<br>
I used a a conditional statement to make the horse loop back to the beggining when it reached the end
</p>
</body>
</html>