blob: 89dc419e88d7feba3e9bcaa8cf5cb56be1da612a (
plain)
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
|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>SVG Playground</title>
<link rel="stylesheet" href="../playground.css">
</head>
<body>
<h1>Transformations</h1>
<p>
Here you can try out our transformation code, try moving around the pink
box in your console with its variable name: <code>mover</code>
</p>
<svg viewBox="0 0 1500 1500">
<rect id="old" x=200 y=400 width=200 height=400 class="green"/>
<rect id="new" x=200 y=400 width=200 height=400 class="pink"/>
<ellipse id="new" cx=800 cy=500 rx=10 ry=10 class="dark-pink"/>
</svg>
</body>
<script src="../../dist/svg.js" charset="utf-8"></script>
<script src="transforms.js" charset="utf-8"></script>
</html>
|