RE: Post making contest 6.0
06-23-2017, 04:50 AM
Anyone know of a simple algorithm that can take a complicated shape/section of an array and break it into rectangles to optimize how long it takes to draw on a graphics pane?
Something that can turn this (each pixel drawn seperately):
Into this (most pixels drawn in large rectangles):
Something that can turn this (each pixel drawn seperately):
Into this (most pixels drawn in large rectangles):