<!DOCTYPE html>
<html>

<head>
<title>Cindy JS Example</title>
<meta charset="UTF-8">
<script type="text/javascript" src="../build/js/Cindy.js"></script>
<script id="csinit" type="text/x-cindyscript">
err(a.homog);
a.homog = [1, 0, 0];
err(a.homog);
a.angle = pi/4;
err(a.homog);
</script>
<script type="text/javascript">

var cdy = createCindy({ // See ref/createCindy documentation for details.
  ports: [{id: "CSCanvas", width: 500, height: 500, transform: [ { visibleRect: [ -5, 5, 5, -5 ] } ], background: "rgb(168,176,192)" } ],
  scripts: "cs*",
  geometry: [
    {name:"A", type:"Free", pos:[0,0], color: [ 1.0, 0.0, 0.0 ], labeled: true},
    {name:"a", type:"Through", pos:[0,1,0], args: ["A"], color: [ 0.0, 0.0, 1.0 ], labeled: true}
  ]
});
</script>
</head>

<body style="font-family:Arial;">
  <canvas id="CSCanvas" width="500" height="500"
          style="border:2px solid black"></canvas>
</body>

</html>


Add example for setting angle and homog of Through
Add example for setting angle and homog of Through
