This file is indexed.

/usr/share/doc/racket/teachpack/index.html is in racket-doc 6.1-4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"/><title>How to Design Programs Teachpacks</title><link rel="stylesheet" type="text/css" href="../scribble.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-style.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../doc-site.css" title="default"/><script type="text/javascript" src="../scribble-common.js"></script><script type="text/javascript" src="../manual-racket.js"></script><script type="text/javascript" src="../doc-site.js"></script><script type="text/javascript" src="../local-redirect/local-redirect.js"></script><script type="text/javascript" src="../local-redirect/local-user-redirect.js"></script><!--[if IE 6]><style type="text/css">.SIEHidden { overflow: hidden; }</style><![endif]--></head><body id="doc-racket-lang-org"><div class="tocset"><div class="tocview"><div class="tocviewlist tocviewlisttopspace"><div class="tocviewtitle"><table cellspacing="0" cellpadding="0"><tr><td style="width: 1em;"><a href="javascript:void(0);" title="Expand/Collapse" class="tocviewtoggle" onclick="TocviewToggle(this,&quot;tocview_0&quot;);">&#9660;</a></td><td></td><td><a href="" class="tocviewselflink" data-pltdoc="x"><span style="font-style: italic">How to Design Programs</span> Teachpacks</a></td></tr></table></div><div class="tocviewsublistonly" style="display: block;" id="tocview_0"><table cellspacing="0" cellpadding="0"><tr><td align="right">1&nbsp;</td><td><a href="htdp.html" class="tocviewlink" data-pltdoc="x">Ht<span class="mywbr"> &nbsp;</span>DP Teachpacks</a></td></tr><tr><td align="right">2&nbsp;</td><td><a href="2htdp2htdp.html" class="tocviewlink" data-pltdoc="x">Ht<span class="mywbr"> &nbsp;</span>DP/<span class="mywbr"> &nbsp;</span>2e Teachpacks</a></td></tr></table></div></div></div><div class="tocsub"><div class="tocsubtitle">On this page:</div><table class="tocsublist" cellspacing="0"><tr><td><span class="tocsublinknumber"></span><a href="#%28part._top%29" class="tocsubseclink" data-pltdoc="x"><span style="font-style: italic">How to Design Programs</span> Teachpacks</a></td></tr></table></div></div><div class="maincolumn"><div class="main"><div class="versionbox"><span class="version">6.1</span></div><div class="navsettop"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: #888;" type="text" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress="return DoSearchKey(event, this, &quot;6.1&quot;, &quot;../&quot;);" onfocus="this.style.color=&quot;black&quot;; this.style.textAlign=&quot;left&quot;; if (this.value == &quot;...search manuals...&quot;) this.value=&quot;&quot;;" onblur="if (this.value.match(/^ *$/)) { this.style.color=&quot;#888&quot;; this.style.textAlign=&quot;center&quot;; this.value=&quot;...search manuals...&quot;; }"/></form>&nbsp;&nbsp;<a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot(&quot;6.1&quot;);">top</a></span><span class="navright">&nbsp;&nbsp;<span class="nonavigation">&larr; prev</span>&nbsp;&nbsp;<a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot(&quot;6.1&quot;);">up</a>&nbsp;&nbsp;<a href="htdp.html" title="forward to &quot;1 HtDP Teachpacks&quot;" data-pltdoc="x">next &rarr;</a></span>&nbsp;</div><h2 x-source-module="(lib &quot;teachpack/teachpack.scrbl&quot;)" x-part-tag="&quot;top&quot;"><a name="(part._top)"></a><span style="font-style: italic">How to Design Programs</span> Teachpacks</h2><p>Teaching languages are small subsets of a full programming language. While
 such restrictions simplify error diagnosis and the construction of tools,
 they also make it impossible (or at least difficult) to write some
 interesting programs. To circumvent this restriction, it is possible to
 import teachpacks into programs written in a teaching language.</p><p>In principle, a teachpack is just a library written in the full language,
 not the teaching subset. Like any other library, it may export values,
 functions, etc. In contrast to an ordinary library, however, a teachpack
 must enforce the contracts of the &ldquo;lowest&rdquo; teaching language into which it
 is imported and signal errors in a way with which students are familiar at
 that level.</p><p>This chapter covers the teachpacks for <span style="font-style: italic">How to Design Programs</span>.</p><table cellspacing="0" cellpadding="0"><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="htdp.html" class="toptoclink" data-pltdoc="x">1<span class="hspace">&nbsp;</span>HtDP Teachpacks</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="image.html" class="toclink" data-pltdoc="x">1.1<span class="hspace">&nbsp;</span>Manipulating Images: <span class="stt">"image.rkt"</span><a name="(idx._(gentag._0._(lib._teachpack/teachpack..scrbl)))"></a></a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="image.html#%28part._.Images%29" class="toclink" data-pltdoc="x">1.1.1<span class="hspace">&nbsp;</span>Images</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="image.html#%28part._modes-colors%29" class="toclink" data-pltdoc="x">1.1.2<span class="hspace">&nbsp;</span>Modes and Colors</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="image.html#%28part._creational%29" class="toclink" data-pltdoc="x">1.1.3<span class="hspace">&nbsp;</span>Creating Basic Shapes</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="image.html#%28part._properties%29" class="toclink" data-pltdoc="x">1.1.4<span class="hspace">&nbsp;</span>Basic Image Properties</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="image.html#%28part._composition%29" class="toclink" data-pltdoc="x">1.1.5<span class="hspace">&nbsp;</span>Composing Images</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="image.html#%28part._manipulation%29" class="toclink" data-pltdoc="x">1.1.6<span class="hspace">&nbsp;</span>Manipulating Images</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="image.html#%28part._scenes%29" class="toclink" data-pltdoc="x">1.1.7<span class="hspace">&nbsp;</span>Scenes</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="image.html#%28part._pixel-lists%29" class="toclink" data-pltdoc="x">1.1.8<span class="hspace">&nbsp;</span>Miscellaneous Image Manipulation and Creation</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="world.html" class="toclink" data-pltdoc="x">1.2<span class="hspace">&nbsp;</span>Simulations and Animations: <span class="stt">"world.rkt"</span><a name="(idx._(gentag._1._(lib._teachpack/teachpack..scrbl)))"></a></a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="world.html#%28part._simulations%29" class="toclink" data-pltdoc="x">1.2.1<span class="hspace">&nbsp;</span>Simple Simulations</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="world.html#%28part._interactive%29" class="toclink" data-pltdoc="x">1.2.2<span class="hspace">&nbsp;</span>Interactions</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="world.html#%28part._example%29" class="toclink" data-pltdoc="x">1.2.3<span class="hspace">&nbsp;</span>A First Example</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="world.html#%28part._.Understanding_a_.Door%29" class="toclink" data-pltdoc="x">1.2.3.1<span class="hspace">&nbsp;</span>Understanding a Door</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="world.html#%28part._.Simulations_of_the_.World%29" class="toclink" data-pltdoc="x">1.2.3.2<span class="hspace">&nbsp;</span>Simulations of the World</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="world.html#%28part._.Simulating_a_.Door__.Data%29" class="toclink" data-pltdoc="x">1.2.3.3<span class="hspace">&nbsp;</span>Simulating a Door: Data</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="world.html#%28part._.Simulating_a_.Door__.Functions%29" class="toclink" data-pltdoc="x">1.2.3.4<span class="hspace">&nbsp;</span>Simulating a Door: Functions</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="convert.html" class="toclink" data-pltdoc="x">1.3<span class="hspace">&nbsp;</span>Converting Temperatures: <span class="stt">"convert.rkt"</span><a name="(idx._(gentag._2._(lib._teachpack/teachpack..scrbl)))"></a></a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="guess.html" class="toclink" data-pltdoc="x">1.4<span class="hspace">&nbsp;</span>Guessing Numbers: <span class="stt">"guess.rkt"</span><a name="(idx._(gentag._3._(lib._teachpack/teachpack..scrbl)))"></a></a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="master.html" class="toclink" data-pltdoc="x">1.5<span class="hspace">&nbsp;</span>MasterMinding: <span class="stt">"master.rkt"</span><a name="(idx._(gentag._4._(lib._teachpack/teachpack..scrbl)))"></a></a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="master-play.html" class="toclink" data-pltdoc="x">1.6<span class="hspace">&nbsp;</span>Playing MasterMind: <span class="stt">"master-play.rkt"</span><a name="(idx._(gentag._5._(lib._teachpack/teachpack..scrbl)))"></a></a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="draw.html" class="toclink" data-pltdoc="x">1.7<span class="hspace">&nbsp;</span>Simple Drawing: <span class="stt">"draw.rkt"</span><a name="(idx._(gentag._6._(lib._teachpack/teachpack..scrbl)))"></a></a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="draw.html#%28part._drawing%29" class="toclink" data-pltdoc="x">1.7.1<span class="hspace">&nbsp;</span>Drawing on a Canvas</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="draw.html#%28part._interaction%29" class="toclink" data-pltdoc="x">1.7.2<span class="hspace">&nbsp;</span>Interactions with Canvas</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="hangman.html" class="toclink" data-pltdoc="x">1.8<span class="hspace">&nbsp;</span>Hangman: <span class="stt">"hangman.rkt"</span><a name="(idx._(gentag._7._(lib._teachpack/teachpack..scrbl)))"></a></a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="hangman-play.html" class="toclink" data-pltdoc="x">1.9<span class="hspace">&nbsp;</span>Playing Hangman: <span class="stt">"hangman-play.rkt"</span><a name="(idx._(gentag._8._(lib._teachpack/teachpack..scrbl)))"></a></a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="arrow.html" class="toclink" data-pltdoc="x">1.10<span class="hspace">&nbsp;</span>Managing Control Arrows: <span class="stt">"arrow.rkt"</span><a name="(idx._(gentag._9._(lib._teachpack/teachpack..scrbl)))"></a></a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="docs.html" class="toclink" data-pltdoc="x">1.11<span class="hspace">&nbsp;</span>Manipulating Simple HTML Documents: <span class="stt">"docs.rkt"</span><a name="(idx._(gentag._10._(lib._teachpack/teachpack..scrbl)))"></a></a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="dir.html" class="toclink" data-pltdoc="x">1.12<span class="hspace">&nbsp;</span>Working with Files and Directories: <span class="stt">"dir.rkt"</span><a name="(idx._(gentag._11._(lib._teachpack/teachpack..scrbl)))"></a></a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="graphing.html" class="toclink" data-pltdoc="x">1.13<span class="hspace">&nbsp;</span>Graphing Functions: <span class="stt">"graphing.rkt"</span><a name="(idx._(gentag._12._(lib._teachpack/teachpack..scrbl)))"></a></a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="gui.html" class="toclink" data-pltdoc="x">1.14<span class="hspace">&nbsp;</span>Simple Graphical User Interfaces: <span class="stt">"gui.rkt"</span><a name="(idx._(gentag._13._(lib._teachpack/teachpack..scrbl)))"></a></a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="arrow-gui.html" class="toclink" data-pltdoc="x">1.15<span class="hspace">&nbsp;</span>An Arrow GUI: <span class="stt">"arrow-gui.rkt"</span><a name="(idx._(gentag._14._(lib._teachpack/teachpack..scrbl)))"></a></a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="elevator.html" class="toclink" data-pltdoc="x">1.16<span class="hspace">&nbsp;</span>Controlling an Elevator: <span class="stt">"elevator.rkt"</span><a name="(idx._(gentag._15._(lib._teachpack/teachpack..scrbl)))"></a></a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="lkup-gui.html" class="toclink" data-pltdoc="x">1.17<span class="hspace">&nbsp;</span>Lookup GUI: <span class="stt">"lkup-gui.rkt"</span><a name="(idx._(gentag._16._(lib._teachpack/teachpack..scrbl)))"></a></a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="guess-gui.html" class="toclink" data-pltdoc="x">1.18<span class="hspace">&nbsp;</span>Guess GUI: <span class="stt">"guess-gui.rkt"</span><a name="(idx._(gentag._17._(lib._teachpack/teachpack..scrbl)))"></a></a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="show-queen.html" class="toclink" data-pltdoc="x">1.19<span class="hspace">&nbsp;</span>Queens: <span class="stt">"show-queen.rkt"</span><a name="(idx._(gentag._18._(lib._teachpack/teachpack..scrbl)))"></a></a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="matrix.html" class="toclink" data-pltdoc="x">1.20<span class="hspace">&nbsp;</span>Matrix Functions: <span class="stt">"matrix.rkt"</span><a name="(idx._(gentag._19._(lib._teachpack/teachpack..scrbl)))"></a></a></p></td></tr><tr><td><p><span class="hspace"></span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdp2htdp.html" class="toptoclink" data-pltdoc="x">2<span class="hspace">&nbsp;</span>HtDP/2e Teachpacks</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpbatch-io.html" class="toclink" data-pltdoc="x">2.1<span class="hspace">&nbsp;</span>Batch Input/Output: <span class="stt">"batch-io.rkt"</span><a name="(idx._(gentag._20._(lib._teachpack/teachpack..scrbl)._2htdp))"></a></a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpbatch-io.html#%28part._.I.O_.Functions%29" class="toclink" data-pltdoc="x">2.1.1<span class="hspace">&nbsp;</span>IO Functions</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpbatch-io.html#%28part._.Web_.Functions%29" class="toclink" data-pltdoc="x">2.1.2<span class="hspace">&nbsp;</span>Web Functions</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpbatch-io.html#%28part._.Testing%29" class="toclink" data-pltdoc="x">2.1.3<span class="hspace">&nbsp;</span>Testing</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpimage-guide.html" class="toclink" data-pltdoc="x">2.2<span class="hspace">&nbsp;</span>Image Guide</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpimage-guide.html#%28part._.Overlaying__.Above__and_.Beside__.A_.House%29" class="toclink" data-pltdoc="x">2.2.1<span class="hspace">&nbsp;</span>Overlaying, Above, and Beside: A House</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpimage-guide.html#%28part._.Rotating_and_.Overlaying__.A_.Rotary_.Phone_.Dial%29" class="toclink" data-pltdoc="x">2.2.2<span class="hspace">&nbsp;</span>Rotating and Overlaying: A Rotary Phone Dial</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpimage-guide.html#%28part._.Alpha_.Blending%29" class="toclink" data-pltdoc="x">2.2.3<span class="hspace">&nbsp;</span>Alpha Blending</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpimage-guide.html#%28part._.Recursive_.Image_.Functions%29" class="toclink" data-pltdoc="x">2.2.4<span class="hspace">&nbsp;</span>Recursive Image Functions</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpimage-guide.html#%28part._rotate-center%29" class="toclink" data-pltdoc="x">2.2.5<span class="hspace">&nbsp;</span>Rotating and Image Centers</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpimage-guide.html#%28part._.Image_.Interoperability%29" class="toclink" data-pltdoc="x">2.2.6<span class="hspace">&nbsp;</span>Image Interoperability</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpimage-guide.html#%28part._nitty-gritty%29" class="toclink" data-pltdoc="x">2.2.7<span class="hspace">&nbsp;</span>The Nitty Gritty of Pixels, Pens, and Lines</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpimage-guide.html#%28part._nitty-gritty-alpha%29" class="toclink" data-pltdoc="x">2.2.8<span class="hspace">&nbsp;</span>The Nitty Gritty of Alpha Blending</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpimage.html" class="toclink" data-pltdoc="x">2.3<span class="hspace">&nbsp;</span>Images: <span class="stt">"image.rkt"</span><a name="(idx._(gentag._21._(lib._teachpack/teachpack..scrbl)._2htdp))"></a></a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpimage.html#%28part._.Basic_.Images%29" class="toclink" data-pltdoc="x">2.3.1<span class="hspace">&nbsp;</span>Basic Images</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpimage.html#%28part._.Polygons%29" class="toclink" data-pltdoc="x">2.3.2<span class="hspace">&nbsp;</span>Polygons</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpimage.html#%28part._.Overlaying_.Images%29" class="toclink" data-pltdoc="x">2.3.3<span class="hspace">&nbsp;</span>Overlaying Images</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpimage.html#%28part._.Placing_.Images___.Scenes%29" class="toclink" data-pltdoc="x">2.3.4<span class="hspace">&nbsp;</span>Placing Images &amp; Scenes</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpimage.html#%28part._.Rotating__.Scaling__.Flipping__.Cropping__and_.Framing_.Images%29" class="toclink" data-pltdoc="x">2.3.5<span class="hspace">&nbsp;</span>Rotating, Scaling, Flipping, Cropping, and Framing Images</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpimage.html#%28part._.Bitmaps%29" class="toclink" data-pltdoc="x">2.3.6<span class="hspace">&nbsp;</span>Bitmaps</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpimage.html#%28part._.Image_.Properties%29" class="toclink" data-pltdoc="x">2.3.7<span class="hspace">&nbsp;</span>Image Properties</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpimage.html#%28part._.Image_.Predicates%29" class="toclink" data-pltdoc="x">2.3.8<span class="hspace">&nbsp;</span>Image Predicates</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpimage.html#%28part._.Equality_.Testing_of_.Images%29" class="toclink" data-pltdoc="x">2.3.9<span class="hspace">&nbsp;</span>Equality Testing of Images</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpimage.html#%28part._pinholes%29" class="toclink" data-pltdoc="x">2.3.10<span class="hspace">&nbsp;</span>Pinholes</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpimage.html#%28part._.Exporting_.Images_to_.Disk%29" class="toclink" data-pltdoc="x">2.3.11<span class="hspace">&nbsp;</span>Exporting Images to Disk</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpuniverse.html" class="toclink" data-pltdoc="x">2.4<span class="hspace">&nbsp;</span>Worlds and the Universe: <span class="stt">"universe.rkt"</span><a name="(idx._(gentag._22._(lib._teachpack/teachpack..scrbl)._2htdp))"></a></a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpuniverse.html#%28part._scene%29" class="toclink" data-pltdoc="x">2.4.1<span class="hspace">&nbsp;</span>Background</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpuniverse.html#%28part._simulations%29" class="toclink" data-pltdoc="x">2.4.2<span class="hspace">&nbsp;</span>Simple Simulations</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpuniverse.html#%28part._world._interactive%29" class="toclink" data-pltdoc="x">2.4.3<span class="hspace">&nbsp;</span>Interactions</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpuniverse.html#%28part._world-example%29" class="toclink" data-pltdoc="x">2.4.4<span class="hspace">&nbsp;</span>A First Sample World</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpuniverse.html#%28part._.Understanding_a_.Door%29" class="toclink" data-pltdoc="x">2.4.4.1<span class="hspace">&nbsp;</span>Understanding a Door</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpuniverse.html#%28part._.Hints_on_.Designing_.Worlds%29" class="toclink" data-pltdoc="x">2.4.4.2<span class="hspace">&nbsp;</span>Hints on Designing Worlds</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpuniverse.html#%28part._universe._world2%29" class="toclink" data-pltdoc="x">2.4.5<span class="hspace">&nbsp;</span>The World is not Enough</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpuniverse.html#%28part._universe._.Messages%29" class="toclink" data-pltdoc="x">2.4.5.1<span class="hspace">&nbsp;</span>Messages</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpuniverse.html#%28part._universe._.Sending_.Messages%29" class="toclink" data-pltdoc="x">2.4.5.2<span class="hspace">&nbsp;</span>Sending Messages</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpuniverse.html#%28part._universe._.Connecting_with_the_.Universe%29" class="toclink" data-pltdoc="x">2.4.5.3<span class="hspace">&nbsp;</span>Connecting with the Universe</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpuniverse.html#%28part._universe._.Receiving_.Messages%29" class="toclink" data-pltdoc="x">2.4.5.4<span class="hspace">&nbsp;</span>Receiving Messages</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpuniverse.html#%28part._universe-server%29" class="toclink" data-pltdoc="x">2.4.6<span class="hspace">&nbsp;</span>The Universe Server</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpuniverse.html#%28part._.Worlds_and_.Messages%29" class="toclink" data-pltdoc="x">2.4.6.1<span class="hspace">&nbsp;</span>Worlds and Messages</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpuniverse.html#%28part._.Universe_.Descriptions%29" class="toclink" data-pltdoc="x">2.4.6.2<span class="hspace">&nbsp;</span>Universe Descriptions</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpuniverse.html#%28part._.Exploring_a_.Universe%29" class="toclink" data-pltdoc="x">2.4.6.3<span class="hspace">&nbsp;</span>Exploring a Universe</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpuniverse.html#%28part._universe-sample%29" class="toclink" data-pltdoc="x">2.4.7<span class="hspace">&nbsp;</span>A First Sample Universe</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpuniverse.html#%28part._.Two_.Ball_.Tossing_.Worlds%29" class="toclink" data-pltdoc="x">2.4.7.1<span class="hspace">&nbsp;</span>Two Ball Tossing Worlds</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpuniverse.html#%28part._.Hints_on_.Designing_.Universes%29" class="toclink" data-pltdoc="x">2.4.7.2<span class="hspace">&nbsp;</span>Hints on Designing Universes</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpuniverse.html#%28part._.Designing_the_.Ball_.Universe%29" class="toclink" data-pltdoc="x">2.4.7.3<span class="hspace">&nbsp;</span>Designing the Ball Universe</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpuniverse.html#%28part._.Designing_the_.Ball_.Server%29" class="toclink" data-pltdoc="x">2.4.7.4<span class="hspace">&nbsp;</span>Designing the Ball Server</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpuniverse.html#%28part._.Designing_the_.Ball_.World%29" class="toclink" data-pltdoc="x">2.4.7.5<span class="hspace">&nbsp;</span>Designing the Ball World</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpPlanet_Cute_Images.html" class="toclink" data-pltdoc="x">2.5<span class="hspace">&nbsp;</span>Planet Cute Images</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpPlanet_Cute_Images.html#%28part._pc~3a.Characters%29" class="toclink" data-pltdoc="x">2.5.1<span class="hspace">&nbsp;</span>Characters</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpPlanet_Cute_Images.html#%28part._pc~3a.Blocks%29" class="toclink" data-pltdoc="x">2.5.2<span class="hspace">&nbsp;</span>Blocks</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpPlanet_Cute_Images.html#%28part._pc~3a.Items%29" class="toclink" data-pltdoc="x">2.5.3<span class="hspace">&nbsp;</span>Items</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpPlanet_Cute_Images.html#%28part._pc~3a.Ramps%29" class="toclink" data-pltdoc="x">2.5.4<span class="hspace">&nbsp;</span>Ramps</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpPlanet_Cute_Images.html#%28part._pc~3a.Buildings%29" class="toclink" data-pltdoc="x">2.5.5<span class="hspace">&nbsp;</span>Buildings</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdpPlanet_Cute_Images.html#%28part._pc~3a.Shadows%29" class="toclink" data-pltdoc="x">2.5.6<span class="hspace">&nbsp;</span>Shadows</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdphtdp-port.html" class="toclink" data-pltdoc="x">2.6<span class="hspace">&nbsp;</span>Porting World Programs to Universe</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdphtdp-port.html#%28part._.The_.World_is_.Not_.Enough%29" class="toclink" data-pltdoc="x">2.6.1<span class="hspace">&nbsp;</span>The World is Not Enough</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdphtdp-port.html#%28part._.Porting_.World_.Programs%29" class="toclink" data-pltdoc="x">2.6.2<span class="hspace">&nbsp;</span>Porting World Programs</a></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="2htdphtdp-port.html#%28part._.Porting_.Image_.Programs%29" class="toclink" data-pltdoc="x">2.6.3<span class="hspace">&nbsp;</span>Porting Image Programs</a></p></td></tr></table><div class="navsetbottom"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: #888;" type="text" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress="return DoSearchKey(event, this, &quot;6.1&quot;, &quot;../&quot;);" onfocus="this.style.color=&quot;black&quot;; this.style.textAlign=&quot;left&quot;; if (this.value == &quot;...search manuals...&quot;) this.value=&quot;&quot;;" onblur="if (this.value.match(/^ *$/)) { this.style.color=&quot;#888&quot;; this.style.textAlign=&quot;center&quot;; this.value=&quot;...search manuals...&quot;; }"/></form>&nbsp;&nbsp;<a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot(&quot;6.1&quot;);">top</a></span><span class="navright">&nbsp;&nbsp;<span class="nonavigation">&larr; prev</span>&nbsp;&nbsp;<a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot(&quot;6.1&quot;);">up</a>&nbsp;&nbsp;<a href="htdp.html" title="forward to &quot;1 HtDP Teachpacks&quot;" data-pltdoc="x">next &rarr;</a></span>&nbsp;</div></div></div><div id="contextindicator">&nbsp;</div></body></html>