Marching squares: Difference between revisions
m
→{{header|Python}}
m (Python example) |
|||
Line 43:
[0, 0, 0, 0, 0]
])
# Find contours at a constant value of 0.1 and extract the first one found
Line 55 ⟶ 51:
[ (3.0, 1.0), (2.0, 2.0), (2.0, 2.0), (1.0, 3.0), (1.0, 4.0), (2.0, 5.0), (3.0, 5.0), (4.0, 4.0), (4.0, 3.0), (4.0, 2.0), (3.0, 1.0) ]
</pre>
=={{header|Wren}}==
|