Jump to content

Processing: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Lightbot (talk | contribs)
Date audit per mosnum/overlink/Other
Ironwolf (talk | contribs)
m Added to Educational Programming Languages category
Line 83: Line 83:
[[Category:Object-oriented programming languages]]
[[Category:Object-oriented programming languages]]
[[Category:Cross-platform software]]
[[Category:Cross-platform software]]
[[Category:Educational programming languages]]


[[ca:Processing]]
[[ca:Processing]]

Revision as of 07:07, 14 November 2008

Processing
File:Processing-loading-logo.gif
Paradigmobject-oriented
Designed byBen Fry and Casey Reas
First appeared2001
Typing disciplinestrong
OSCross-platform
LicenseGPL and LGPL
Websiteprocessing.org
Influenced by
Design by Numbers, Java, OpenGL, PostScript

Processing is an open source project initiated by Casey Reas and Benjamin Fry, both 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. The language builds on the graphical capabilities of the Java programming language, simplifying features and creating a few new ones.

Features

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.

Hello World

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 setup()
{
 PFont font = loadFont("myfont.vlw");
 textFont(font,20);
}

void draw()
{
 text("Hello World!", 30,50);
}


Wiring

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.

Mobile Processing

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.

Processing.js

John Resig has recently ported Processing to JavaScript using the Canvas element for rendering,[1] allowing Processing to be used in modern web browsers without the need for a Java plugin.

Awards

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

License

The IDE is licensed under the GNU General Public License.

Processing's 'core' libraries, the code 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.

Name

Originally, Processing had the URL at proce55ing.org, because the "processing" domain was taken. Eventually, however, Reas and Fry acquired the domain. Although the name had a combination of letters and numbers, it was still pronounced "processing". They do not prefer the environment being referred to as "Proce55ing." But, despite the name change, Processing still uses the term "p5" sometimes as a shortened name. However, they specifically use "p5" and not "p55".

See also

References