canvas-playground/index.html
Johanna Reichmann b87de3f8cc Added rotating triangles
Added triangles which are animated in combination with window.requestAnimationFrame and are drawn
directly to the canvas
2018-05-12 23:36:57 +02:00

13 lines
459 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Canvas Playground</title>
<link rel="stylesheet" type="text/css" href="main.css" />
<script type="application/javascript" src="src/draw/point.js"></script>
<script type="application/javascript" src="src/draw/triangle.js"></script>
<script type="application/javascript" src="src/index.js"></script>
</head>
<body>
<canvas id='canvas'></canvas>
</body>
</html>