HTML and CSS Reference
In-Depth Information
</canvas>
</canvas>
</div>
</div>
</body>
</body>
</html>
</html>
Figure 5-6. A single ball bouncing off a wall
NOTE
The points on the line are not drawn when executed in the web browser because they slow down the
ball far too much. We left them in Figure 5-6 to illustrate the angles of incidence and reflection.
Search WWH ::




Custom Search