From a4462c42966ffe0e4c90d750f9bd59a187b66f9b Mon Sep 17 00:00:00 2001 From: Xue Fuqiao Date: Tue, 20 Jan 2015 09:24:34 +0800 Subject: [PATCH] Typo fix. --- learning/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/learning/index.html b/learning/index.html index 0b44057..11b9a90 100644 --- a/learning/index.html +++ b/learning/index.html @@ -15,7 +15,7 @@

Basic Syntax

A brief look at the structure of a Processing sketch reveals how easy it is to program interactive visualizations.

-

As with any language, you begin by defining your global variables. Then you create a setup() function, where you control the visualization's properties, like the canvas size, frame rate and perhaps variables such as the stoke-weight or background-color.

+

As with any language, you begin by defining your global variables. Then you create a setup() function, where you control the visualization's properties, like the canvas size, frame rate and perhaps variables such as the stroke-weight or background-color.

The next step is to create your draw() function, which controls the behavior of each frame in your animation. The draw function loops continuously unless you tell it otherwise by using the exit() command.