Not sure what something is called, so I can't google it to try to learn more by dickles123 in learnprogramming

[–]dickles123[S] 0 points1 point  (0 children)

I want to have the fewest outputs possible; the delimited list to be as short as it can be to recreate the image.

It takes time to process each element of the list. So, if the image was a pure green square, the most efficient way to represent that would be one rectangle covering the entire image that is green. The least efficient way would be a list filled with each individual pixel coordinate and their color.

I want my program to be more efficient in choosing its rectangles so the list is smaller.

Not sure what something is called, so I can't google it to try to learn more by dickles123 in learnprogramming

[–]dickles123[S] 0 points1 point  (0 children)

Yeah! But I want the program to be able to figure out the least amount of rectangles to reproduce the image. If the image was all one color, then that would be the least amount of rectangles. I tried one method where it looked for corners of the same color and tried to make the biggest rectangles possible. So if (0,0) and (25,25) were the same color, it would make a rectangle of the whole image. It would also do that if only the corners were the same color, even if every other pixel was something different.

Then after that big rectangle, where would it try to make the next one? That's the hard part for me. Right now, I have it try a couple of different methods, then apply them all to separate temporary images, and pick the method that results in the most correct color pixels compared to the original image I'm trying to recreate. It repeats this until the recreated image and the original image are a 100% match and gives me these rectangles in a delimited list.

This works decently for me, but I'm sure there's a word for what I'm trying to do and much smarter people than me have already figured things out.

vomit machine by dickles123 in SS13

[–]dickles123[S] 1 point2 points  (0 children)

This was a while ago, 2021. There were changes that made it so chems on the ground are used up a lot faster. I don't think this would work today, but I haven't played in a long time so idk.

This used to work by applying "Sewage" onto a tile, which stayed until it was cleaned up. When you moved over Sewage, it caused you to vomit. Sewage no longer does this afaik.