-
- /* "This is Sci-Fi" */
- for( i = 0; i < 8; i++ ) {
- arc[0][i].width = arc[0][i].height = max_off;
- arc[1][i].width = arc[1][i].height = max_off;
- arc[0][i].x = arc[1][i].x = width/2;
- arc[0][i].y = arc[1][i].y = height/2;
- xx[i] = (double)(width/2) - max_off/2;
- yy[i] = (double)(height/2) - max_off/2;
- }
-
- arc[0][0].angle1 = arc[1][0].angle1 = 0*64; arc[0][0].angle2 = arc[1][0].angle2 = 45*64;
- arc[0][1].angle1 = arc[1][1].angle1 = 45*64; arc[0][1].angle2 = arc[1][1].angle2 = 45*64;
- arc[0][2].angle1 = arc[1][2].angle1 = 90*64; arc[0][2].angle2 = arc[1][2].angle2 = 45*64;
- arc[0][3].angle1 = arc[1][3].angle1 = 135*64; arc[0][3].angle2 = arc[1][3].angle2 = 45*64;
- arc[0][4].angle1 = arc[1][4].angle1 = 180*64; arc[0][4].angle2 = arc[1][4].angle2 = 45*64;
- arc[0][5].angle1 = arc[1][5].angle1 = 225*64; arc[0][5].angle2 = arc[1][5].angle2 = 45*64;
- arc[0][6].angle1 = arc[1][6].angle1 = 270*64; arc[0][6].angle2 = arc[1][6].angle2 = 45*64;
- arc[0][7].angle1 = arc[1][7].angle1 = 315*64; arc[0][7].angle2 = arc[1][7].angle2 = 45*64;
-
- for( i = 0; i < 8; i++ ) {
- dx[i] = cos((i*45 + 22.5)/360 * 2*M_PI);
- dy[i] = -sin((i*45 + 22.5)/360 * 2*M_PI);
- }
-
- gcv.line_width = 3;
- XChangeGC(dpy, gc, GCLineWidth, &gcv);
-
- XClearWindow (dpy, window);
- XFillArc(dpy, window, white_gc,
- width/2-max_off/2-1, height/2-max_off/2-1,
- max_off-1, max_off-1,
- 0, 360*64);
- XDrawLine(dpy, window, gc, 0, height/2-1, width, height/2-1);
- XDrawLine(dpy, window, gc, width/2-1, 0, width/2-1, height);
- XDrawLine(dpy, window, gc, width/2-1-max_off, height/2-1-max_off,
- width/2+max_off, height/2+max_off);
- XDrawLine(dpy, window, gc, width/2+max_off, height/2-1-max_off,
- width/2-1-max_off, height/2+max_off);
-
- XSync(dpy, False);
-
-
- /* Fan out */
- start_tick = millitime();
- end_tick = start_tick + msecs3;
- tick = start_tick;
- oi = 0;
- while (tick < end_tick)