RELATED APPLICATIONS  
       [0001]    This application claims benefit under 35 U.S.C. §119 of U.S. Provisional Patent Application No. 60/345,157 filed Nov. 6, 2001, the entire disclosure of which is herein incorporated by reference, and also is related to co-pending and co-owned U.S. patent application Ser. No. 09/897,192, the entire disclose of which is herein incorporated by reference. 
     
    
     
       FIELD OF THE PRESENT INVENTION  
         [0002]    The present invention is related to the electronic viewing of documents, and more particularly, to the simulation of an interaction between a viewer and a printed publication, and even more particularly, to the simulation of page turning using animation of such images to simulate an virtual turning of a printed page of a publication (preferably a bound printed publication).  
         BACKGROUND OF THE PRESENT INVENTION  
         [0003]    In the prior art, various methods have been developed for displaying documents including ordinary word processors to display text documents, image viewers, web browsers, and other specialty viewers including Adobe Acrobat (and the like). Other prior art discloses methods and systems which allegedly disclose page turning simulations that attempt to simulate the turning of pages of an electronic document to appear as though the viewer is turning the page of an actual book. Such prior art methods include those described in U.S. Pat. Nos. 5,053,762, 5,463,725, 5,233,332, 5,519,827, 5,625,420, 5,801,713, 5,900,876, and PCT application nos. WO 97/22104 and WO 02/21307. The methods depicted in these references purportedly simulate the effect of paper page turning by either implementing a transformation of pixel image data in two-dimensional space using pixel processing hardware, or by attempting to simulate a three-dimensional projection into the two-dimensional space of the screen using arcs that lie in the same plane as the screen and using pixel compression and smoothing techniques to yield an impression of a page being turned in three dimensional space.  
           [0004]    However, these prior art methods are not without limitations. For example, the hardware implementations used with these methods cannot adjust to changes in content format. This limits them to a single aspect ratio of material with which they can work. To that end, the methods and systems according to the prior art will require to be redesigned to accommodate new page and screen aspect ratios and resolutions.  
           [0005]    Another problem is that the pixel compression algorithms of the prior art methods and systems do not accommodate larger page sizes and higher resolution when processing power remains constant. Moreover, the prior art methods and systems cannot be easily adjusted to simulate different types of paper and styles of page-flip animation, and cannot simulate a page that is bent as it is turned, which is more natural for thin pages such as those found in magazines and catalogs.  
         SUMMARY OF THE INVENTION  
         [0006]    Accordingly, the present invention addresses the setbacks and problems of the prior art and presents a novel method of simulating the interaction between a viewer and an electronic image of a printed publication.  
           [0007]    Accordingly, in a first aspect of the present invention, a method for electronically simulating interaction with images of printed matter includes displaying a first image corresponding to a first printed page on a display and responding to user input to simulate turning the page to display a second image corresponding to a second printed page. With this aspect, an aspect ratio of the display may be automatically adjusted to an aspect ratio of the page. Moreover, the present aspect may include selecting a display mode of the display, which may include a single page view mode or a multiple page view mode.  
           [0008]    In another aspect of the present invention, a method of simulating the effect of page turning includes displaying a first image corresponding to a first side of a printed page on a display, where an aspect ratio of the display is automatically adjusted to an aspect ratio of the printed document. The method also includes responding to user input to simulate turning the printed page to display a second image corresponding to a second side of the printed page and consecutively rendering individual representations of images of the page from a set of discrete representations one at a time to simulate the page being turned.  
           [0009]    In the above aspect, the rendering may include creating an array of X, Y and Z first coordinates representing points on a grid in a three dimensional space, storing values in the array representing an image of the shape of the page at snapshots in time as the page is turned and dividing the image of the page into a rectilinear grid of second coordinates of sub-images whose aspect ratios match the aspect ratios of a set of convex four-sided polygons bounded by said X, Y and Z coordinates. Upon the grid of second coordinates includes a plurality of points A in one dimension and a plurality of second points B in another dimension, the number of rectilinear sub-images are substantially in accordance with the formula (A−1)*(B−1). Rendering may also include texture-mapping said grid of sub-images onto a set of convex four-sided polygons bounded by said first coordinate points.  
           [0010]    In another aspect of the present invention, a system for performing a method for electronically simulating interaction with images of printed matter includes displaying means for displaying a first image corresponding to a first side of a printed page on a display, where an aspect ratio of the display is automatically adjusted to an aspect ratio of the page and responding means for responding to user input to simulate turning the page to display a second image corresponding to a second side of the page.  
           [0011]    In yet another aspect of the present invention, a system for performing a method of simulating the effect of page turning includes displaying means for displaying a first image corresponding to a first side of a printed page on a display, where an aspect ratio of the display is automatically adjusted to an aspect ratio of the printed document, responding means for responding to user input to simulate turning the printed page to display a second image corresponding to a second side of the printed page and rendering means for consecutively rendering individual representations of images of the page from a set of discrete representations one at a time to simulate the page being turned.  
           [0012]    In the previous aspect, the rendering means may include creating means for creating an array of X, Y and Z first coordinates representing points on a grid in a three dimensional space, storing means for storing values in the array representing an image of the shape of the page at snapshots in time as the page is turned and dividing means for dividing the image of the page into a rectilinear grid of second coordinates of sub-images whose aspect ratios match the aspect ratio of a set of convex four-sided polygons bounded by said X, Y and Z coordinates, where upon the grid of second coordinates including a plurality of points A in one dimension and a plurality of second points B in another dimension, the number of rectilinear sub-images are substantially in accordance with the formula (A−1)*(B−1). The system further includes texture-mapping means for texture mapping said grid of sub-images onto a set of convex four-sided polygons bounded by said first coordinate points.  
           [0013]    The present invention also includes various aspects directed to a computer readable medium having computer instructions provided for thereon which enable a computer system to perform at least one of the method aspects described above.  
           [0014]    These and other advantages and features of the invention will be apparent through the detailed description of the embodiments and the drawings attached hereto. It is also to be understood that both the foregoing general description and the following detailed description are exemplary and not restrictive of the scope of the invention.  
       
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0015]    [0015]FIG. 1 is a screenshot of an image of a single page of a bound, printed publication as displayed by an application program according to the present invention.  
         [0016]    [0016]FIG. 2 is a screen shot of two images of facing pages of the bound printed publication as displayed by the application program according to the present invention.  
         [0017]    FIGS.  3 A 1 - 3 H 2 , illustrate various aspects of viewpoints of a single-page display mode, with regard to page turning.  
         [0018]    [0018]FIG. 4A illustrates a viewpoint of a printed publication having facing pages and a right gatefold page (folded).  
         [0019]    [0019]FIG. 4B illustrates a viewpoint of the printed publication of FIG. 4A, illustrating an unfolded gatefold page.  
         [0020]    [0020]FIG. 5 is a screen shot of images of two facing pages (for example) of a bound, printed publication, having left and right gatefold pages (folded) which obscure a portions of the pages currently displayed.  
         [0021]    [0021]FIG. 6 is a screenshot of images of the two facing pages of FIG. 5, with the gatefold pages unfolded.  
         [0022]    [0022]FIG. 7 is a line drawing depicting the unfolded gatefold pages of FIGS. 5 and 6.  
         [0023]    [0023]FIG. 8 is a screenshot of the pages displayed of FIGS. 5 and 6, with only the left hand gatefold page unfolded.  
         [0024]    [0024]FIG. 9 is a screenshot of the pages displayed in FIGS. 5 and 6, with only the right hand gatefold page unfolded.  
         [0025]    [0025]FIG. 10 is a screenshot of the right hand page of FIGS. 5 and 6, in single-page display mode, shown with the corresponding unfolded gatefold page.  
         [0026]    [0026]FIGS. 11A and 11B illustrate line drawing examples of views of insert cards (in a two page display mode for example) placed between facing pages of a bound, printed publication; FIG. 11A illustrating the insert adjacent a right page and FIG. 11B illustrating the insert adjacent the left page.  
         [0027]    [0027]FIG. 12 is a screenshot of a two page mode display of images of facing pages of a printed publication, illustrating an insert card positioned adjacent the right hand page.  
         [0028]    [0028]FIG. 13 is a screenshot of the same two page mode display depicted in FIG. 12, but with the insert card positioned adjacent the left hand page.  
         [0029]    [0029]FIG. 14 is a screenshot of a single-page mode display of an image of a page of a printed publication with an insert card.  
         [0030]    [0030]FIG. 15 is a line drawing of rectilinear grid for simulating page animations.  
         [0031]    [0031]FIG. 16 is a line drawing illustrating the process of the page turning animation according to the present invention.  
         [0032]    FIGS.  17 - 25  are screenshots of an evolving page-flip animation for a two-page display mode of an embodiment according to the present invention.  
         [0033]    [0033]FIG. 26 illustrates a computer system for which embodiments of the present invention may operate. 
     
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS  
       [0034]    In the present invention, images of the pages of printed publications are electronically displayed in a unique manner which simulates the viewing of the publication as if the user where actually viewing a printed copy of the publication. Accordingly, the present invention discloses methods and systems in which a user may interact with an electronic copy of a printed document, including methods for animating the turning of pages as well as interacting with gatefold pages and card inserts positioned in the printed publication.  
         [0035]    The various embodiments and aspects according to the present invention may be performed on, for example, a desktop personal computer and a workstation, and may also be operated on any number of other computing devices including laptops, PDAs, cell phones, kiosks, and other digital and non-digital display devices. FIG. 26 illustrates an example computer system  2600  for the present invention, and includes a desktop PC  2602 , with keyboard  2604  and mouse  2606 , which may include one or more peripheral devices such as a printer  2608 . The system may be in communication with a local area network (LAN) and/or the Internet  2610 , which allows the desktop PC to access remote servers  2612 .  
         [0036]    [0036]FIG. 1 illustrates a screen shot  100  of an embodiment of the present invention. In particular, the screenshot of FIG. 1 shows a single page mode of an application program which displays an image of a single page of the printed publication. The application includes a display area  102 , for displaying the image of a page or pages, a tool bar  104  which includes different tools for viewing, saving, opening printing and the like. The bottom of the page includes a page turning GUI  106 , which allows a user to turn pages of the publication. Similarly, FIG. 2 illustrates a screenshot  200  of the application displaying two-pages, having corresponding portions  202 ,  204  and  206 . Display area  202  includes an area for displaying a first page  208  and a second page  210 .  
         [0037]    Accordingly, the user of the methods and system according to the present invention has a choice of the single-page display mode (FIG. 1) and a double-page display mode (FIG. 2). In single-page mode, a single page of the bound printed matter is shown on the display at a time. In double-page mode, a left and a right page (e.g., facing pages) are shown side by side. The user may choose single-page mode to reserve a portion of the display for other functions, or may be viewing content on a portable device with a limited size screen or with an aspect ratio that&#39;s best suited to viewing a single page at a time.  
         [0038]    In a preferred embodiment, it is also possible to choose a display window whose aspect ratio does not match the aspect ratio of the bound printed matter. For instance, the user may wish to have the image of the printed page fill the computer screen wider than it is tall as that of a publication whose aspect ratio matches that of 8½×11 paper. In such a situation, each page of the single-page publication display is scaled vertically to match the height of the display window, and then any unused area of the window is filled with a solid color (e.g. black), to simulate the publication resting on a solid surface.  
         [0039]    Once the digital content is displayed for reading within the display area, clicking on special regions (“hot areas”, edges, corners, screen corners, and the like) of the displayed page may activate functions that may be intuitive to the reader. For example, clicking on the right or left edges of the displayed page will cause the displayed pages to change, as in turning pages in print media. In a preferred embodiment, the display change is accompanied by an animation showing the turning of the page on the computer display. Depending on the capabilities of the computer or the display on which the user interface appears, the animation may not be displayed or the page content may be a generic page instead of the actual pages being displayed.  
         [0040]    The page turning animation (also referred to herein as a “page flip animation”) may be applied to six or more different modes: single-page mode with and without gatefold pages and/or card inserts and double-page mode with and without gatefold pages and/or card inserts. In both single and double-page display mode with gatefold pages, one or both, if double page mode, of the facing pages are obscured by folded-over “gatefold” page(s) which may be unfolded to reveal the page hidden underneath.  
         [0041]    Within either display mode, page turning animation may simulate jumping forward and backward more than one page at a time by drawing/displaying the appropriate number of intermediate pages flipping in transition between the current page or pages and the destination page or pages, as will be described in more detail below.  
         [0042]    In all of these modes, in order to calculate how to render the publication pages on the computer display, the preferred embodiment simulates a “bird&#39;s eye” viewpoint  302 , looking down on the simulated printed matter from above, as shown in FIG. 3. The viewpoint mimics the viewpoint of a user viewing a magazine or other bound printed matter in the physical world.  
         [0043]    In the single-page mode, page-turn animation, according to the FIGS.  3 A 1 - 3 H 2 , proceeds as follows. On the first or (for example) the “front cover” page, clicking on the right-most edge of the page activates the “animation” page-flip effect  304  of the page, which reveals the “inside front cover” page (see FIGS.  3 A 1 - 3 B 2 ). Clicking on the rightmost edge of this page causes the viewpoint to slide to the right in the direction of arrow B, creating an effect of the inside front cover page appearing to slide to the left and the page immediately to its right sliding in from the right (see FIGS.  3 B 1 - 3 C 2 ). Now clicking on the right-most edge of this page (FIG. 3C 2 ) activates the page-flip animation  304  as well as a viewpoint pan to the left in the direction of arrow C. Because the page-flip animation also includes sliding the viewed page to the left (along with the viewpoint), this second viewpoint pan is generally not noticeable to the user. However, a subsequent click on the right-most edge of this third page will cause another camera pan to the right, to reveal a page to its right. From then on, all subsequent clicks on the right-most edges follow this pattern, until the user is viewing the very last page (“back cover”) of the printed matter (see FIGS.  3 D 1 - 3 E 2 ). At this point, clicking on the right-most edge may activate the page-flip effect and reveal the front cover of the printed matter once more (see FIGS.  3 E 1 - 3 E 2 ). This sequence of page flip animations taken as a whole simulates the real-world experience of flipping forwards through bound, printed matter a page at a time.  
         [0044]    Conversely, clicking on the left-most edge of the front cover slides the viewpoint to the left in the direction of arrow D, revealing the back cover page, as if the printed matter were folded open and laid flat with the cover and the back page both facing up. Clicking on the left-most edge of the back cover now activates the page-flip effect  304  and simultaneously slides the viewpoint to the right in the direction of arrow E, revealing the page previous to the back cover (the “inside back cover”) (see FIGS.  3 F 1 - 3 H 2 ). Next, a click on the left-most edge of the inside back cover again slides the viewpoint to the left in the direction of arrow F. A click on this page&#39;s left-most edge activates the page-flip effect, simultaneously sliding the viewpoint to the right, and revealing the page previous to that page, etc. This sequence of page flip animations taken as a whole simulates the real-world experience of flipping backwards through bound, printed matter a page at a time.  
         [0045]    In another embodiment of the invention, it may be desirable to change the order of the first few pages in order to show the user the back cover page immediately after the front-cover page, because exposure to content or publicity on the back cover is more highly valued by the publisher than content or publicity on the inside front cover. Although this order is not “natural” and perhaps less intuitive, in that it does not exactly simulate the physical experience of turning pages of bound printed matter, nonetheless it may be preferred in some applications. In such cases the page flip sequence proceeds as follows. Clicking on the right-most edge of the cover page slides the viewpoint to the left, revealing the back cover. Clicking on the right-most edge of the back cover now activates the page-flip effect with simultaneous viewpoint slide to the left, revealing the inside front cover.  
         [0046]    On the other hand, for example, clicking on the left-most edge of the cover page slides the viewpoint to the left, revealing the back cover, and clicking the left-most edge of the back cover subsequently reveals the inside back cover. Accordingly, an ambiguous situation may arise when arriving at the back cover page. It is possible to arrive at the back cover by clicking on the right-most edge of the front cover, or by clicking on the right-most edge of the inside back cover. Clicking on the left-most edge of the back cover may return the user (for example) to either the front cover or the inside back cover. In a preferred embodiment of the invention a finite-state machine algorithm, as known in the art, may be employed to track whether a user has arrived at the back cover page via the front cover or via the inside back cover, and handle a left-most edge click accordingly. Other such algorithms may be used to track the users viewing habits of the images of the printed publication.  
         [0047]    It will be appreciated that the action of clicking the right-most edge of a displayed page, also known as “clicking forwards”, may be equivalently actuated by using input via, for example, a computer keyboard by pressing the right-arrow indicator or the space key, or by positioning a mouse cursor over a hot spot on a page edge or a right-arrow icon on the display, and clicking the mouse button. Similarly, the action of clicking the left-most edge, also known as “clicking backwards”, may be equivalently actuated by pressing the left-arrow indicator on a computer keyboard, or by positioning a mouse cursor over a hot spot on a page edge or a left-arrow icon on the display, and clicking the mouse button. To that end, the initiation of page turning may be set up using any key(s) on a keyboard or other input device.  
         [0048]    A second mode of page turning is generally employed when displaying two pages of bound printed matter side-by-side on a display (e.g., facing pages)(see FIG. 2, for example) and operates in a similar fashion to single page display mode. Accordingly, at the outset, the front cover page is displayed on the right side of the display, and the back cover is displayed on the left side of the display, as if the bound printed matter were lying flat and open on a surface with the viewpoint looking down upon both pages. Clicking on the right-most edge of the cover page activates a right-to-left page-flip animation that reveals the inside front cover and the next page after that, displayed on the left and right sides of the screen, respectively. Subsequent clicks on the right-most edge of the rightmost page produce a parallel result, until the last two pages are displayed. In a preferred embodiment, the next click on the right-most edge of the last page of the bound printed matter activates a reverse page-flip (i.e., left-to-right) animation and once more reveals the back cover, displayed on the left side of the display, and the front cover on the right side of the display. However, in another embodiment, clicking on the right-most edge of the last page of the bound printed matter may also activate a right-to-left page-flip animation. Note that in all the embodiments of the side-by-side animations, there is generally no need to move the viewpoint&#39;s position, as two pages can be seen at all times. Additionally, since the back cover may be visible as well as the front cover, at the outset, there may be no need to change the order of pages from the “natural” order in order to increase back cover exposure (as is generally the case in single page mode). Accordingly, FIGS.  17 - 25 , illustrate evolving screenshots of an example of a right-to-left page turning animation/simulation for a two-page display mode according to embodiments of the present invention.  
         [0049]    A third mode of page turning is employed when “gate-fold” pages are to be displayed as shown in FIGS.  4 - 10 . Gatefold pages may be generally described as a page that is wider and/or taller than a standard page of a printed publication, which is folded so that it fits within the printed publication, and/or which the folded portion generally obscures a second portion of the page when folded. Gatefold pages generally unfold away from the spine of the printed matter, i.e. they are folded along the outermost edge of a page (opposite the spine). Such gatefolds are common in consumer magazines. They do not always equal double the width of one page in the publication-sometimes they may be narrower and they may also be wider—e.g., they foldout twice or more. However, they always obscure at least a portion of a page when “folded closed”, and are frequently printed on both sides in order to display information when both “folded closed” and “unfolded”. Some gatefold pages may appear as part of the cover page, some may appear as part of the inside-back cover, and some may appear in the interior. In the last case, there may be just one gatefold on the left or right side, or two gatefolds, one on each side.  
         [0050]    Because unfolding the gatefold or gatefolds causes the overall width of the displayed printed matter to change, extra considerations must be made for them. Specifically, if the user has chosen a two page “side-by-side” viewing mode, then when a gatefold page is displayed which obscures the page on the left, the user generally has two options depending on which side of the gatefold they choose to click. In a preferred embodiment, choosing the right-most edge causes the gatefold page to unfold towards the left. As shown in FIGS.  4 A- 4 B, an unfolding process of a gatefold page  406 A may be accomplished by first moving the viewpoint  402  from a first virtual distance  404 A to a second virtual distance  404 B, producing a “zoom-out” effect in a direction A, making the overall page size smaller on the display, and then displaying a right-to-left page-flip animation. The effect of the zoom-out animation is to permit the user to see the inside of the gatefold page, the page that the gatefold page obscured (the left-most page), and the right-most page all at once. Now clicking on the left-most edge of the unfolded gatefold page, or alternatively the right edge of the left-hand page, causes the gatefold page to “refold” using a page-flip animation and the viewpoint to simultaneously move closer to the printed matter (“zoom-in”), once again completely fitting just two pages into the display. On the other hand, clicking on the right-most edge of the unfolded gatefold page has no effect.  
         [0051]    When a gatefold page is obscuring a page on the right, the user also has the option (for example) of clicking on the left-most edge of the gatefold page or on the right-most edge. Clicking on the left-most edge causes the gatefold page to unfold towards the right via a left-to-right page-flip animation, followed by a viewpoint zoom-out. At this stage, both the reverse side of the gatefold page and the right-most page become visible, as well as either a left-most page or a left-most gatefold page. Now clicking on the right-most edge of the unfolded gatefold page, or alternatively the left edge of the right-hand page, causes the gatefold page to “refold” using a page-flip animation followed by a viewpoint “zoom-in”, once again completely fitting just two pages into the display. However, clicking on the left-most edge of the unfolded gatefold page has no effect.  
         [0052]    In a preferred embodiment, it is also possible to view two gatefold pages, one obscuring the left-most page, and one obscuring the right as shown in FIGS.  5 - 7 . There are generally two methods for unfolding the gatefold pages is such an embodiment. In a first method, once the left gatefold page  701  has been unfolded, it is possible to click on the left-most edge of the folded right gatefold page  702 . This activates an additional zoom-out animation followed by a left-to-right page-flip animation, revealing the right side page as well as the inside page of the rightmost gatefold (see FIG. 6). The zoom-out animation is generally necessary because with both gatefold pages unfolded, four pages must be made visible simultaneously. Similarly, when the right gatefold page is already unfolded, it is possible to click on the right-most edge of a still unfolded left-most gatefold page, activating an additional zoom-out animation followed by a right-to-left page flip animation, revealing the left most page as well as the inside page of the leftmost gatefold.  
         [0053]    When two gatefold pages are unfolded completely, clicking on the left-most edge of the left-most, unfolded, gatefold, or the right-most edge of the right-most, unfolded, gatefold page, may produce different results. For example, clicking on either one of these edges causes the corresponding gatefold to refold using a page-flip animation followed by a zoom-in animation. Alternatively, clicking on the either of these edges may cause both the left-most and right-most gatefold pages to refold using a page-flip animation, followed by a zoom-in operation (which may include two-zoom in operations) resulting in two pages now completely filling the display. Still further yet, for example, clicking on the left-most edge of the left gatefold page causes both the left-most and right-most gatefold pages to refold, activates a zoom-in operation (or two) and finally deploys a left-to-right page-flip animation, to reveal the two pages that precede the pages with the gatefolds (FIG. 5, for example). In yet another example, clicking on the rightmost edge of the left gatefold page causes both the left-most and right-most gatefold pages to refold, a zoom-in operation (or two) and finally a right-to-left page-flip animation to the left, revealing the two pages that follow the pages with the gatefolds. FIGS. 8 and 9 generally illustrate a left gatefold page unfolded (FIG. 8) and a right gatefold page unfolded (FIG. 9).  
         [0054]    Handling gatefold pages when the display is only as wide as a single page requires variations on the techniques outlined above for two-page displays examples of which are illustrated in FIG. 10. For instance, when a left-side page is displayed with a gatefold page over it, clicking on the right-most edge of the gatefold page launches a zoom-out animation followed by a right-to-left page-flip animation unfolding the gatefold to the left. Now, clicking on the left-most edge of the gate-fold page launches a left-to-right page-flip animation refolding the gatefold page, a zoom-in animation, and another page-flip animation revealing the page previous to the gate-fold page. On the other hand, clicking on the right-most edge of the revealed (left-most) page may launch a page-flip animation refolding the gatefold-page, a zoom-in animation, and a viewpoint-slide to the right revealing either a page to the right of the gatefold page, or if that page itself contains a gatefold page, then a zoom-out animation followed by page-flip animation unfolding that gatefold page. Clicking on the right-most edge of this second gatefold page may launch a page-flip animation that refolds the gatefold, followed by a zoom-in animation, and a page-flip animation to reveal the page immediately following this second gatefold page. Conversely, clicking on the left-most edge of this second gatefold page reverses the process: it launches a page-flip animation that refolds the second gatefold, zooms in on the gatefold page, slides the viewpoint to the left to reveal the left gatefold page, zooms out, and then launches a page-flip animation that reveals the first gatefold animation.  
         [0055]    In another embodiment of single page mode with gatefold pages, zoom-in animations between facing gatefold pages are not necessary. Specifically, the viewpoint remains zoomed-out. Instead, the left or right gatefold page is refolded with a page-flip animation, the viewpoint pans left or right, and finally the opposite gatefold page is unfolded.  
         [0056]    In certain cases a publisher adds inserts of a different, smaller size to a publication, for instance, for advertising, subscription solicitation, or reader feedback as shown in FIGS.  11 - 14  (double page display mode, FIGS.  11 - 13 ; single page display mode FIG. 14). Inserts may generally be described, for example, as a page that is generally smaller than the standard format page for the respective printed publication, and obscures a portion of an adjacent page. Preferably, the insert cards (often called “blow-in” or “reply” cards) are sized to be about (generally) 3″×5″ or thereabouts. Accordingly, as shown, for example, in FIG. 11, illustrating, double-page display, an insert showing a first side  1106 , between left hand page  1101  and right hand page  1102 , and then a second side  1105 .  
         [0057]    It is important that a user be able to see both sides of such an insert and, by employing the page flip animation scaled appropriately to match the side of the insert. A preferred embodiment of the present invention can simulate the physical aspects of these cards. For example, the insert can be “flipped-over” by clicking on the right-most corner of the insert, and the page-flip animation reflects the actual motion of a physical insert card that is bound into the publication. In another embodiment of the invention, any clicks to the page behind the insert apply first to the insert, thus obliging a user to first view the reverse side of the insert before advancing to the next two pages of a publication. This provides some advantage to a publisher who wishes to ensure that certain content or advertising is viewed. In single page view, the insert is “flipped-over” in the absence of the page hidden behind it.  
         [0058]    In another embodiment of the invention, the user can “zoom-in” and “zoom-out” on the page or pages being displayed, in order to get a closer look. When an insert card is present, the invention may need to move the insert card aside in order for the user to view what is underneath it. To accomplish this, a page-flip animation to the left may be launched on the insert card to flip it to the left side of the publication if the user chooses to zoom in on a portion of the right-most page and the insert card is currently obscuring any portion of the right-most page. Conversely, if the user zooms in on the left-most page, a page-flip animation to the right is launched if the card obscures any portion of the left-most page.  
         [0059]    One skilled in the art will appreciate that the insert cards as defined in the present invention may also be positioned on the outside of the printed publication, which may obscure a portion of the front and or back cover.  
         [0060]    Animation Mesh Description  
         [0061]    In a preferred embodiment of the present invention, the page flipping animation is accomplished in the following manner. A discrete mesh is generated, represented inside a computer program by an array of X, Y, and Z coordinates representing points in space. Each coordinate in the array reflects the position of one node in a rectilinear grid whose dimensions can be varied, to best suit the power of any particular computer and calculation speed and desired realism of the page-flip animation. For instance, on a powerful computer, the grid&#39;s dimensions may be twice those of an average computer, resulting in a more realistic curving effect of the page being turned.  
         [0062]    In order to simulate one type of page-flip animation, for example from right-to-left, in a preferred embodiment of the present invention, the algorithm relies on a sequence of grids (see FIGS.  15 - 16 ), each representing an intermediate form of the page as it is turned. In order to render these intermediate forms, each transformation of the grid is used to build a set of four sided polygons. Three-dimensional rendering libraries and hardware, as is known in the art, are then informed of the position and orientation of each of the polygons; subsequently, the libraries and the hardware are instructed to render each polygon onto the display to display one frame in a page-flip animation.  
         [0063]    The libraries are additionally instructed to apply as a texture map, as is known in the art, an image of the front side of the page to be turned and its reverse side onto the grid as follows. The image of the front side of the page is subdivided into rectangular sub-images that will map directly to the grid; for instance, if the grid is a points across and b points down, then the image will be subdivided into (a−1)*(b−1) rectangles (see  1501 - 1502 , FIG. 15), whose aspect ratios match the proportionate distance between the grid coordinates. Each sub-image is then applied as a texture map to the polygon that stretches between the corresponding grid points. The image of the reverse side of the same page is also subdivided in the same manner and applied as texture maps to the reverse side of similarly corresponding polygon. An example of the page flipping animation is provided in FIG. 16, where one side  1604  of a page  1603  is shown approximately midway through a page turning animation, to reveal a second side  1605  of page  1603  of publication  1602 .  
         [0064]    Although the polygons in the grid transformations may not be rectangular, they are designed such that they preferably have four sides and are convex. This constraint makes it possible for the three-dimensional rendering library and hardware to mathematically map the rectangular sub-images created from the front and rear side images of the turned page to the polygons in the grid transformations. The algorithm used to map a texture from an rectilinearly bounded image to one that has sides at arbitrary angles is known in the art and will not be discussed here, and in fact, is commonly and automatically implemented by today&#39;s three-dimensional rendering libraries and hardware. A sample of a result of the page-flip animation are shown in FIGS.  17 - 25  which depict screenshots of an actual page flip animation in a two-page display mode.  
         [0065]    The advantage of this approach may be seen at multiple levels. First, by using a true three-dimensional representation of the page as it is being turned, the present invention may easily scale the grid to fit any page format as needed. In addition, sets of grid transformations with more or fewer grid points can be deployed as appropriate to the particular power of rendering hardware employed on the display device. Using fewer grid points results in fewer polygons and fewer texture map calculations, and thus increased rendering speed; however, the page looks less and less like a curved piece of paper and more like a set of stiff cards connected at their edges. A user could also elect higher grid resolutions and better looking (if slower) page turn animations, or alternatively coarser grids with faster page turn animations.  
         [0066]    More important than these considerations is that the grid transformation data can be updated to reflect multiple page turn effects. For instance, beyond the immediate extensions of left-to-right, bottom-to-top and top-to-bottom page turns, stiffer or looser paper could be simulated by increasing the “curviness” of the grids.  
         [0067]    A third advantage of the grid approach is that it is simple to extend it to animate multiple pages being turned, simply by rendering multiple grid transformations in sequence with less than a full page turn cycle between them. In the preferred embodiment, up to five or more turning pages may be rendered, preferably simultaneously, when the user jumps ahead or back in the printed matter. If the user wishes to jump more than five at a time, the system only shows five page turns for simplicity (although, the number of pages may be increased or decreased accordingly). Preferably, the number of turning pages rendered is proportional to the amount of pages actually flipped forward or back—i.e., if a user jumps three pages ahead, it would show three pages being flipped at once.  
         [0068]    In one embodiment of the invention, the transformation meshes are pre-designed using a three-dimensional modeling system such as 3D STUDIO MAX®, from Autodesk Corp (Sausalito, Calif.). These programs are capable of converting a curved, four-sided polygon into a grid of coordinates and saving the data into a file for use by the present invention. A designer may push and pull a polygon into positions that realistically animate a certain type of paper being turned and output the resulting grids one at a time.  
         [0069]    In another embodiment of the invention, the transformation meshes are not designed then loaded before the animation, but actually calculated during the animation itself. To accomplish this, a NURB (non-uniform rational b-spline) surface is stored, that represents the path of travel of the edges of the page to be displayed. The page itself is calculated by fitting a second NURB bounded on one side by the binding of the printed matter, and on the other side by two sides of the first NURB, with the additional constraint that tangents to the page NURB at its edges must equal normal vectors to the bounding NURB. Finally, a set of four tangent vectors to the page NURB are established, two parallel to the spine of the printed matter, and two normal to the spine. These vectors establish the unmoving edge of the turning page, fixed at the spine of the printed matter. The orientation of these latter two vectors vary in discrete steps throughout the page animation, beginning with pointing in the direction of the initial lay of the page, and at completion, pointing in a nearly opposite direction as the page turn animation completes.  
         [0070]    By choosing discrete points along the edges of the bounding NURB and setting the outer corners of the page NURB to those points, the invention may then calculate a set of page NURBS that will simulate the page being turned. Each resulting page NURB may be subdivided into a grid and used exactly as before as a texture map grid, simply by iterating along the edge equations of the page NURB. Alternatively, if the rendering library and hardware support it, as is becoming more common, then the complete image of the page and its reverse side could be used as a pair of texture maps that are mapped onto the page NURBs themselves and rendered directly.  
         [0071]    To make the animation realistic, the following constraints may be imposed. First, the length of each edge of the page NURB remains constant to prevent “deformations” of the paper. Second, the surface area of the page NURB may also remain unchanged during all animation. Methods to calculate edge length and surface area of NURBS is known in the art. The “stiffness” of the page NURB may be limited to a certain range of values. One solution for calculation of “stiffness” may be to limit the first derivative of any spline function that lies along the surface of the page NURB such any bends or buckles in the surface of the page NURB may be controlled.  
         [0072]    The advantage of this second embodiment of a page-flip animation is that neither grid resolution or quantity of animation frames is predetermined, and instead can be changed at execution time, thus resulting in a more realistic page turn animation depending on available computer processing power.  
         [0073]    Representation, calculation of NURB surfaces, and their reduction to discrete non-curved entities such as polygons, is known in the art. However, this technique of using one NURB as a boundary surface for a second surface in order to represent the configuration of a page of printed matter in motion has never been shown in the prior art.  
         [0074]    Having now described a few embodiments of the invention, it should be apparent to those skilled in the art that the foregoing is merely illustrative and not limiting, having been presented by way of example only. Numerous modifications and other embodiments are within the scope of ordinary skill in the art and are contemplated as falling within the scope of the invention as defined by the appended claims and equivalents thereto. The contents of any references cited throughout this application are hereby incorporated by reference. The appropriate components, processes, and methods of those documents may be selected for the present invention and embodiments thereof.
A system, method, and computer readable medium having computer instructions provided thereon for enabling a computer to perform a method of simulating the effect of page turning including displaying a first image corresponding to a first side of a printed page on a display, where an aspect ratio of the display is automatically adjusted to an aspect ratio of the printed document, responding to user input to simulate turning the printed page to display a second image corresponding to a second side of the printed page and consecutively rendering individual representations of images of the page from a set of discrete representations one at a time to simulate the page being turned.