Divide a rectangle into a number of unequal triangles: Difference between revisions

m
→‎{{header|Wren}}: Changed to Wren S/H
m (syntax highlighting fixup automation)
m (→‎{{header|Wren}}: Changed to Wren S/H)
Line 519:
 
This process should ensure that all the triangles are different, albeit the first one is usually much larger than the others. However, to be absolutely sure, we check that the areas of all the triangles are different.
<syntaxhighlight lang="ecmascriptwren">import "random" for Random
import "./seq" for Lst
 
9,485

edits