t3d(1) t3d(1) NNAAMMEE t3d - clock using flying balls to display the time SSYYNNOOPPSSIISS t3d [ _o_p_t_i_o_n_s ]... DDEESSCCRRIIPPTTIIOONN Time 3D is a clock. It uses flying balls to display the time. This balls move and wobble around to give you the impression your graphic workstation with its many XStones is doing something. t3d uses mouse and keyboard to let you fly through the balls. Hit SS to speed up, AA to slow down, ZZ to zoom in and XX to zoom out. Use the lleefftt mmoouussee bbuuttttoonn to rotate to the left and the rriigghhtt mmoouussee bbuuttttoonn to rotate the view to the right. Use the mmiiddddllee mmoouussee bbuuttttoonn to change the optical axis and the moving direction. 00 (zero) will stop you. QQ quits. OOPPTTIIOONNSS --mmoovvee _f_a_c_t_o_r Modifies the direction move of t3d. The clock looks 30 degrees* _f_a_c_t_o_r to the left and to the right periodically. --wwoobbbbllee _f_a_c_t_o_r Modifies the wobbling (sounds nice :-) of t3d by multiplying the default deformation of the clock with _f_a_c_t_o_r_. --mmiinnuutteess Shows one small ball for every minute, instead of one for every 2.5 minutes. --mmaagg _f_a_c_t_o_r Changes the magnification of t3d. By default, t3d draws a 200x200 image. A .I factor of 2 means, it will use a 400x400 image. --ccyyccllee _p_e_r_i_o_d Sets the moving cycle to _p_e_r_i_o_d seconds. By default, this value is 10 seconds. --wwaaiitt _m_i_c_r_o_s_e_c Inserts a wait after drawing one view of the clock. By default, t3d waits 40 ms after each drawing. This helps you to keep the performance loss small. --ffaasstt _p_r_e_c_a_l_c___r_a_d_i_u_s t3d uses bitmap copy to draw precalculated balls. You can specify the radius in pixels up to which t3d should precalculate balls. t3d will set a Time 3D Version 1.1 1 t3d(1) t3d(1) useful range by itself using the magnification when it is started. --ccoollccyyccllee Draws cyclic the color scale used for the balls in the background instead of the normal black. --rrggbb _r_e_d _g_r_e_e_n _b_l_u_e Selects the color in RGB color space of the light- ning spot on the balls. All the other colors used for balls or --ccoollccyyccllee are less intensive colors of the same hue and saturation. All values in range of 0 to 1. --hhssvv _h_u_e _s_a_t_u_r_a_t_i_o_n _v_a_l_u_e Selects the color in HSV color space. _h_u_e is in degrees from 0 to 360, all other values in range from 0 to 1. It gives nice but rather unpredictable results, if you use a saturation of e.g. 2. Try it at your own risk. --hhssvvccyyccllee _s_p_e_e_d Rotates the hue axis every 10 seconds* _s_p_e_e_d_. --hheellpp Prints a short usage message. AAUUTTHHOORR Bernd Paysan Email: bernd.paysan@gmx.de Hacked on by jwz@jwz.org for xscreensaver. AACCKKNNOOWWLLEEDDGGEEMMEENNTT Acknowledgement to Georg Acher, who wrote the initial pro- gram displaying balls. CCOOPPYYIINNGG Copy, modify, and distribute T3D either under GPL version 2 or newer, or under the standard MIT/X license notice. DDIISSCCLLAAIIMMEERR T3D is not related to T3D(tm), the massive parallel Alpha--based supercomputer from Cray Research. T3D's name was invented in 1991, years before the project at Cray Research started. There is no relation from T3D to Cray's T3D, even the balls surrounding T3D on some posters weren't an inspiration for T3D. I don't know anything about the other way round. Time 3D Version 1.1 2 t3d(1) t3d(1) The programming style of T3D isn't intented as example of good style, but as example of how a fast prototyped demo may look like. T3D wasn't created to be useful, it was created to be nice. KKNNOOWWNN BBUUGGSS There are no known bugs in T3D. Maybe there are bugs in X. Slight changes in the T3D sources are known to show these bugs, e.g. if you remove the (int) casting at the XFillArc x,y,w,h-coordinates... Time 3D Version 1.1 3