04.04.2013 Views

Processing: Creative Coding and Computational Art

Processing: Creative Coding and Computational Art

Processing: Creative Coding and Computational Art

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Sketch menu<br />

Cut (Cmd+X on OS X; Ctrl+X on Windows): Copies the selected text into clipboard<br />

memory <strong>and</strong> removes the selected text from the text editor.<br />

Copy (Cmd+C on OS X; Ctrl+C on Windows): Copies the selected text into clipboard<br />

memory <strong>and</strong> leaves the copied text as is within the text editor.<br />

Paste (Cmd+V on OS X; Ctrl+V on Windows): Adds the contents of the clipboard<br />

memory to the text editor window at the cursor’s position, replacing any selected<br />

text.<br />

Select All (Cmd+A on OS X; Ctrl+A on Windows): Highlights all the text within the<br />

text editor window.<br />

Find (Cmd+F on OS X; Ctrl+F on Windows): Allows you to find <strong>and</strong> replace keywords<br />

within the text editor window. You can replace individual words or all<br />

instances of words, <strong>and</strong> optionally specify whether searches should be case sensitive<br />

or not.<br />

Find Next (Cmd+G on OS X; Ctrl+G on Windows): Allows quick <strong>and</strong> persistent<br />

searches of the last keyword you entered into the Find field. For example, if I<br />

attempt to find the keyword “ball” with the Find comm<strong>and</strong>, later on I can simply<br />

select Find Next, <strong>and</strong> the next occurrence of the word “ball” will be highlighted in<br />

the text editor. The keyword used by Find Next does not persist between <strong>Processing</strong><br />

sessions—so if you quit <strong>and</strong> restart <strong>Processing</strong>, you’ll lose your keyword in the Find<br />

comm<strong>and</strong> field.<br />

Figure 5-6 shows a screenshot of <strong>Processing</strong>’s Sketch menu.<br />

Figure 5-6. Screen capture of <strong>Processing</strong>’s Sketch menu<br />

THE PROCESSING ENVIRONMENT<br />

153<br />

5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!