-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage3.html
42 lines (33 loc) · 891 Bytes
/
page3.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE HTML5>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Gazis Panagiotis</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div>
<canvas id="gzCanvas" width="800" height="800" style="background-color:#cccccc9f;">
<script>
var c = document.getElementById("gzCanvas");
var ctx = c.getContext("2d");
ctx.setTransform(1,1, 1.5, 1, 30, 10);
ctx.fillStyle = "white";
ctx.fillRect(0, 0, 800, 100);
ctx.fillStyle = "red";
ctx.fillRect(0, 0, 600, 100)
ctx.transform(1, 0.5, -0.5, 1, 30, 10);
ctx.fillStyle = "black";
ctx.fillRect(0, 0, 850, 100);
ctx.transform(1, 0.9, -0.9, 1, 60, 30);
ctx.fillStyle = "white";
ctx.fillRect(400, 0, 50, 400);
ctx.setTransform(1,0.5, -0.5, 1, 30, 10);
ctx.fillStyle = "blue";
ctx.fillRect(0, 0, 250, 100);
</script>
</div>
<a href="/index.html"><img src="images/next.png"></a>
</body>
</html>