Processing (programming language)

From Wikipedia, the free encyclopedia

Jump to: navigation, search
Processing
Image:Processing-loading-logo.gif
Paradigm object-oriented
Appeared in 2001
Typing discipline strong
Influenced by Design by Numbers
OS Cross-platform
License GPL and LGPL
Website processing.org

Processing is an open source project initiated by Casey Reas and Benjamin Fry, formerly of the Aesthetics and Computation Group at the MIT Media Lab. It is "a programming language and integrated development environment (IDE) built for the electronic arts and visual design communities", which aims to teach the basics of computer programming in a visual context, and to serve as the foundation for electronic sketchbooks. One of the stated aims of Processing is to act as a tool to get non-programmers started with programming, through the instant gratification of visual feedback. It is a language that builds on the graphical side of the Java programming language, simplifying features and creating a few new ones.

Contents

The Processing IDE
The Processing IDE

Processing includes a "sketchbook", a minimal alternative to an IDE for organizing projects.

When programming in Processing all classes defined will be treated as inner classes when the code is translated into pure Java before compiling. This means that the use of static variables and methods in classes is prohibited unless you explicitly tell Processing that you want to code in pure Java mode.

void setup()
{
  println("Hello World!");
}

While this is a valid Hello World program, the following code is a better example of the look and feel of the Processing language.

void draw()
{
 PFont font = loadFont("myfont.vlw");
 textFont(font,20);
 text("Hello World!", 30,50);
}

Processing has spawned another project, Wiring, which uses the Processing IDE together with a simplified version of the C programming language as a way to teach artists how to program microcontrollers. There are now two separate hardware projects, Wiring and Arduino, using the Wiring environment and language. Another spin-off project, Mobile Processing by Francis Li, allows software written using the Processing programming language and environment to run on Java powered mobile devices.

In 2005 Reas and Fry won the prestigious Golden Nica award from Ars Electronica in its Net Vision category for their work on Processing.

The IDE is licensed under the GNU General Public License.

Processing's 'core' libraries, the code that is included in exported applications and applets, is licensed under the GNU Lesser General Public License, allowing the programmer to release their original code with their license of choice.

Originally, Processing had the URL at proce55ing.org, because "processing" was taken. But eventually they acquired the domain. Although the name had a combination of letters and numbers, it was still pronounced "processing". They do not enjoy being referred to as "Proce55ing", according to the FAQ:

"When we see it with the 55's it annoys us and we want to punch people in the face. Or punch ourselves in the face for using it in the first place. Actually, we try not to be that emotional about it but we're trying to avoid the previous naming."

But, despite the name change, Processing still uses the term "p5" sometimes as a shortened name. However, they specifically use "p5" and not "p55".

Advanced Search
Included Web Search Engines


Safe Search

close

Top Matching Results

Occasionally Search.com will highlight specialized results that are based on the context of your query. Examples of specialized results include specific links to news, images, or video.

Top Matching Results may highlight information from other Search.com pages, content from the CNET Network of sites, or third party content. The listings are based purely on relevance. Search.com does not receive payment for listings in this section but our partners that provide this data may get paid for listing these products.

Sponsored Links

This section contains paid listings which have been purchased by companies that want to have their sites appear for specific search terms and related content. These listings are administered, sorted and maintained by a third party and are not endorsed by Search.com.

Search Results

Search.com sends your search query to several search engines at one time and integrates the results into one list which has been sorted by relevance using Search.com's proprietary algorithm. You can customize the list of search engines included in your metasearch from the preferences.

The search engines that are used in your metasearch may allow companies to pay to have their Web sites included within the results. To view the Paid Inclusion policy for a specific search engine, please visit their Web site. Search.com does not accept payment or share revenue with any search engine partner for listings in this section.