Closed blerner closed 6 years ago
On WeScheme, negative values result in a runtime error. I have no objection to this behavior switching to "flip"
I'd like to see it flip -- if you imagine an animation scale-xy(t, 1, some-image)
as t goes from positive numbers to negative numbers, it's a natural interpretation for the right side of the image to compress to zero width and keep going past the left side of the image, i.e. flipping horizontally.
If we don't do flipping then we must raise an error. Leaving a blank image isn't a good outcome.
As this is a code.pyret.org
rather than pyret-lang
issue, I've submitted a PR there: brownplt/code.pyret.org#209
Since it's not a pyret-lang issue, can we close this?
We can close this, so long as we don't forget about Dorai's PR. :)
I'd expect
scale-xy(-1, 1, an-image)
to produce a flipped image. At the REPL, at least, it doesn't display anything at all. @schanzer is this a bounding-box issue, a rendering issue, or just some dumb little bug somewhere?