- xoffs = cos(t * 0.5f) * DEF_WIDTH * 2;
- yoffs = sin(t) * DEF_HEIGHT;
- zoom = (sin(t * 0.75f) * 0.5f + 1.0f) * 1024.0f;
+ xoffs = COS(time_msec >> 5) * fb_width >> 7;
+ yoffs = SIN(time_msec >> 4) * fb_height >> 8;
+ zoom = ((SIN(time_msec >> 4) + 256) << 1) + 512;