Color render working

This commit is contained in:
2024-12-02 22:36:25 -05:00
parent 2bee6142be
commit ce1873147c
8 changed files with 138 additions and 14 deletions

View File

@ -22,11 +22,11 @@ export function* chaosGameFinal({width, height, transforms, final, quality, step
[x, y] = transform(x, y);
// highlight-start
[x, y] = final(x, y);
const [finalX, finalY] = final(x, y);
// highlight-end
if (i > 20)
plot(x, y, image);
plot(finalX, finalY, image);
if (i % step === 0)
yield image;