Chaos game: Difference between revisions

Content deleted Content added
Chkas (talk | contribs)
Chkas (talk | contribs)
Line 567: Line 567:
y = randomf * 100
y = randomf * 100
for i range 100000
for i range 100000
move_pen x y
move_pen x y
draw_rect 0.3 0.3
draw_rect 0.3 0.3
h = random 3
h = random 3
x = (x + x[h]) / 2
x = (x + x[h]) / 2
y = (y + y[h]) / 2
y = (y + y[h]) / 2
.</lang>
.</lang>