mirror of
https://github.com/AngelJumbo/lavat.git
synced 2024-11-05 07:16:45 +00:00
Some tweaks
This commit is contained in:
parent
3b2dd40b5a
commit
a2013a4da6
11
lavat.c
11
lavat.c
@ -49,7 +49,7 @@ int main(int argc, char *argv[]) {
|
|||||||
int speed = (((1 / (float)(maxX + maxY)) * 5000000) + 50000) / speedMult;
|
int speed = (((1 / (float)(maxX + maxY)) * 5000000) + 50000) / speedMult;
|
||||||
radius = (radius * radius + (float)(maxX * maxY)) / 15000;
|
radius = (radius * radius + (float)(maxX * maxY)) / 15000;
|
||||||
|
|
||||||
int margin = contained ? radius * 6 : 0;
|
int margin = contained ? radius * 10 : 0;
|
||||||
|
|
||||||
float sumConst = 0.0225;
|
float sumConst = 0.0225;
|
||||||
float sumConst2 = sumConst * (1 + (float)(0.25 * rim));
|
float sumConst2 = sumConst * (1 + (float)(0.25 * rim));
|
||||||
@ -247,7 +247,10 @@ void print_help() {
|
|||||||
" -F <CHARS> Allows for a custom set of chars to be used\n"
|
" -F <CHARS> Allows for a custom set of chars to be used\n"
|
||||||
" Only ascii symbols are supported for now, "
|
" Only ascii symbols are supported for now, "
|
||||||
"wide/unicode chars may appear broken.\n"
|
"wide/unicode chars may appear broken.\n"
|
||||||
" -C Make metaballs bounce right off the edge of the "
|
" -C Retain the metaballs in the terminal(It may not "
|
||||||
"terminal.\n"
|
"work well with a lot of balls or with bigger radius than the default "
|
||||||
" -h Print help.\n");
|
"values).\n"
|
||||||
|
" -h Print help.\n"
|
||||||
|
"(Tip: Zoom out in your terminal before running the program to get a "
|
||||||
|
"better resolution of the lava).\n");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user