aboutsummaryrefslogtreecommitdiffstats
path: root/playgrounds/transforms/transforms.html
blob: d206d06b8ec6902199a153be0ee662eda2748959 (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
34
35
<!DOCTYPE html>
<html>

  <head>
    <meta charset="utf-8">
    <title>SVG Playground</title>
    <link rel="stylesheet" href="../playground.css">
  </head>

  <body>

    <h1>SVG JS Playground</h1>

    <svg viewBox="0 0 2000 2000">

      <!-- <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"/> -->
      <!-- <ellipse cx=0 cy=0 rx=3 ry=3 />
      <ellipse cx=100 cy=0 rx=3 ry=3 />
      <ellipse cx=0 cy=100 rx=3 ry=3 />
      <ellipse cx=100 cy=100 rx=3 ry=3 />
      <ellipse fill=red cx=0 cy=0 rx=3 ry=3 />
      <ellipse fill=red cx=100 cy=0 rx=3 ry=3 />
      <ellipse fill=red cx=0 cy=100 rx=3 ry=3 /> -->
      <!-- <ellipse fill=red cx=100 cy=100 rx=3 ry=3 /> -->
    </svg>

  </body>

  <script src="../../dist/svg.js" charset="utf-8"></script>
  <script src="transforms.js" charset="utf-8"></script>

</html>