delete some old pictures and some random other changes

This commit is contained in:
Florian Stecker 2022-06-12 11:54:22 +02:00
parent 2f14076337
commit 9af377e0a9
5 changed files with 18 additions and 4 deletions

View File

@ -340,20 +340,34 @@ int main(int argc, const char *argv[])
draw_triangle(transformed, frame, "fill:#cfcfcf;");
}
char stylestring[100];
char colors[3][20] = {"red", "blue", "green"};
// draw special elements
for(int k = 0; k < elements; k++) {
// if(group[k].length % 2)
// continue;
for(int i = 0; i < 3*nspecial; i++) {
for(int i = 0; i < nspecial; i++) {
// draw_dot(apply(matrices[k], special_repelling[i]), frame, "fill:red;stroke-width:0;");
// draw_dot(apply(matrices[k], special_attracting[i]), frame, "fill:blue;stroke-width:0;");
draw_line(apply(matrices[k], special_repelling[i]),
apply(matrices[k], special_attracting[i]),
frame, "fill:none;stroke:red;stroke-width:1;");
snprintf(stylestring, sizeof(stylestring), "fill:none;stroke:%s;stroke-width:1;", colors[i%3]);
draw_line(apply(matrices[k], special_repelling[3*i]),
apply(matrices[k], special_attracting[3*i]),
frame, stylestring);
}
}
/*
int k = 0;
for(int i = 0; i < nspecial; i++) {
draw_line(apply(matrices[k], special_repelling[3*i]),
apply(matrices[k], special_attracting[3*i]),
frame, "fill:none;stroke:black;stroke-width:1;");
}
*/
print_svg_footer();
// clean up

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 KiB