delete some old pictures and some random other changes
This commit is contained in:
parent
2f14076337
commit
9af377e0a9
22
hyperbolic.c
22
hyperbolic.c
@ -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
|
||||
|
BIN
limit_curve.png
BIN
limit_curve.png
Binary file not shown.
Before Width: | Height: | Size: 15 KiB |
BIN
limit_curve2.png
BIN
limit_curve2.png
Binary file not shown.
Before Width: | Height: | Size: 20 KiB |
BIN
limit_curve3.png
BIN
limit_curve3.png
Binary file not shown.
Before Width: | Height: | Size: 198 KiB |
BIN
limit_curve4.png
BIN
limit_curve4.png
Binary file not shown.
Before Width: | Height: | Size: 139 KiB |
Loading…
Reference in New Issue
Block a user