| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 Copyright (c) 2011 The Native Client Authors. All rights reserved. | 2 Copyright (c) 2011 The Native Client Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
| 4 found in the LICENSE file. | 4 found in the LICENSE file. |
| 5 --> | 5 --> |
| 6 | 6 |
| 7 <!DOCTYPE html PUBLIC | 7 <!DOCTYPE html PUBLIC |
| 8 "-//W3C//DTD XHTML 1.0 Transitional//EN" | 8 "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| 9 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 9 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 10 <html xmlns="http://www.w3.org/1999/xhtml"> | 10 <html xmlns="http://www.w3.org/1999/xhtml"> |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 uses the Pepper API to fetch an URL and then display its contents. | 44 uses the Pepper API to fetch an URL and then display its contents. |
| 45 </dd> | 45 </dd> |
| 46 <dt><a href="pi_generator/pi_generator.html">Pi Generator</a></dt> | 46 <dt><a href="pi_generator/pi_generator.html">Pi Generator</a></dt> |
| 47 <dd>The Pi Generator example combines HTML, JavaScript, | 47 <dd>The Pi Generator example combines HTML, JavaScript, |
| 48 and C++ (the C++ is compiled to create a .nexe file). The .nexe code | 48 and C++ (the C++ is compiled to create a .nexe file). The .nexe code |
| 49 creates a thread that estimate pi using the Monte Carlo method while | 49 creates a thread that estimate pi using the Monte Carlo method while |
| 50 randomly putting 1,000,000,000 points inside a 2D square that shares two | 50 randomly putting 1,000,000,000 points inside a 2D square that shares two |
| 51 sides with a quarter circle. The 2D square is generated using the Pepper 2D | 51 sides with a quarter circle. The 2D square is generated using the Pepper 2D |
| 52 API. | 52 API. |
| 53 </dd> | 53 </dd> |
| 54 <dt><a href="pong/pong.html">Pong</a></dt> |
| 55 <dd>The Pong example combines HTML, JavaScript, |
| 56 and C++ (the C++ is compiled to create a .nexe file). The .nexe code |
| 57 handles up and down arrow keyboard input events, and maintains the game |
| 58 score in a file in the local persistent file system. Javascript is used to |
| 59 request file quota. The game display uses Pepper 2D API. |
| 60 </dd> |
| 54 <dt><a href="sine_synth/sine_synth.html">Sine Wave Synthesizer</a></dt> | 61 <dt><a href="sine_synth/sine_synth.html">Sine Wave Synthesizer</a></dt> |
| 55 <dd>The Sine Wave Synthesizer example combines HTML, | 62 <dd>The Sine Wave Synthesizer example combines HTML, |
| 56 JavaScript, and C++ (the C++ is compiled to create a .nexe file). It | 63 JavaScript, and C++ (the C++ is compiled to create a .nexe file). It |
| 57 synthesizes and plays a sine wave. You can enter the frequency of the | 64 synthesizes and plays a sine wave. You can enter the frequency of the |
| 58 sine wave. It uses Pepper Audio API to play the tone. | 65 sine wave. It uses Pepper Audio API to play the tone. |
| 59 </dd> | 66 </dd> |
| 60 <dt><a href="load_progress/load_progress.html">Load Progress</a></dt> | 67 <dt><a href="load_progress/load_progress.html">Load Progress</a></dt> |
| 61 <dd>The Load Progress example combines HTML, | 68 <dd>The Load Progress example combines HTML, |
| 62 JavaScript, and C++ (the C++ is compiled to create a .nexe file). The HTML | 69 JavaScript, and C++ (the C++ is compiled to create a .nexe file). The HTML |
| 63 and embedded JavaScript show how to listen for and handle events sent | 70 and embedded JavaScript show how to listen for and handle events sent |
| 64 while the NaCl module loads. In particular, the ‘progress’ | 71 while the NaCl module loads. In particular, the ‘progress’ |
| 65 outputs loading progress. This example also includes some code that | 72 outputs loading progress. This example also includes some code that |
| 66 checks for valid browser versions and offers some troubleshooting hints if | 73 checks for valid browser versions and offers some troubleshooting hints if |
| 67 the NaCl module fails to load. | 74 the NaCl module fails to load. |
| 68 </dd> | 75 </dd> |
| 69 </dl> | 76 </dl> |
| 70 </body> | 77 </body> |
| 71 </html> | 78 </html> |
| OLD | NEW |