So I just saw a video on Marching Squares by reducible, and I thought of a straightforward optimisation, but I couldn't find anything about it online. Basically here's the idea -
Start with a fairly large grid size, sample the points, this forms a very rough image, but what we do now is only for the cells which the contour passes through, we further divide them into more cells recursively (make the grid smaller but only inside those cells) and sample more points until a set recursion depth. For example turning a single cell into 4 different cells only require you to sample an additional 5 points
This should give us a much sharper image without having to sample too many points, most of which give us no information.
This came pretty naturally to me so I refuse to believe that no one else has thought of this, so is there any particular reason why I wasn't able to find anything about it? (Maybe it has some fault I don't see, or maybe there's a better optimisation, or maybe it just has a different name I don't know)