TIME-BASED, NON-CONSTANT TRANSLATION OF USER INTERFACE OBJECTS BETWEEN STATES
The present invention relates to a method for moving objects within the graphical user interface (GUI) of an operating system in a manner that provides a transitional effect between window states, which is pleasing to the user. This transitional effect includes changing the shape of a window while scaling and moving the window between two different sizes and positions. In one embodiment of the present invention, the transitional effect may be employed as a window is minimized into an icon, or restored from an icon. In another embodiment of the present invention, the transitional effect is employed as a window is minimized within its title bar, or restored therefrom. The rate of movement of objects is controlled in a non-linear manner, to further enhance the pleasing effect.
This application is a divisional of application Ser. No. 09/754,147 Jan. 5, 2001, which is a continuation-in-part of application Ser. No. 09/477,738 filed Jan. 5, 2000.
FIELD OF THE INVENTIONThe present invention relates generally to graphical user interfaces for computer systems. More particularly, the present invention relates to the movement of user-interface objects, such as icons and windows, within a graphical user interface of a computer operating system.
BACKGROUND OF THE INVENTIONAn important aspect of virtually every conventional personal and business computer is the graphical user interface (GUI). The user primarily employs the GUI to interact with the computer. Typically, the GUI consists of a desktop containing various objects such as windows, icons, pull-down menus and pop-up menus. These various objects can be placed at different positions on the desktop. Such positioning can be performed manually, e.g. by dragging an object from one location to another. In other situations, the object can be automatically repositioned, in response to user actions.
In addition to repositioning, some types of objects can also be resized. For instance, a user may have numerous windows opened simultaneously. There may be an insufficient amount of space associated with the computer display to show each window in its entirety, as a result of which the display can become cluttered. To help keep the display appearance organized, the user can resize, reshape and/or reposition windows. An exemplary method for resizing a window is illustrated in U.S. Pat. No. 5,546,520 to Cline et al. Another exemplary method for modifying or resizing a window, as information is being scrolled, is described by U.S. Pat. No. 5,771,032 to Cline et al. An exemplary method for repositioning windows is illustrated in U.S. Pat. No. 5,657,463 to Bingham.
Another common technique that is employed with GUIs involves “minimizing” and “maximizing” windows. The technique of minimizing and maximizing windows involves resizing and repositioning windows. When minimizing a window, the window is reduced in size to a miniaturized representation of the larger or full-sized window, or to an icon representation. When maximizing a window, the window is enlarged from a miniaturized representation of the window, or an icon representation, to a larger or full-sized window. As one skilled in the art will readily appreciate, a user may initiate the process of maximizing or minimizing a window by selecting an on-screen button, typically associated with the window itself, or by depressing one or more keys on the keyboard.
With respect to manipulating windows (e.g., opening, closing, sizing, repositioning), conventional operating systems primarily focus on efficiency. However, operating systems do not focus on the aesthetics associated with these operations, particularly minimizing, maximizing and restoring operations. Accordingly, it would be desirable to provide more aesthetically pleasing operations, while continuing to provide all of the functionality associated with traditional techniques.
SUMMARY OF THE INVENTIONBased on the previous discussion, it is one objective of the present invention to provide an aesthetically pleasing visual effect when repositioning, resizing, or generally Manipulating a displayed window.
It is another objective of the present invention to provide an aesthetically pleasing technique that assists the user in associating miniaturized or minimized windows with the corresponding enlarged or maximized windows.
It is another objective of the present invention to direct the user's attention o the ultimate destination of a minimized or maximized window.
It is a further objective of the present invention to provide a pleasing effect as the state of a user interface object is being changed, e.g. the object is being repositioned or resized.
The above-identified and other objectives are achieved by obtaining information relating to first and second on-screen positions of a window, defining a set of curves which connect the first and the second window positions, and then repeatedly scaling and repositioning the first window in such a way that it appears to slide through the curves from the first window position to the second window position. The visual effect of the present invention provides a smooth, aesthetically pleasing effect, during the process of maximizing and minimizing a window, or hiding and restoring a window, which also assists the user in associating a minimized window with the corresponding maximized window as the user can visually follow the transition from one to the other.
As an object such as a window moves from the first to the second position, the rate of translation is controlled in a non-linear manner to provide a visually pleasing effect. In one embodiment, the object accelerates and then decelerates as it moves. The rate of acceleration and deceleration is time-based, so that the same type of effect is achieved on all computers, independent of their respective processor speeds.
Further features of the invention, the advantages offered thereby are explained in greater detail herein after with reference to specific embodiments illustrated in the accompanying drawings.
In the following description, for the purpose of explanation and not limitation, certain details are set forth, such as particular techniques, steps, and system components, in order to provide a thorough understanding of the present invention. However, it will be apparent to those skilled in the art that the present invention may be practiced in other embodiments that depart from these details. In some instances, specific detailed descriptions of well-known concepts and methods have been omitted so as not to obscure the description of the present invention.
Exemplary embodiments of the present invention may, for example, be implemented on an Apple Macintosh® computer system. In particular, the management of windows can be used with the tool described in U.S. application Ser. No. 091467,074, filed Dec. 20, 1999, and entitled “User Interface for Providing Consolidation and Access,” the disclosure of which is incorporated herein by reference. However, it will be readily appreciated by those skilled in the art that the techniques described herein may be implemented on any of a number of computer systems. In general, such computer systems, as illustrated in
To facilitate the explanation of the visual effect illustrated in
During a first event, as shown in
During a second and third event, as shown in
y=Asin(x) (1)
where x represents the length along the initial curves 230,240 represented by segments QS and RT, shown in
A=0.5*S S′ (2)
where S S′ represents the length along the line connecting point S and point S′. The amplitude A for curve 240 is increased from zero (0) to a value given by equation (3) below:
A=0.5*T T″ (3)
where T T′ represents the length along the line connecting point T and point T′. As the amplitude A of the curves 230,240 is adjusted, the window 200 is scaled to fit within the curves, as shown in
Scaling the image associated with the window 200, as shown in
While phase A involves defining the curves 230,240 and scaling the window 200 to fit within the curves 230,240, phase B involves moving the scaled window 200 to a second window position 220. As shown in
The sixth event depicted in
A variety of techniques may be used to transform an image to an icon, which may be used to represent the window in its miniaturized form 250, as shown in
After the window has been minimized, it may be restored to its original size and position 210 by reversing the events depicted in
In a first event depicted in
During a second and third event, as shown in
The fifth and sixth events, depicted in
The events depicted in
A variety of alternative embodiments involving the restoration of a window, similar to the embodiment illustrated in
In step 610, a pair of curves is defined. In
During step 615, the amplitude of each sine wave curve is incremented, such that the points designated Q and R, which are associated with the present location of the window, appear as though they remain fixed, while the points designated S and T, as illustrated in
After incrementing the amplitude of each curve and scaling the scan lines accordingly, a determination is made, as illustrated by decision step 620, as to whether the amplitude of each curve has been sufficiently increased such that S′ and T′ are points along each curve respectively. If, as shown by the “NO” path out of decision step 620, the amplitudes have not yet been increased sufficiently, step 615 is repeated. If, however, the amplitudes have been increased sufficiently, as shown by the “YES” path out of decision step 620, then the window begins to move toward its desired location.
In accordance with step 625, the window is moved toward the desired location through a process that involves shifting the window, scan line by scan line, toward the desired location. As the window is being shifted, the scan lines are being continuously scaled so that the length of each scan line equals a corresponding distance between the curves. This creates the appearance that the window is sliding towards the desired location between the curves.
Eventually, each scan line associated with the window reaches the desired location. Thus, as the scan lines are being shifted and scaled, it is necessary to determine whether they have been fully shifted into place such that the window now occupies the desired location. This determination is made in accordance with decision step 630. If it is determined that the scan lines are not fully in place, in accordance with the “NO” path out of decision step 630, step 625 is repeated. If, however, it is determined that the scan lines are fully in place, and the window is now completely occupying the desired location, accordance with the “YES” path out of decision step 625, the process is complete and the method may be terminated.
In step 708, a pair of curves is defined. In
During the next step 710, the scan lines associated with the window, for example, window 300 illustrated in
After decreasing the amplitude associated with the curves, a determination is made as to whether the window is fully expanded. This occurs when the amplitude of the curves reaches zero (0). This determination is made in accordance with decision step 725. If the amplitude of the curves is not yet zero (0), as shown by the “NO” path out of decision step 725, then step 720 is repeated. If, however, the amplitude of the curves is zero (0), the window is fully expanded and the method may be terminated, as shown by the “YES” path out of decision step 725 to the termination step 730.
In accordance with another aspect of the invention, the movement of user interface objects on the desktop, such as windows, icons, tiles, etc., is carried out in a time-based manner that provides an interesting and pleasing effect. Further, this effect is independent of processor speed, so that a consistent look is presented regardless of the model of computer with which the user interface is used.
In an embodiment of this aspect of the invention, a non-linear translation rate is employed, wherein the object appears to move slowly at the beginning and end of its path of movement, and faster during the middle portion of the movement. Thus, for instance, in the example of
In a preferred embodiment, a sinusoidal function is employed to provide this effect of acceleration and deceleration during the movement of the object. Referring to
To determine the instantaneous position of the object during movement in accordance with the foregoing approach, the following values are defined for movement in a direction of interest, e.g. along the x axis:
xstart—-starting position of a reference point on the object (e.g. the upper left corner Q of the window illustrated in
xend—final position of the reference point on the object (e.g. the point S′)
tstart—starting time for the translation
T—total duration for the translation
Once these values have been defined, the elapsed time is calculated as:
telapsed=tnow−tstart (1)
where tnow is the current time. Using this value, a distance factor F is computed as follows:
F=0.5−[0.5 cos (π*telapsed/T)] (2)
This calculation results in a value in the range of 0 to 1, i.e. a point along the linear axis. This value is then used to determine the instantaneous position of the object, as follows:
xnow=xstart+(xend−xstart)*F (3)
The procedure of Equations 1-3 is repeated during the period of time T, until the object has reached the final position.
The foregoing example has been provided for translation along the x axis. The same approach can be employed for translation along the y axis, if translation in that direction is to be depicted.
A particular advantage of this technique for translating objects is the fact that it is based on time, and is independent of the processor speed of the computer on which the operating system is being run. Hence, a consistent appearance will be associated with the user interface across all models of computers, rather than appearing relatively sluggish on older, slower computers or too fast to be perceived on newer, faster computers.
While the preceding example has been particularly described with reference to the movement of a window, it will be appreciated that it is not limited to such. Rather, the non-linear translation can be applied to any object which is automatically moved in a user interface. For instance, if a user removes one of the tiles 260 in the userbar 270, or maximizes it into an open window, the other tiles can move horizontally to fill the gap created by the removed tile. Likewise, if a new tile is inserted in the userbar, or the relative positions of the tiles are changed, the existing tiles can move away from the tile being inserted to provide space for it to be accommodated. The movement of each tile can be controlled in accordance with the foregoing technique, to create a pleasing effect. Similarly, the dropping down of menus and any other type of movement animation that is automatically performed in a user interface can employ this effect.
Although a sinusoidal function has been identified since it produces a particularly interesting effect, any other function representing a velocity which increases and/or decreases over time, particularly a non-linear function, can be employed to produce a desired effect during the movement of the object.
It will be appreciated by those of ordinary skill in the art that the present invention can be embodied in other specific forms without departing from the spirit of the invention or essential characteristics thereof. For example, the invention has been described using curves, between which an image is scaled and along which an image is slid from a first position to a second position; however, the reference to “curves” may include the use of any kind of curve, including straight lines. Furthermore, the embodiments described show movement in the vertical direction on a computer screen; however, it is anticipated that the present invention may be implemented in any direction on a computer screen. Moreover, multiple scaling effects may be utilized in scaling and sliding the image that would be within the skill of those skilled in the art for enhancing the aesthetic effect of the transition described without departing from the spirit of the invention.
The presently disclosed embodiments are therefore considered in all respects to be illustrative and not restrictive. The scope of the invention is indicated by the appended claims, rather than the foregoing description, and all changes that come within the meaning and range of equivalents thereof are intended to be embraced therein.
Claims
1. A method, comprising:
- at an electronic device with a display and one or more input devices: displaying, on the display, a first state of a user interface; while displaying the first state of the user interface, receiving an input via the one or more input devices that corresponds to a request to transition the user interface to a second state that is different from the first state; and in response to receiving the input, transitioning the user interface from the first state to the second state with a non-linear transition, wherein transitioning the user interface from the first state to the second state with the non-linear transition includes: transitioning the user interface by a first amount of transition over a respective amount of time during a first portion of the non-linear transition; and transitioning the user interface by a second amount of transition over the respective amount of time during a second portion of the non-linear transition that occurs after the first portion of the non-linear transition, wherein the second amount of transition is selected so as to be different from the first amount of transition.
2. The method of claim 1, wherein the second amount of transition is greater than the first amount of transition.
3. The method of claim 1, wherein:
- transitioning the user interface by the first amount of transition over the respective amount of time during the first portion of the non-linear transition includes transitioning the user interface at a changing rate during the first portion of the non-linear transition; and
- transitioning the user interface by the second amount of transition over the respective amount of time during the second portion of the non-linear transition includes transitioning the user interface at a changing rate during the second portion of the non-linear transition.
4. The method of claim 1, wherein:
- transitioning the user interface by the first amount of transition over the respective amount of time during the first portion of the non-linear transition includes accelerating the rate of transitioning the user interface during the first portion of the non-linear transition; and
- transitioning the user interface by the second amount of transition over the respective amount of time during the second portion of the non-linear transition includes accelerating the rate of transitioning the user interface during the second portion of the non-linear transition.
5. The method of claim 1, wherein transitioning the user interface from the first state to the second state with the non-linear transition includes transitioning the user interface by a third amount of transition over the respective amount of time during a third portion of the non-linear transition that occurs after the second portion of the non-linear transition, wherein the third amount of transition is selected so as to be different from the first amount of transition and the second amount of transition.
6. The method of claim 5, wherein:
- the third amount of transition is greater than the second amount of transition; and
- the second amount of transition is greater than the first amount of transition.
7. The method of claim 5, wherein:
- transitioning the user interface by the first amount of transition over the respective amount of time during the first portion of the non-linear transition includes transitioning the user interface at a changing rate during the first portion of the non-linear transition;
- transitioning the user interface by the second amount of transition over the respective amount of time during the second portion of the non-linear transition includes transitioning the user interface at a changing rate during the second portion of the non-linear transition; and
- transitioning the user interface by the third amount of transition over the respective amount of time during the third portion of the non-linear transition includes transitioning the user interface at a changing rate during the third portion of the non-linear transition.
8. The method of claim 5, wherein:
- transitioning the user interface by the first amount of transition over the respective amount of time during the first portion of the non-linear transition includes accelerating the rate of transitioning the user interface during the first portion of the non-linear transition; and
- transitioning the user interface by the second amount of transition over the respective amount of time during the second portion of the non-linear transition includes accelerating the rate of transitioning the user interface during the second portion of the non-linear transition; and
- transitioning the user interface by the third amount of transition over the respective amount of time during the third portion of the non-linear transition includes decelerating the rate of transitioning the user interface during the third portion of the non-linear transition.
9. The method of claim wherein the first amount of transition is the same as the third amount of transition.
10. The method of claim 1, wherein transitioning the user interface from the first state to the second state includes moving a user interface object across the display from a first position in the first state of the user interface to a second position in the second state of the user interface.
11. The method of claim 1, wherein transitioning the user interface from the first state to the second state includes decreasing a size of at least a portion of a user interface object from a first size in the first state of the user interface to a second size in the second state of the user interface.
12. The method of claim 1, wherein transitioning the user interface from the first state to the second state includes changing a shape of a user interface object from a first shape in the first state of the user interface to a second shape in the second state of the user interface.
13. A computer-readable medium containing instructions, which when executed by at least one processor, configure the processor to perform operations comprising:
- displaying, on a display, a first state of a user interface;
- while displaying the first state of the user interface, receiving an input via one or more input devices that corresponds to a request to transition the user interface to a second state that is different from the first state; and
- in response to receiving the input, transitioning the user interface from the first state to the second state with a non-linear transition, wherein transitioning the user interface from the first state to the second state with the non-linear transition includes: transitioning the user interface by a first amount of transition over a respective amount of time during a first portion of the non-linear transition; and transitioning the user interface by a second amount of transition over the respective amount of time during a second portion of the non-linear transition that occurs after the first portion of the non-linear transition, wherein the second amount of transition is selected so as to be different from the first amount of transition.
14. The computer-readable medium of claim 13, wherein the second amount of transition is greater than the first amount of transition.
15. The computer-readable medium of claim 13, wherein:
- transitioning the user interface by the first amount of transition over the respective amount of time during the first portion of the non-linear transition includes transitioning the user interface at a changing rate during the first portion of the non-linear transition; and
- transitioning the user interface by the second amount of transition over the respective amount of time during the second portion of the non-linear transition includes transitioning the user interface at a changing rate during the second portion of the non-linear transition.
16. The computer-readable medium of claim 13, wherein:
- transitioning the user interface by the first amount of transition over the respective amount of time during the first portion of the non-linear transition includes accelerating the rate of transitioning the user interface during the first portion of the non-linear transition; and
- transitioning the user interface by the second amount of transition over the respective amount of time during the second portion of the non-linear transition includes accelerating the rate of transitioning the user interface during the second portion of the non-linear transition.
17. The computer-readable medium of claim 13, wherein transitioning the user interface from the first state to the second state with the non-linear transition includes transitioning the user interface by a third amount of transition over the respective amount of time during a third portion of the non-linear transition that occurs after the second portion of the non-linear transition, wherein the third amount of transition is selected so as to be different from the first amount of transition and the second amount of transition.
18. The computer-readable medium of claim 17, wherein:
- the third amount of transition is greater than the second amount of transition; and
- the second amount of transition is greater than the first amount of transition.
19. The computer-readable medium of claim 17, wherein:
- transitioning the user interface by the first amount of transition over the respective amount of time during the first portion of the non-linear transition includes transitioning the user interface at a changing rate during the first portion of the non-linear transition;
- transitioning the user interface by the second amount of transition over the respective amount of time during the second portion of the non-linear transition includes transitioning the user interface at a changing rate during the second portion of the non-linear transition; and
- transitioning the user interface by the third amount of transition over the respective amount of time during the third portion of the non-linear transition includes transitioning the user interface at a changing rate during the third portion of the non-linear transition.
20. The computer-readable medium of claim 17, wherein:
- transitioning the user interface by the first amount of transition over the respective amount of time during the first portion of the non-linear transition includes accelerating the rate of transitioning the user interface during the first portion of the non-linear transition; and
- transitioning the user interface by the second amount of transition over the respective amount of time during the second portion of the non-linear transition includes accelerating the rate of transitioning the user interface during the second portion of the non-linear transition; and
- transitioning the user interface by the third amount of transition over the respective amount of time during the third portion of the non-linear transition includes decelerating the rate of transitioning the user interface during the third portion of the non-linear transition.
21. The computer-readable medium of claim 17, wherein the first amount of transition is the same as the third amount of transition.
22. The computer-readable medium of claim 17, wherein transitioning the user interface from the first state to the second state includes moving a user interface object across the display from a first position in the first state of the user interface to a second position in the second state of the user interface.
23. The computer-readable medium of claim 13, wherein transitioning the user interface from the first state to the second state includes decreasing a size of at least a portion of a user interface object from a first size in the first state of the user interface to a second size in the second state of the user interface.
24. The computer-readable medium of claim 13, wherein transitioning the user interface from the first state to the second state includes changing a shape of a user interface object from a first shape in the first state of the user interface to a second shape in the second state of the user interface.
25. A computer system comprising:
- a display and one or more input devices;
- a computer-readable medium containing instructions, which when executed by at least one processor, configure the processor to perform operations comprising: displaying, on the display, a first state of a user interface; while displaying the first state of the user interface, receiving an input via the one or more input devices that corresponds to a request to transition the user interface to a second state that is different from the first state; and in response to receiving the input, transitioning the user interface from the first state to the second state with a non-linear transition, wherein transitioning the user interface from the first state to the second state with the non-linear transition includes: transitioning the user interface by a first amount of transition over a respective amount of time during a first portion of the non-linear transition; and transitioning the user interface by a second amount of transition over the respective amount of time during a second portion of the non-linear transition that occurs after the first portion of the non-linear transition, wherein the second amount of transition is selected so as to be different from the first amount of transition.
26. The computer system of claim 25, wherein the second amount of transition is greater than the first amount of transition.
27. The computer system of claim 25, wherein:
- transitioning the user interface by the first amount of transition over the respective amount of time during the first portion of the non-linear transition includes transitioning the user interface at a changing rate during the first portion of the non-linear transition; and
- transitioning the user interface by the second amount of transition over the respective amount of time during the second portion of the non-linear transition includes transitioning the user interface at a changing rate during the second portion of the non-linear transition.
28. The computer system of claim 25, wherein:
- transitioning the user interface by the first amount of transition over the respective amount of time during the first portion of the non-linear transition includes accelerating the rate of transitioning the user interface during the first portion of the non-linear transition; and
- transitioning the user interface by the second amount of transition over the respective amount of time during the second portion of the non-linear transition includes accelerating the rate of transitioning the user interface during the second portion of the non-linear transition.
29. The computer system of claim 25, wherein transitioning the user interface from the first state to the second state includes decreasing a size of at least a portion of a user interface object from a first size in the first state of the user interface to a second size in the second state of the user interface.
30. The computer system of claim 25, wherein transitioning the user interface from the first state to the second state includes changing a shape of a user interface object from a first shape in the first state of the user interface to a second shape in the second state of the user interface.
Type: Application
Filed: Nov 14, 2016
Publication Date: Mar 2, 2017
Inventor: Bas Ording (San Francisco, CA)
Application Number: 15/351,298