Make that
http://jsfiddle.net/XVGLt/3/
I've never tried JSFiddle before. Here's the code
in case the fiddle doesn't show as public:
<canvas id="canvas" resize keepalive="true"></canvas>
<script type="text/paperscript" canvas="canvas">
var gridStyle = {
strokeWidth: 1,
strokeColor: 'black'
};
var mat = new Matrix(100, 0, 0, 100, 100, 100);
var cp = new CompoundPath();
cp.moveTo(new Point(0,0));
cp.lineTo(new Point(1,1));
cp.moveTo(new Point(1,0));
cp.lineTo(new Point(0,1));
cp.style = gridStyle;
cp.transform(mat);
mat = new Matrix(100, 0, 0, 100, 100, 300);
var p = new Path(new Point(0,0), new Point(1,1));
p.style = gridStyle;
p.transform(mat);
p = new Path(new Point(1,0), new Point(0,1));
p.style = gridStyle;
p.transform(mat);
var circG = new Group();
var c = new Path.Circle(new Point(100,500),50);
c.strokeWidth=25;
c.strokeColor='black';
circG.addChild(c);
c=c.clone();
c.strokeColor='red';
mm = new Matrix(.5,0,0,.5,50,250);
circG.addChild(c);
c.transform(mm);
//clone and transform 200% and move (100,-400)
circG=circG.clone();
mmm = new Matrix(2,0,0,2,100,-400);
circG.transform(mmm);
</script>