Chaos game: Difference between revisions

Content deleted Content added
Replaced "bitmap" and "bresenham" with "imageman".
Added compression when saving.
Line 1,574: Line 1,574:
p = ((p.x + T[idx].x) / 2, (p.y + T[idx].y) / 2)
p = ((p.x + T[idx].x) / 2, (p.y + T[idx].y) / 2)


image.savePNG("chaos_game.png")</lang>
image.savePNG("chaos_game.png", compression = 9)</lang>


=={{header|PARI/GP}}==
=={{header|PARI/GP}}==