Re:Pixel Art Scaling Algorithms
by pontifier on Friday December 24, 2010 @05:26AM
(#2037018)
When I was in high school I tried to write a star control clone and I had a devil of a time with rotating the ships.
The first method I used would write the rotated pixel array back to the array I hand coded with the rgb values for the ship. Error quickly crept in, and while you were rotating, the ship would gradually shrink to a single pixel. After that, I used 2 arrays and it looked ok and nobody complained, but I was never truly satisfied with the result. I'm glad to know I wasn't the only one bothered by poor quality pixel rotations.
The first method I used would write the rotated pixel array back to the array I hand coded with the rgb values for the ship. Error quickly crept in, and while you were rotating, the ship would gradually shrink to a single pixel. After that, I used 2 arrays and it looked ok and nobody complained, but I was never truly satisfied with the result. I'm glad to know I wasn't the only one bothered by poor quality pixel rotations.