Retidy, removing align=left from headings and empty paragraphs

This commit is contained in:
James Gregory 2013-12-30 15:37:13 +11:00
commit a96a114403
362 changed files with 8472 additions and 5040 deletions

View file

@ -1,5 +1,4 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
@ -19,17 +18,21 @@
<center>
<table border="1">
<tr>
<td><a href="43-06.html">Previous</a></td>
<td>
<a href="43-06.html">Previous</a>
</td>
<td><a href="index.html">Table of Contents</a></td>
<td>
<a href="index.html">Table of Contents</a>
</td>
<td><a href="44-02.html">Next</a></td>
<td>
<a href="44-02.html">Next</a>
</td>
</tr>
</table>
</center>
<p><br /></p>
<h2 id="Heading1">Chapter 44<br />
Split Screens Save the Page Flipped Day</h2>
@ -43,7 +46,7 @@
<p>No horseshoes here.</p>
<h4 align="left" id="Heading3">A Plethora of Challenges</h4>
<h4 id="Heading3">A Plethora of Challenges</h4>
<p>In its simplest terms, computer animation consists of rapidly redrawing similar images at slightly differing locations, so that the eye interprets the successive images as a single object in motion over time. The fact that the world is an analog realm and the images displayed on a computer screen consist of discrete pixels updated at a maximum rate of about 70 Hz is irrelevant; your eye can interpret both real-world images and pixel patterns on the screen as objects in motion, and that&rsquo;s that.</p>
@ -51,20 +54,24 @@
<p>Another problem of animation is that the screen must update often enough so that motion appears continuous. A moving object that moves just once every second, shifting by hundreds of pixels each time it does move, will appear to jump, not to move smoothly. Therefore, there are two overriding requirements for smooth animation: 1) the bitmap must be updated quickly (once per frame&mdash;60 to 70 Hz&mdash;is ideal, although 30 Hz will do fine), and, 2) the process of redrawing the screen must be invisible to the user; only the end result should ever be seen. Both of these requirements are met by the program presented in Listings 44.1 and 44.2.</p>
<h4 align="left" id="Heading4">A Page Flipping Animation Demonstration</h4>
<h4 id="Heading4">A Page Flipping Animation Demonstration</h4>
<p>The listings taken together form a sample animation program, in which a single object bounces endlessly off other objects, with instructions and a count of bounces displayed at the bottom of the screen. I&rsquo;ll discuss various aspects of Listings 44.1 and 44.2 during the balance of this article. The listings are too complex and involve too much VGA and animation knowledge for for me to discuss it all in exhaustive detail (and I&rsquo;ve covered a lot of this stuff earlier in the book); instead, I&rsquo;ll cover the major elements, leaving it to you to explore the finer points&mdash;and, hope, to experiment with and expand on the code I&rsquo;ll provide.</p>
<p><br /></p>
<center>
<table border="1">
<tr>
<td><a href="43-06.html">Previous</a></td>
<td>
<a href="43-06.html">Previous</a>
</td>
<td><a href="index.html">Table of Contents</a></td>
<td>
<a href="index.html">Table of Contents</a>
</td>
<td><a href="44-02.html">Next</a></td>
<td>
<a href="44-02.html">Next</a>
</td>
</tr>
</table>
</center>