forked from xxq250/Nasal-Interpreter
📝 update scripts
This commit is contained in:
@@ -37,12 +37,13 @@ var RGB = func(h, w) {
|
||||
}
|
||||
|
||||
var progress = (h*width+w+1)/(width*height);
|
||||
if(progress*100-int(progress*100)==0){
|
||||
if (progress*100-int(progress*100)==0) {
|
||||
print(bar.bar(progress), " ", progress*100, "% \r");
|
||||
}
|
||||
|
||||
var c = char(res);
|
||||
return c~c~c;
|
||||
}
|
||||
|
||||
ppm("feigenbaum.ppm", width, height, RGB);
|
||||
println();
|
||||
Reference in New Issue
Block a user