Marching squares: Difference between revisions

Content added Content deleted
m (julia example)
Line 9: Line 9:
=={{header|Julia}}==
=={{header|Julia}}==
Uses the marching squares algorithm: see github.com/JuliaGeometry/Contour.jl/blob/master/src/Contour.jl
Uses the marching squares algorithm: see github.com/JuliaGeometry/Contour.jl/blob/master/src/Contour.jl
<lang ruby>using Contour, Plots
<lang ruby>using Contour


const example = Float64.([
const example = Float64.([
Line 30: Line 30:
points = [(3, 4), (4, 3), (4, 2), (4, 1), (3, 0), (2, 1), (2, 1), (1, 2), (1, 3), (2, 4), (3, 4)]
points = [(3, 4), (4, 3), (4, 2), (4, 1), (3, 0), (2, 1), (2, 1), (1, 2), (1, 3), (2, 4), (3, 4)]
</pre>
</pre>



=={{header|Wren}}==
=={{header|Wren}}==