Skip to content

Commit 019a672

Browse files
philiptrphiliptr
authored andcommitted
Final rendering tutorial changes
1 parent f19932c commit 019a672

File tree

1 file changed

+28
-17
lines changed

1 file changed

+28
-17
lines changed

content/static/tutorials/rendering/index.html

Lines changed: 28 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ <h3 style="line-height: 0.7em;"><em>By Casey Reas</em></h3>
55

66
<tr>
77
<td>
8-
<br />
98
<p class="license">This tutorial is Extension 35 from the second edition of <em><a href="http://mitpress.mit.edu/books/processing-1">Processing: A Programming Handbook for Visual Designers and Artists</a></em>, published by MIT Press. Copyright 2013 MIT Press. This tutorial is for Processing version 2.0+. If you see any errors or have comments, please <a href="https://github.com/processing/processing-docs/issues?state=open">let us know</a>.</p>
109
<br />
1110
<br />
@@ -35,20 +34,26 @@ <h3>Another drawing surface</h3>
3534

3635
<br />
3736

38-
<tr style= "width: 100px; height: 100px; float:left;">
37+
<tr style= "width: 100px; float:left;">
3938
<td>
4039
<img src="imgs/35_01.png" style= "width: 100px; height: 100px; float: left;"> </td>
4140
</tr>
4241

43-
<tr style="float:left;">
42+
<br />
43+
<br />
44+
<br />
45+
46+
<tr style="float:left; margin-left: 20px;">
4447
<td>
4548
<pre>
46-
background(0);
47-
ellipse(50, 50, 75, 75);
49+
background(0);
50+
ellipse(50, 50, 75, 75);
4851
</pre>
4952
</td>
5053
</tr>
5154

55+
<br />
56+
<br />
5257

5358
<tr>
5459
<td>
@@ -67,7 +72,7 @@ <h3>Another drawing surface</h3>
6772
</td>
6873
</tr>
6974

70-
<tr style="float:left;">
75+
<tr style="float:left; margin-left: 20px;">
7176
<td>
7277
<pre>
7378
PGraphics circle = createGraphics(100, 100);
@@ -100,7 +105,7 @@ <h3>Another drawing surface</h3>
100105
</td>
101106
</tr>
102107

103-
<tr style="float:left;">
108+
<tr style="float:left; margin-left: 20px;">
104109
<td>
105110
<pre>
106111
PGraphics circle;
@@ -121,6 +126,7 @@ <h3>Another drawing surface</h3>
121126
</td>
122127
</tr>
123128

129+
124130
<tr>
125131
<td>
126132
<p>
@@ -129,6 +135,7 @@ <h3>Another drawing surface</h3>
129135
</td>
130136
</tr>
131137

138+
132139
<br />
133140

134141
<tr style ="width: 100px; float:left;">
@@ -145,7 +152,9 @@ <h3>Another drawing surface</h3>
145152
</td>
146153
</tr>
147154

148-
<tr style="float:left;">
155+
<br />
156+
157+
<tr style="float:left; margin-left: 20px;">
149158
<td>
150159
<pre>
151160
void setup() {
@@ -168,7 +177,7 @@ <h3>Another drawing surface</h3>
168177
</td>
169178
</tr>
170179

171-
<br />
180+
172181

173182
<tr>
174183
<td>
@@ -197,7 +206,7 @@ <h3>Another drawing surface</h3>
197206
</td>
198207
</tr>
199208

200-
<tr style="float:left;">
209+
<tr style="float:left; margin-left: 20px;">
201210
<td>
202211
<pre>
203212
PGraphics circles;
@@ -256,7 +265,7 @@ <h3>Another drawing surface</h3>
256265
</td>
257266
</tr>
258267

259-
<tr style="float:left;">
268+
<tr>
260269
<td>
261270
<pre>
262271
PGraphics tile;
@@ -323,7 +332,7 @@ <h3>OpenGL surfaces</h3>
323332
</td>
324333
</tr>
325334

326-
<tr style="float:left;">
335+
<tr style="float:left; margin-left: 20px;">
327336
<td>
328337
<pre>
329338
PGraphics cube;
@@ -400,9 +409,10 @@ <h3>Combine surfaces</h3>
400409
</tr>
401410
</td>
402411

403-
<tr style="float:left;">
412+
<tr style="float:left; margin-left: 20px;">
404413
<td>
405414
<pre>
415+
406416
PGraphics cubeA;
407417
PGraphics cubeB;
408418

@@ -475,9 +485,10 @@ <h3>Combine surfaces</h3>
475485
</td>
476486
</tr>
477487

478-
<tr style="float:left;">
488+
<tr style="float:left; margin-left: 20px;">
479489
<td>
480490
<pre>
491+
481492
PGraphics cubeA;
482493
PGraphics cubeB;
483494

@@ -527,7 +538,6 @@ <h3>Combine surfaces</h3>
527538
</p>
528539
</td>
529540
</tr>
530-
531541
<tr style ="width: 100px; float:left;">
532542
<td>
533543
<br />
@@ -541,13 +551,13 @@ <h3>Combine surfaces</h3>
541551
<br />
542552
<br />
543553
<img src="imgs/35_11_4.png" style= "width: 100px; height: 100px;">
544-
545554
</td>
546555
</tr>
547556

548-
<tr style="float:left;">
557+
<tr style="float:left; margin-left: 20px;">
549558
<td>
550559
<pre>
560+
551561
PGraphics cubeA;
552562
PGraphics cubeB;
553563

@@ -577,6 +587,7 @@ <h3>Combine surfaces</h3>
577587
cube.box(80);
578588
cube.endDraw();
579589
}
590+
580591
</pre>
581592
</td>
582593
</tr>

0 commit comments

Comments
 (0)