Jump to content

Processing.js: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
iPhone use: rem vague seciton
trim article sections, remove tags. Project ended. This sums things up well.
Line 20: Line 20:
| Successor = p5.js
| Successor = p5.js
}}
}}
'''Processing.js''' is a [[JavaScript]] port of [[Processing (programming language)|Processing]], a programming language designed to write visualisations, images, and interactive content. It allows web browsers to display animations, visual applications, games and other graphical rich content without the need for a [[Java applet]] or [[Flash plugin]]. It was discontinued in December 2018.
'''Processing.js''' is a [[JavaScript]] port of [[Processing (programming language)|Processing]], a programming language designed to write visualisations, images, and interactive content. It allows web browsers to display animations, visual applications, games and other graphical rich content without the need for a [[Java applet]] or [[Flash plugin]].


Processing.js was originally created to allow existing Processing developers and existing code to work unmodified on web. Processing.js used JavaScript to render 2D and 3D content on the HTML [[canvas element]], and was supported by browsers that have implemented this element (the latest versions of Mozilla [[Firefox]], [[Opera (web browser)|Opera]], [[Internet Explorer]], [[Safari (web browser)|Safari]] and [[Google Chrome]]).
Processing.js was originally created to allow existing Processing developers and existing code to work unmodified on web. Processing.js used JavaScript to render 2D and 3D content on the HTML [[canvas element]], and was supported by browsers that have implemented this element (the latest versions of Mozilla [[Firefox]], [[Opera (web browser)|Opera]], [[Internet Explorer]], [[Safari (web browser)|Safari]] and [[Google Chrome]]).
Line 27: Line 27:


Processing.js development was moved to [[GitHub]] in February of 2010, receiving contributions from 58 individuals, and was kept at parity with Processing up to its API version 2.1 release. The project was discontinued in December of 2018, two years after active development on it had stopped.
Processing.js development was moved to [[GitHub]] in February of 2010, receiving contributions from 58 individuals, and was kept at parity with Processing up to its API version 2.1 release. The project was discontinued in December of 2018, two years after active development on it had stopped.

==Processing syntax==
Processing.js syntax was almost identical to that of the Processing language, as it was intended to be a code-compatible port of Processing. It uses the same <code>setup()</code> function to define general visualization properties like canvas size, frame rate and other variables, and the <code>draw()</code> function as (animated) frame drawing function. File support covered the Processing .pde extensions, as well as common JavaScript extensions.

== p5.js ==


[[Lauren McCarthy]] created p5.js,<ref>http://p5js.org/ </ref> a native [[JavaScript]] alternative and successor to Processing.js that has the official support of the Processing Foundation. McCarthy also teaches an introductory course to p5.js on [[Kadenze]].
[[Lauren McCarthy]] created p5.js,<ref>http://p5js.org/ </ref> a native [[JavaScript]] alternative and successor to Processing.js that has the official support of the Processing Foundation. McCarthy also teaches an introductory course to p5.js on [[Kadenze]].

Revision as of 21:10, 4 July 2019

Processing.js
Original author(s)John Resig
Developer(s) Seneca CDOT
Initial release2008; 16 years ago (2008)
Stable release
1.6.6 / March 5, 2017; 7 years ago (2017-03-05)
Repository
Written inJavaScript
Size61 KB (gzipped) / 209 KB (production) / 754 KB (development)
TypeWeb application framework
LicenseMIT
Websiteprocessingjs.org

Processing.js is a JavaScript port of Processing, a programming language designed to write visualisations, images, and interactive content. It allows web browsers to display animations, visual applications, games and other graphical rich content without the need for a Java applet or Flash plugin.

Processing.js was originally created to allow existing Processing developers and existing code to work unmodified on web. Processing.js used JavaScript to render 2D and 3D content on the HTML canvas element, and was supported by browsers that have implemented this element (the latest versions of Mozilla Firefox, Opera, Internet Explorer, Safari and Google Chrome).

The development of Processing.js was started by John Resig and then picked up by the CDOT group at Seneca College after its initial release in 2008. A team of students and professors finished the porting work to get Processing.js to parity with the Processing v1.0 API, fixing more than 900 bugs, shipping 12 releases, and creating a vibrant community in the process. The project was run through a partnership between the Mozilla Foundation and Seneca College, led by David Humphrey, Al MacDonald, and Corban Brook.

Processing.js development was moved to GitHub in February of 2010, receiving contributions from 58 individuals, and was kept at parity with Processing up to its API version 2.1 release. The project was discontinued in December of 2018, two years after active development on it had stopped.

Lauren McCarthy created p5.js,[1] a native JavaScript alternative and successor to Processing.js that has the official support of the Processing Foundation. McCarthy also teaches an introductory course to p5.js on Kadenze.

See also

References

  • Glassner, Andrew (August 9, 2010), Processing for Visual Artists: How to Create Expressive Images and Interactive Art (1st ed.), A K Peters/CRC Press, p. 955, ISBN 1-56881-716-9, archived from the original on April 21, 2011 {{citation}}: Unknown parameter |deadurl= ignored (|url-status= suggested) (help)D
  • Reas, Casey; Fry, Ben (June 17, 2010), Getting Started with Processing (1st ed.), Make, p. 208, ISBN 1-4493-7980-X
  • Noble, Joshua (July 21, 2009), Programming Interactivity: A Designer's Guide to Processing, Arduino, and Openframeworks (1st ed.), O'Reilly Media, p. 736, ISBN 0-596-15414-3
  • Terzidis, Kostas (May 11, 2009), Algorithms for Visual Design Using the Processing Language (1st ed.), Wiley, p. 384, ISBN 0-470-37548-5
  • Reas, Casey; Fry, Ben; Maeda, John (September 30, 2007), Processing: A Programming Handbook for Visual Designers and Artists (1st ed.), The MIT Press, p. 736, ISBN 0-262-18262-9, archived from the original on April 17, 2011 {{citation}}: Unknown parameter |deadurl= ignored (|url-status= suggested) (help)
  • Fry, Ben (January 11, 2008), Visualizing Data (1st ed.), O'Reilly Media, p. 382, ISBN 0-596-51455-7
  • Greenberg, Ira (May 28, 2007), Processing: Creative Coding and Computational Art (Foundation) (1st ed.), friends of ED, p. 840, ISBN 1-59059-617-X, archived from the original on January 27, 2011 {{citation}}: Unknown parameter |deadurl= ignored (|url-status= suggested) (help)
  • Shiffman, Daniel (August 19, 2008), Learning Processing: A Beginner's Guide to Programming Images, Animation, and Interaction (1st ed.), Morgan Kaufmann, p. 450, ISBN 0-12-373602-1