Skip to content

Commit 533a524

Browse files
committed
Tutorials updates to remove Applet references
1 parent 3f7a56a commit 533a524

2 files changed

Lines changed: 9 additions & 44 deletions

File tree

content/static/tutorials/gettingstarted/index.html

Lines changed: 3 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ <h3>Save</h3>
174174

175175
<h3>Share</h3>
176176

177-
<p>Another theme of Processing is sharing your work. The Export button on
177+
<p>Another theme of Processing is sharing your work. The Export Application button on
178178
the toolbar:</p>
179179

180180
<p><img src="imgs/Menu-Export.gif" width="60" height="60" alt="Export" /></p>
@@ -195,41 +195,9 @@ <h3>Share</h3>
195195
<p>&nbsp;</p>
196196

197197

198-
<p>You can also find Export, along with its sibling Export to Applet,
199-
underneath the File menu. Export to Applet bundles your code into a single folder titled applet
200-
that can be uploaded to a web server. After exporting, the applet folder will open on
201-
your desktop. The PDE file is the source code, the JAR file is the program,
202-
the HTML file is the web page, and the GIF file is displayed in the web
203-
browser while the program is loading. Double-clicking the index.html file
204-
will launch your web browser and show your sketch on the web page it has
205-
created.</p>
206-
207-
<p>Holding down Shift when you press the Export button on the toolbar is
208-
another way to use Export to Applet.</p>
198+
<p>You can also find Export Application under the File menu.</p>
209199

210-
<p>&nbsp;</p>
211-
212-
<p>
213-
<img src="imgs/Fig_02_02.gif" width="500" height="200" alt="Applet folder" /><br />
214-
<em>The applet folder contains the exported sketch.</em>
215-
</p>
216-
217-
<p>&nbsp;</p>
218-
219-
<p>
220-
<table width="600" bgcolor="#CCCCCC" cellpadding="20">
221-
<tr>
222-
<td>
223-
<em>NOTE: The export folders are erased and recreated each time you use the
224-
Export command, so be sure to move the folder elsewhere before you
225-
make any changes to the HTML file or anything else inside. Alternatively, you can turn off the
226-
automatic file erasure in the Preferences.</em>
227-
</td>
228-
</tr>
229-
</table>
230-
</p>
231-
232-
<p>In addition to exporting your code as applications and applets, you can switch to
200+
<p>In addition to exporting your code as applications, you can switch to
233201
a different <em>mode</em> within Processing to export to other platforms. For example,
234202
changing to <a href="http://processing.org/learning/javascript/">JavaScript Mode</a>
235203
exports HTML5 Canvas and WebGL. Changing to <a href="http://processing.org/learning/android/">Android</a>

content/static/tutorials/overview/index.html

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ <h1>Processing Overview</h1>
99

1010
<p>&nbsp;</p>
1111

12-
<p>Processing is a simple programming environment that was created to make it easier to develop visually oriented applications with an emphasis on animation and providing users with instant feedback through interaction. The developers wanted a means to &ldquo;sketch&rdquo; ideas in code. As its capabilities have expanded over the past six years, Processing has come to be used for more advanced production-level work in addition to its sketching role. Originally built as a domain-specific extension to Java targeted towards artists and designers, Processing has evolved into a full-blown design and prototyping tool used for large-scale installation work, motion graphics, and complex data visualization.<br />
12+
<p>Processing is a simple programming environment that was created to make it easier to develop visually oriented applications with an emphasis on animation and providing users with instant feedback through interaction. The developers wanted a means to &ldquo;sketch&rdquo; ideas in code. As its capabilities have expanded over the past decade, Processing has come to be used for more advanced production-level work in addition to its sketching role. Originally built as a domain-specific extension to Java targeted towards artists and designers, Processing has evolved into a full-blown design and prototyping tool used for large-scale installation work, motion graphics, and complex data visualization.<br />
1313
<br />
1414
Processing is based on Java, but because program elements in Processing are fairly simple, you can learn to use it even if you don't know any Java. If you're familiar with Java, it's best to forget that Processing has anything to do with Java for a while, until you get the hang of how the API works.<br />
1515
<br />
@@ -129,10 +129,7 @@ <h3>Hello mouse</h3>
129129
<h3>Exporting and distributing your work</h3>
130130

131131

132-
<p>One of the most significant features of the Processing environment is its ability to bundle your sketch into an application or applet with just one click. Select File &rarr; Export to package your current sketch as an application. This will to bundle your sketch as an application for Windows, Mac OS X, and Linux. Similarly, you can use File &rarr; Export Applet to create a Java Applet from your code. This will create a folder named applet inside your sketch folder. Opening the <em>index.html</em> file inside that folder will open your sketch in a browser. The applet folder can be copied to a web site intact, and will be viewable by anyone who has Java installed on their system. <br />
133-
134-
<br />
135-
The application and applet folders are overwritten whenever you export&mdash;make a copy or remove them from the sketch folder before making changes to the <em>index.html</em> file or the contents of the folder. Alternatively, you can turn off the automatic file erasure in the Preferences.<br />
132+
<p>One of the most significant features of the Processing environment is its ability to bundle your sketch into an application with just one click. Select File &rarr; Export Application to package your current sketch as an application. This will to bundle your sketch as an application for Windows, Mac OS X, and Linux. The application folders are overwritten whenever you export&mdash;make a copy or remove them from the sketch folder before making changes to the contents of the folder. Alternatively, you can turn off the automatic file erasure in the Preferences.<br />
136133
<br />
137134
More about the export features can be found in the reference at <a href="http://processing.org/reference/environment/#Export"><em>http://processing.org/reference/environment/#Export</em></a><br />
138135
</p>
@@ -175,22 +172,22 @@ <h3>More about size()</h3>
175172
// Always the middle, no matter how the size() line changes
176173
ellipse(width/2, height/2, 50, 50);</pre>
177174
<br />
178-
In the earlier examples, the <tt>size()</tt> function specified only a width and height for the window to be created. An optional parameter to the <tt>size()</tt> function specifies how graphics are rendered. A renderer handles how the Processing API is implemented for a particular output function (whether the screen, or a screen driven by a high-end graphics card, or a PDF file). Several renderers are included with Processing, each having a unique function. At the risk of getting too far into the specifics, here's a description of the possible drawing modes to use with Processing. <br />
175+
In the earlier examples, the <tt>size()</tt> function specified only a width and height for the window to be created. An optional parameter to the <tt>size()</tt> function specifies how graphics are rendered. A renderer handles how the Processing API is implemented for a particular output function (whether the screen, or a screen driven by a high-end graphics card, or a PDF file). The default renderer does an excellent job with high-quality 2D vector graphics, but at the expense of speed. In particular, working with pixels directly is slow. Several other renderers are included with Processing, each having a unique function. At the risk of getting too far into the specifics, here's a description of the other possible drawing modes to use with Processing. <br />
179176

180177
<br />
181178
<pre> size(400, 400, P2D);</pre>
182179
<br />
183-
The P2D renderer is used by default, so this statement is identical to size(400, 400). The P2D renderer does an excellent job with high-quality 2D vector graphics, but at the expense of speed. In particular, working with pixels directly is slow.<br />
180+
The P2D renderer uses OpenGL for faster rendering of two-dimensional graphics, while using Processing's simpler graphics APIs and the Processing development environment's easy application export.<br />
184181
<br />
185182

186183
<pre> size(400, 400, P3D);</pre>
187184
<br />
188-
The P3D renderer uses Sun's JOGL (Java for OpenGL) library for faster rendering, while using Processing's simpler graphics APIs and the Processing development environment's easy application export. <!--OpenGL applets also run within a web browser without additional modification, but a dialog box will appear asking the user whether they trust &ldquo;Sun Microsystems, Inc.&rdquo; to run Java for OpenGL on their computer.--><br />
185+
The P3D renderer also uses OpenGL for faster rendering. It can draw three-dimensional objects and two-dimensional object in space as well as lighting, texture, and materials.<br />
189186
<br />
190187

191188
<pre> size(400, 400, PDF, &quot;output.pdf&quot;);</pre>
192189
<br />
193-
The PDF renderer draws all geometry to a file instead of the screen. To use PDF, in addition to altering your size() function, you must select Import Library, then PDF from the Sketch menu. This is a cousin of the Java2D renderer, but instead writes directly to PDF files. <br />
190+
The PDF renderer draws all geometry to a file instead of the screen. To use PDF, in addition to altering your size() function, you must select Import Library, then PDF from the Sketch menu. This is a cousin of the default renderer, but instead writes directly to PDF files. <br />
194191
<br />
195192
</p>
196193

0 commit comments

Comments
 (0)