forked from xxq250/Nasal-Interpreter
✨ add test/juliaset.nas
This commit is contained in:
@@ -7,7 +7,7 @@ var ppm = func(filename, width, height, RGB) {
|
||||
io.write(fd, "P6\n"~width~" "~height~"\n255\n");
|
||||
for(var i = 0; i<height; i += 1) {
|
||||
for(var j = 0; j<width; j += 1) {
|
||||
io.write(fd,RGB(i,j));
|
||||
io.write(fd, RGB(i, j));
|
||||
}
|
||||
}
|
||||
io.close(fd);
|
||||
|
||||
Reference in New Issue
Block a user