File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -417,7 +417,7 @@ the sine function useful for modeling a wavy motion.
417417{{index pi}}
418418
419419To avoid a situation where all coins move up and down synchronously,
420- the starting phase of each coin is randomized. The _ ((phase)) _ of
420+ the starting phase of each coin is randomized. The period of
421421` Math.sin ` 's wave, the width of a wave it produces, is 2π. We multiply
422422the value returned by ` Math.random ` by that number to give the coin a
423423random starting position on the wave.
Original file line number Diff line number Diff line change @@ -93,6 +93,10 @@ <h2>Chapter 15</h2>
9393
9494< h2 > Chapter 16</ h2 >
9595
96+ < p > < strong > Page 271</ strong > < em > Actors</ em > : Near the bottom of the
97+ page, the book incorrectly uses the term < em > phase</ em > (of a sinus
98+ wave) where it should say < em > period</ em > .</ p >
99+
96100< p > < strong > Page 278</ strong > < em > Motion and Collision</ em > : The code
97101that defines the < code > touches</ code > method unintentionally (though
98102harmlessly) used < code > var</ code > instead of < code > let</ code > to
You can’t perform that action at this time.
0 commit comments