1
0
Fork 0
mirror of synced 2025-07-04 20:37:07 +02:00

Small cleanup

This commit is contained in:
Christian Dietrich 2014-10-09 16:51:34 +02:00
parent 5a255d239e
commit 51e2a244bb
8 changed files with 45 additions and 39 deletions

View file

@ -68,9 +68,6 @@ int main() {
uint8_t i;
for (hy=1;hy<=hyres;hy++) {
for (hx=1;hx<=hxres;hx++) {
setcolor(hx * 100, 255, 0);
dot(hx-1, hy-1);
continue;
cx = (((float)hx)/((float)hxres)-0.5)/magnify*3.0-0.7;
cy = (((float)hy)/((float)hyres)-0.5)/magnify*3.0;
cx += xdelta;
@ -109,7 +106,6 @@ int main() {
\avr@instr@run
\avrdrawppm{mandelbrot.ppm}
\immediate\write18{convert mandelbrot.ppm mandelbrot.png}