ugly optimizations added to SurfaceFlattener. For enlarging and shrinking the window, when both height and width move in the same direction, it is faster. But a bug remains such that when one dimension increases while the other decreases, the increasing one will be off by 1 pixel sometimes. Also, the whole scheme is really messy. Unclear if I want to keep going this direction.
still def problematic. going to try a new approch
new method of using the absolute origin works much better, and i'm now cleaning up
something is wrong.
the thing that was wrong was a dumb typo
fixed the thing that was wrong. It was a stupid typo. Everything is good now