# define DEFAULTS "*count: 1000 \n" \
"*cycles: 2500 \n" \
"*delay: 10000 \n" \
- "*ncolors: 200 \n"
+ "*ncolors: 200 \n" \
+ "*eraseSpeed: 400 \n" \
+ "*eraseMode: -1 \n"
# define SMOOTH_COLORS
# include "xlockmore.h" /* from the xscreensaver distribution */
+# include "erase.h"
#else /* !STANDALONE */
# include "xlock.h" /* from the xlockmore distribution */
#endif /* !STANDALONE */
}
XDrawPoints(MI_DISPLAY(mi), MI_WINDOW(mi), MI_GC(mi),
pointBuffer, hp->bufsize, CoordModeOrigin);
- if (++hp->count > MI_CYCLES(mi))
- init_hop(mi);
+ if (++hp->count > MI_CYCLES(mi)) {
+#ifdef STANDALONE
+ erase_full_window(MI_DISPLAY(mi), MI_WINDOW(mi));
+#endif /* STANDALONE */
+ init_hop(mi);
+ }
}
void