Stuart Axon
2010-01-21 02:13:49 UTC
I ran the following test in shoebot and nodebox1:
size(400, 400)
translate(100, 100)
rect(0, 0, 10, 10)
push()
rotate(45)
translate(50, 0)
rect(0, 0, 10, 10)
pop()
The output is quite different, so something is up with our coordinate system. (Possibly this is already known) - this is probably the same thing that happens when running the planets example.
Graphical output is attached.
A couple of side notes:
- We should probably start the canvas with white, to match nodebox.
- Right click and save-as png resulted in a blank image.
size(400, 400)
translate(100, 100)
rect(0, 0, 10, 10)
push()
rotate(45)
translate(50, 0)
rect(0, 0, 10, 10)
pop()
The output is quite different, so something is up with our coordinate system. (Possibly this is already known) - this is probably the same thing that happens when running the planets example.
Graphical output is attached.
A couple of side notes:
- We should probably start the canvas with white, to match nodebox.
- Right click and save-as png resulted in a blank image.