DePauwREU2013 / scales

2 stars 0 forks source link

Freeze Bug #23

Closed mfansler closed 11 years ago

mfansler commented 11 years ago

Freeze seems to have a bug related to its transform at the time of freezing. I was attempting to make a Barnsley fern using freeze and I was getting nonsense. If you want an example, here is the first iteration of the fern demo without using Freeze:

fern-no-freeze

And here's is what it gives with Freeze:

fern-with-freeze

Seems like an issue with the transformation info possibly getting lost in the Freeze rendering process.

bhoward commented 11 years ago

It looks like g needs to be translated by (-x, -y) just before being rendered onto the image, so that its origin is (0, 0) within the image.

On Tue, Jul 30, 2013 at 4:38 PM, Mervin Fansler notifications@github.comwrote:

Freeze seems to have a bug related to its transform at the time of freezing. I was attempting to make a Barnsley fern using freeze and I was getting nonsense. If you want an example, here is the first iteration of the fern demo without using Freeze:

[image: fern-no-freeze]https://f.cloud.github.com/assets/1182216/881923/d0aed5e8-f957-11e2-8229-25f8b689ce5a.png

And here's is what it gives with Freeze:

[image: fern-with-freeze]https://f.cloud.github.com/assets/1182216/881929/e2cbf7c4-f957-11e2-9fd1-66b8c262f84f.png

Seems like an issue with the transformation info possibly getting lost in the Freeze rendering process.

— Reply to this email directly or view it on GitHubhttps://github.com/DePauwREU2013/scales/issues/23 .

mfansler commented 11 years ago

@bhoward Yep that was it. Very simple fix. Now the Barnsley Fern demo works looks good without using GB's of memory.