| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -107,8 +107,6 @@ <h3 style="line-height: 0.7em;"><em>Daniel Shiffman</em></h3> | |||
| 107 | 107 | <img src="imgs/points.jpg" class="tut"> | |
| 108 | 108 | ||
| 109 | 109 | <pre> | |
| 110 | - <span style="color: #666666;">// Example: 2D Array</span> | ||
| 111 | - | ||
| 112 | 110 | <span style="color: #006699;">size</span>(200,200); | |
| 113 | 111 | <span style="color: #E2661A;">int</span> cols = <span style="color: #D94A7A;">width</span>; | |
| 114 | 112 | <span style="color: #E2661A;">int</span> rows = <span style="color: #D94A7A;">height</span>; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,14 +1,15 @@ | |||
| 1 | - <h1>Trigonometry Primer I</h1> | ||
| 2 | - <p> | ||
| 3 | - <table width="656"> | ||
| 4 | - | ||
| 5 | - <tr> | ||
| 6 | - <td> | ||
| 1 | + <table width="650"> | ||
| 2 | + <tr> | ||
| 3 | + <td> | ||
| 4 | + | ||
| 5 | + | ||
| 6 | + <p class="license"> | ||
| 7 | + This tutorial is from the book, <a href="http://www.processing.org/learning/books/#ira">Processing: Creative Coding and Computational Art</a>, Ira Greenberg, Friends of ED, © 2007. This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>. If you see any errors or have comments, please <a href="https://github.com/processing/processing-docs/issues?state=open">let us know</a>. | ||
| 8 | + </p> | ||
| 7 | 9 | ||
| 8 | - <p class="license">This tutorial is for Processing version 1.1+. If you see any errors or have comments, please <a href="https://github.com/processing/processing-docs/issues?state=open">let us know</a>. This tutorial is from the book, <a href="http://www.processing.org/learning/books/#ira">Processing: Creative Coding and Computational Art</a>, Ira Greenberg, Friends of ED 2007. This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.</p> | ||
| 10 | + <h1 style="line-height: 0.7em;">Trigonometry Primer</h1> | ||
| 11 | + <h3 style="line-height: 0.7em;"><em>Ira Greenberg</em></h3> | ||
| 9 | 12 | ||
| 10 | - | ||
| 11 | - <p> </p> | ||
| 12 | 13 | ||
| 13 | 14 | <p> | |
| 14 | 15 | Trigonometry (really just a couple of the trig functions) is central to graphics programming. That being said if you're anything like me you probably have a hazy memory of trig. Perhaps you remember the mnemonic device <strong>soh-cah-toa</strong>, used to remember the relationships between the trig functions and a right triangle. Here's a diagram to awaken your memory. | |
@@ -126,11 +127,8 @@ <h1>Trigonometry Primer I</h1> | |||
| 126 | 127 | </pre> | |
| 127 | 128 | </p> | |
| 128 | 129 | ||
| 129 | - <p> </p> | ||
| 130 | - | ||
| 131 | - <p class="license">This tutorial is for Processing version 1.1+. If you see any errors or have comments, please <a href="https://github.com/processing/processing-docs/issues?state=open">let us know</a>. This tutorial is from the book, <a href="http://www.processing.org/learning/books/#ira">Processing: Creative Coding and Computational Art</a>, Ira Greenberg, Friends of ED 2007. This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.</p> | ||
| 132 | 130 | ||
| 133 | 131 | </td> | |
| 134 | 132 | </tr> | |
| 135 | 133 | </table> | |
| 136 | - </p> | ||
| 134 | + | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments