This commit is contained in:
2022-11-17 16:20:15 +01:00
parent ca5a8516fd
commit 43627048d8
31 changed files with 21896 additions and 19 deletions

View File

@@ -76,29 +76,11 @@ public class Flocon extends Polygon {
f.setSize(1200, 1200);
Flocon p = new Flocon();
p.createFloc(f.getWidth() / 2, f.getHeight() / 2 - 100, 500, 4, 0);
p.createFloc(f.getWidth() / 2, f.getHeight() / 2 - 100, 500, Integer.parseInt(args[0]), 0);
FloconPanel fp = new FloconPanel(p);
f.add(fp);
f.setVisible(true);
int a = 0;
while(true) {
try {
Thread.sleep(16);
} catch (Exception e) {
}
a += 1;
p.xpoints = new int[0];
p.ypoints = new int[0];
p.npoints = 0;
p.createFloc(f.getWidth() / 2, f.getHeight() / 2 - 100, 500, 4, a);
fp.repaint();
}
}
}