bug fix, smaller triangles were lowest instead of highest
This commit is contained in:
parent
30e714bd60
commit
6e61dc893d
1 changed files with 1 additions and 1 deletions
|
|
@ -26,5 +26,5 @@ main = do
|
|||
gen <- getStdGen
|
||||
print gen
|
||||
let dims = (cols image, rows image)
|
||||
let triangleList = sortOn (negate . Tri.area) . withStrategy (parListChunk 50 rseq) . take 600 . map (Tri.getRandomTriangle image) . genList $ gen
|
||||
let triangleList = sortOn (Tri.area) . withStrategy (parListChunk 50 rseq) . take 600 . map (Tri.getRandomTriangle image) . genList $ gen
|
||||
mainWith . mconcat . map (renderTri image) $ triangleList
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue