Marching squares: Difference between revisions

Content added Content deleted
m (→‎{{header|Wren}}: Changed to Wren S/H)
Line 527: Line 527:
{{libheader|Wren-seq}}
{{libheader|Wren-seq}}
This is a translation of the [http://www.tomgibara.com/computer-vision/marching-squares public domain Java code], written by Tom Gibara, which is linked to from the Wikipedia article. It also uses his example to test the code.
This is a translation of the [http://www.tomgibara.com/computer-vision/marching-squares public domain Java code], written by Tom Gibara, which is linked to from the Wikipedia article. It also uses his example to test the code.
<syntaxhighlight lang="ecmascript">import "./seq" for Lst, FrozenList
<syntaxhighlight lang="wren">import "./seq" for Lst, FrozenList


/* A direction in the plane. */
/* A direction in the plane. */