Processing

Processing
Processing logo
ParadigmObject-oriented
Designed byCasey Reas, Ben Fry
First appeared2001; 24 years ago (2001)
Stable release
4.3.1 / November 12, 2024; 50 days ago (2024-11-12)[1]
LicenseGPL, LGPL
Filename extensions.pde
Websiteprocessing.org

Processing is a free graphics library and integrated development environment (IDE) built for the electronic arts, new media art, and visual design communities with the purpose of teaching non-programmers the fundamentals of computer programming in a visual context.

Processing uses the Java language, with additional simplifications such as additional classes and aliased mathematical functions and operations. It also provides a graphical user interface for simplifying the compilation and execution stage.

The Processing language and IDE have been the precursor to other projects including Arduino and Wiring.

History

The project was initiated in 2001 by Casey Reas and Ben Fry, both formerly of the Aesthetics and Computation Group at the MIT Media Lab. In 2012, they started the Processing Foundation along with Daniel Shiffman, who joined as a third project lead. Johanna Hedva joined the Foundation in 2014 as Director of Advocacy.[2]

Originally, Processing had used the domain proce55ing.net, because the processing domain was taken; Reas and Fry eventually acquired the domain processing.org and moved the project to it in 2004.[3] While the original name had a combination of letters and numbers, it was always officially referred to as processing, but the abbreviated term p5 is still occasionally used (e.g. in "p5.js") in reference to the old domain name.[4]

In 2012 the Processing Foundation was established and received 501(c)(3) nonprofit status,[5] supporting the community around the tools and ideas that started with the Processing Project. The foundation encourages people around the world to meet annually in local events called Processing Community Day.[6]

Features

Processing IDE
Stable release
4.3 / July 26, 2023; 17 months ago (2023-07-26)
Repository
Written inJava, GLSL, JavaScript
Operating systemCross-platform
TypeIntegrated development environment
Websiteprocessing.org

Processing includes a sketchbook, a minimal alternative to an integrated development environment (IDE) for organizing projects.[7]

Every Processing sketch is actually a subclass of the PApplet Java class (formerly a subclass of Java's built-in Applet) which implements most of the Processing language's features.[8]

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

Processing also allows for users to create their own classes within the PApplet sketch. This allows for complex data types that can include any number of arguments and avoids the limitations of solely using standard data types such as: int (integer), char (character), float (real number), and color (RGB, RGBA, hex).

Examples

The simplest possible version of a "Hello World" program in Processing is:

// This prints "Hello World." to the IDE console.
println("Hello World.");

However, due to the more visually-oriented nature of Processing, the following code[10] is a better example of the look and feel of the language.

// Hello mouse.
void setup() {
  size(400, 400);
  stroke(255);
  background(192, 64, 0);
}

void draw() {
  line(150, 25, mouseX, mouseY);
}

Awards

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

Ben Fry won the 2011 National Design Award given by the Smithsonian Cooper-Hewitt National Design Museum in the category of Interaction Design. The award statement says:

"Drawing on a background in graphic design and computer science, Ben Fry pursues a long-held fascination with visualizing data. As Principal of Fathom Information Design in Boston, Fry develops software, printed works, installations, and books that depict and explain topics from the human genome to baseball salaries to the evolution of text documents. With Casey Reas, he founded the Processing Project, an open-source programming environment for teaching computational design and sketching interactive-media software. It provides artists and designers with accessible means of working with code while encouraging engineers and computer scientists to think about design concepts."[12]

License

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

The IDE is licensed under the GNU General Public License.

Design By Numbers

Processing was based on the original work done on Design By Numbers project at MIT. It shares many of the same ideas and is a direct child of that experiment.

p5.js

In 2013, Lauren McCarthy created p5.js, a native JavaScript alternative to Processing.js that has the official support of the Processing Foundation. p5.js gained over 1.5 million users.[13]

Since April 2022, p5.js has been led by Qianqian Ye, an Adjunct Associate Professor of Media Arts at USC.[14]

ml5.js

ml5.js is a p5.js library developed by NYU's ITP/IMA with funding and support provided by a Google Education grant.

Daniel Shiffman has made videos demonstrating ml5 and is a notable code contributor.

Processing.js

Processing.js is a discontinued JavaScript port that enabled existing Processing Java code to run on web.

It was initially released in 2008 by John Resig. The project was later run through a partnership between the Mozilla Foundation and Seneca College, led by David Humphrey, Al MacDonald, and Corban Brook. Processing.js was kept at parity with Processing up to its API version 2.1 release.

The project was discontinued in December 2018, two years after its active development had stopped.

P5Py

p5 is a Python library that provides high level drawing functionality to help you quickly create simulations and interactive art using Python. It combines the core ideas of Processing — learning to code in a visual context — with Python's readability to make programming more accessible to beginners, educators, and artists.[15]

Processing.py

Python Mode for Processing, or Processing.py is a Python interface to the underlying Java toolkit. It was chiefly developed by Jonathan Feinberg starting in 2010, with contributions from James Gilles and Ben Alkov.[16]

py5

py5 is a version of Processing for Python 3.8+. It makes the Java Processing jars available to the CPython interpreter using JPype. It can do just about everything Processing can do, except with Python instead of Java code.[17]

Wiring, Arduino, and Fritzing

Processing has spawned another project, Wiring, which uses the Processing IDE with a collection of libraries written in the C++ language as a way to teach artists how to program microcontrollers.[18] There are now two separate hardware projects, Wiring and Arduino, using the Wiring environment and language. Fritzing is another software environment of the same sort, which helps designers and artists to document their interactive prototypes and to take the step from physical prototyping to actual product.

Mobile Processing

Another spin-off project, now defunct, is Mobile Processing by Francis Li, which allowed software written using the Processing language and environment to run on Java powered mobile devices. Today some of the same functionality is provided by Processing itself.[19]

iProcessing

iProcessing was built to help people develop native iPhone applications using the Processing language. It is an integration of the Processing.js library and a Javascript application framework for iPhone.[20]

Spde

Spde (Scala Processing Development Environment) replaces Processing's reduced Java syntax and custom preprocessor with the off-the-shelf Scala programming language which also runs on the Java platform and enforces some of the same restrictions such as disallowing static methods, while also allowing more concise code, and supporting functional programming.[21][22][23]

JRubyArt

JRubyArt (formerly named ruby-processing) is a wrapper for Processing in the Ruby language, that runs on the Java platform using JRuby.

Quil

Quil is an interactive animation library for Clojure and ClojureScript based on Processing.[24][25]

Media

The music video for "House of Cards" by Radiohead was created using Processing combined with data from lidar technology, along with using acrylic glass and mirrors to create scenes in which the image appears distorted, partially disappears, or disintegrate as if being carried by wind.[26] Processing has also been used to create illustrations for publications such as Nature and The New York Times, to output sculptures for gallery exhibitions, to control huge video walls and to knit sweaters.[27]

See also

Footnotes

  1. ^ "Releases". GitHub. Retrieved 2024-12-19.
  2. ^ "People". processingfoundation.org. Archived from the original on 2019-10-05. Retrieved 2017-04-24.
  3. ^ "Processing 1.0 _ALPHA_ - processing.org". processing.org. Archived from the original on 2012-04-28. Retrieved 2017-12-24.
  4. ^ "What means number 5 in name "p5"? · Issue #2443 · processing/p5.js". GitHub.
  5. ^ Casey Reas; Ben Fry (May 29, 2018). "A Modern Prometheus". Medium.
  6. ^ "PCD". Medium.
  7. ^ Ira Greenberg (31 December 2007). Processing: Creative Coding and Computational Art. Apress. pp. 151–. ISBN 978-1-4302-0310-0.
  8. ^ Jeanine Meyer (15 June 2018). Programming 101: The How and Why of Programming Revealed Using the Processing Programming Language. Apress. pp. 121–. ISBN 978-1-4842-3697-0.
  9. ^ Ira Greenberg (25 March 2010). The Essential Guide to Processing for Flash Developers. Apress. pp. 412–. ISBN 978-1-4302-1980-4.
  10. ^ Tayste. "Hello Mouse - OpenProcessing". OpenProcessing.org. Retrieved 3 March 2022.
  11. ^ Meredith Hoy (3 January 2017). From Point to Pixel: A Genealogy of Digital Aesthetics. Dartmouth College Press. pp. 142–. ISBN 978-1-5126-0023-0.
  12. ^ http://cdn.cooperhewitt.org/2011/05/26/Final%20-%20CHNDM%20NDA%202011%20Winner%20Release%205-26-11.pdf Archived 2011-08-12 at the Wayback Machine [bare URL PDF]
  13. ^ "P5.js — Lauren Lee McCarthy".
  14. ^ "Qianqian Ye".
  15. ^ p5, p5py, 2021-09-29, retrieved 2021-10-12
  16. ^ Allison Parrish; Ben Fry; Casey Reas (11 May 2016). Getting Started with Processing.py: Making Interactive Graphics with Processing's Python Mode. Maker Media, Incorporated. ISBN 978-1-4571-8679-0.
  17. ^ py5 documentation, hx2a, 2021-09-13, retrieved 2022-05-10
  18. ^ "Processing, Wiring, and Arduino (EE Tip 101) - Circuit Cellar". 18 September 2013.[permanent dead link]
  19. ^ "Android - Processing". Archived from the original on 2014-08-19. Retrieved 2013-06-03.
  20. ^ "iProcessing Puts Processing.js on iPhone - But What About Browsers? - CDM Create Digital Music". 11 February 2010. Archived from the original on 13 October 2019. Retrieved 23 July 2018.
  21. ^ "Spde: Spde". Technically.us. Archived from the original on 2011-08-02. Retrieved 2013-08-20.
  22. ^ "Coderspiel / Runaway processing". Technically.us. Archived from the original on 2016-11-10. Retrieved 2013-08-20.
  23. ^ "Coderspiel / Flocking with Spde". Technically.us. Retrieved 2013-08-20.
  24. ^ "Quil: animation in Clojure".
  25. ^ "Quil Intro".
  26. ^ Nye, Calley (2008-07-14). "Radiohead Partners With Google For Music Video Launch". The Washington Post. ISSN 0190-8286. Retrieved 2021-03-16.
  27. ^ Reas, Casey; Ben Fry (2015). Getting started with Processing (Second ed.). San Francisco. p. 183. ISBN 978-1-4571-8708-7. OCLC 905522686.{{cite book}}: CS1 maint: location missing publisher (link)

References

Read other articles:

Skylab adalah stasiun luar angkasa yang diluncurkan dan dioperasikan oleh NASA dan stasiun ruang angkasa pertama Amerika Serikat. Skylab mengorbit Bumi pada tahun 1973-1979, dan berisi ruang kerja, observatorium surya, dan sistem lainnya. Stasiun ini diluncurkan dengan roket tak berawak Saturn V yang dimodifikasi, dengan massa 169.950 pon (77 ton). Tiga misi berawak ke stasiun, yang dilakukan antara tahun 1973 dan 1974 menggunakan Apollo Command/Service Module (CSM) di atas lebih kecil Satur...

 

 

Buchhofen Lambang kebesaranLetak Buchhofen di Deggendorf NegaraJermanNegara bagianBayernWilayahNiederbayernKreisDeggendorfMunicipal assoc.MoosPemerintahan • MayorLudwig Geiger (CSU/FWU)Luas • Total15,71 km2 (607 sq mi)Ketinggian331 m (1,086 ft)Populasi (2013-12-31)[1] • Total881 • Kepadatan0,56/km2 (1,5/sq mi)Zona waktuWET/WMPET (UTC+1/+2)Kode pos94533Kode area telepon09936Pelat kendaraanDEGSitus webwww...

 

 

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada Oktober 2022. Alkaloid 10-hidroksi Lycopodium, yang meliputi 10-hidroksilikopodina, deasetilpanikulina, dan panikulina, adalah serangkaian produk alami yang diisolasi dari tumbuhan paku Chili Lycopodium confertum. Deasetilpanikulina dan panikulina juga dapat diisola...

يفتقر محتوى هذه المقالة إلى الاستشهاد بمصادر. فضلاً، ساهم في تطوير هذه المقالة من خلال إضافة مصادر موثوق بها. أي معلومات غير موثقة يمكن التشكيك بها وإزالتها. (مارس 2022) نهائي كأس الاتحاد الإنجليزي 2021الحدثكأس الاتحاد الإنجليزي 2020–21  تشيلسي ليستر سيتي 0 1 التاريخ15 مايو 2021 ...

 

 

Untuk kegunaan lain, lihat Sukun (disambiguasi). Artikel ini tidak memiliki referensi atau sumber tepercaya sehingga isinya tidak bisa dipastikan. Tolong bantu perbaiki artikel ini dengan menambahkan referensi yang layak. Tulisan tanpa sumber dapat dipertanyakan dan dihapus sewaktu-waktu.Cari sumber: Sukun harakat – berita · surat kabar · buku · cendekiawan · JSTOR Harakat sukun. Sukun (سکون) adalah harakat yang berbentuk bulat layaknya huruf ...

 

 

Penawaran umum perdana merupakan penawaran saham perdana suatu perusahaan yang ditawarkan kepada publik lewat bursa efek. Penawaran umum perdana atau penawaran saham perdana adalah penjualan saham pertama dari suatu perusahaan kepada investor[1] dan masyarakat umum (individu).[2] Penawaran saham perdana biasanya dilakukan oleh Emiten melalui Perusahaan Sekuritas atau Perusahaan Efek yang telah memiliki izin Penjamin Emisi Efek (Underwriter) dari Regulator (di Indonesia pemberi...

kaiju Godzilla dari film 1954 Godzilla, salah satu film Jepang pertama yang menampilkan monster raksasa. Fantasi Media Anime Seni rupa Fantastik Artis Pengarang Komik Film Sastra Majalah Televisi Komik web Pembelajaran genre Fantasi kontemporer Mahkluk-makhluk Fantastik Fantastique Sejarah Horor lovecraftian Sihir Penyihir Ras Tema-tema keagamaan Sumber Tolkien fandom Trope Dunia Kategori Fantasi Penghargaan Subgenre Televisi Trope Portallbs Kaiju (Jepang: 怪獣code: ja is deprecated , Hepbu...

 

 

Routes européennes traversant la Lituanie. Routes magistrales lituaniennes faisant partie du réseau transeuropéen de transport. Cet article fournit une vue d'ensemble de l'infrastructure des transports en Lituanie. Voies ferrées Article principal : Transport ferroviaire en Lituanie. On dénombre au total, en 2001, 1 998 km de voies ferrées, dont : 1 807 km de voies larges (de 1 524 mm), dont 122 km sont électrifiées ; 169 km de voi...

 

 

This article includes a list of references, related reading, or external links, but its sources remain unclear because it lacks inline citations. Please help improve this article by introducing more precise citations. (July 2023) (Learn how and when to remove this template message) International athletics championship event1993 African Championships in AthleticsDates23–27 JuneHost cityDurban, South AfricaVenueKings Park Stadium← Belle Vue Maurel 1992 Yaoundé 1996 → The 9th Afri...

Beato UskupJohann Nepomuk von Tschiderer zu GleifheimUskup Trentos. 1858.GerejaGereja Katolik RomaKeuskupanTrentoTakhtaTrentoPenunjukan19 Desember 1834Awal masa jabatan3 Mei 1835Masa jabatan berakhir3 Desember 1860PendahuluFranz Xavier LuschinPenerusBenedetto Riccabona de ReinchenfelsImamatTahbisan imam27 Juli 1800oleh Emmanuele Maria ThunTahbisan uskup20 Mei 1832oleh Bernhard GaluraPeringkatUskupInformasi pribadiNama lahirJohann Nepomuk von Tschiderer zu GleifheimLahir(1777-04-15)1...

 

 

Questa voce o sezione sugli argomenti nobili britannici e politici britannici non cita le fonti necessarie o quelle presenti sono insufficienti. Puoi migliorare questa voce aggiungendo citazioni da fonti attendibili secondo le linee guida sull'uso delle fonti. Segui i suggerimenti del progetto di riferimento. John Leveson-Gower, I conte di GowerRitratto di John Leveson-Gower eseguito da Jean-Baptiste van Loo nel 1743Conte GowerIn carica1746 –1754 SuccessoreGranville Leveson-Gower...

 

 

UK media investment and advisory group This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Ingenious Media – news · newspapers · books · scholar · JSTOR (May 2...

Charles Alexandre LesueurLesueur tahun 1818, digambar oleh Charles Willson PealeLahir1 Januari 1778Le HavreMeninggal12 Desember 1846(1846-12-12) (umur 68)Le HavreKebangsaanPrancisKarier ilmiahBidangNaturalis Potret Lesueur karya le Géographe Gambar ubur-ubur oleh Lesueur New Harmony, Indiana, tahun 1831, sketsa dari Charles Alexandre Lesueur Charles Alexandre Lesueur (1 Januari 1778 – 12 Desember 1846) adalah seorang naturalis atau ahli Sejarah alam berkewarganegaraan Prancis, yang j...

 

 

Peter's conflict with Simon Magus by Avanzino Nucci, 1620. Simon is on the right, dressed in black. Simon sang Penyihir atau Simon Magus adalah seorang pendiri aliran Gnostik di Samaria yang dikenal dengan nama Simonian.[1] Kata 'magus' dalam namanya berasal dari kata 'magician' yang berarti penyihir.[1] Ia hidup pada awal abad pertama Masehi.[2] Riwayat Hidup Simon Magus dikenal sebagai penyihir pada abad pertama dan pendiri salah satu sekte kekristenan.[2] Ia...

 

 

  لمعانٍ أخرى، طالع أفق (توضيح). أفقمعلومات عامةالأسباب شكل عامل مساهم في objectrise (en) objectset (en) pass (en) لديه عامل المساهمة مكانارتفاعالانكسار في الغلاف الجوي ممثلة بـ مسافةzenith angle (en) مظهر لـ boundary (en) خط تعديل - تعديل مصدري - تعديل ويكي بيانات الأفق البحري ، وعلى أساسه يقاس مواقع...

Brazilian singer and composer Carmen CostaBackground informationBirth nameCarmelita MadriagaBorn(1920-07-05)5 July 1920Trajano de Moraes, RJ, BrazilDied25 April 2007(2007-04-25) (aged 86)Rio de Janeiro, BrazilGenresMPBOccupation(s)Singer, composerYears active1938–2007LabelsOdeon, Columbia, RCA Victor, Star, Discos Copacabana, Som Livre, EMIMusical artist Carmelita Madriaga, known as Carmen Costa, (5 July 1920 – 25 April 2007) was a Brazilian singer and composer.[1] Biography ...

 

 

تحتاج هذه المقالة كاملةً أو أجزاءً منها إلى تدقيق لغوي أو نحوي. فضلًا ساهم في تحسينها من خلال الصيانة اللغوية والنحوية المناسبة. (أبريل 2019)   لمعانٍ أخرى، طالع جين (توضيح). يوضح الشكل العلاقة بين جين وأحد الكروموسومات. ويبدو الكروموسوم مشابه ل X حيث أنه في حالة الانقسام، ...

 

 

L’indice glicemico o IG (dall'inglese Glycemic index, abbreviato in GI) di un alimento indica la velocità con cui aumenta la glicemia in seguito all'assunzione di un quantitativo dell'alimento contenente 50 g di carboidrati: viene ottenuto misurando l'andamento della curva a campana dal momento dell'ingestione a due ore dopo. L'IG di un alimento equivale al rapporto fra la velocità di aumento della glicemia in seguito alla sua ingestione e la velocità misurata dopo l'ingestione della ste...

American choreographer, dancer, and actor Fayard NicholasNicholas in 2000BornFayard Antonio Nicholas(1914-10-20)October 20, 1914Mobile, Alabama, U.S.DiedJanuary 24, 2006(2006-01-24) (aged 91)Los Angeles, California, U.S.Occupations Choreographer dancer actor singer Years active1935–1991Spouse(s)Geraldine Pate (m. 1942; div. 1955)Barbara January (m. 1967; died 1998) Katherine Hopkins ​(m. 2000)​AwardsHollywood Walk of FameWebsitenicholasbrothers.com Fay...

 

 

Law school in St. Louis, Missouri, US For other uses, see Washington School of Law. Washington University School of LawMottoPer Veritatem Vis (Through the Truth you will)Parent schoolWashington University in St. LouisEstablished1867School typePrivate law schoolEndowment$341 millionDeanRussell K. OsgoodLocationSt. Louis, Missouri, U.S.Enrollment718Faculty96 (full-time), 73 (part-time)USNWR ranking16th (tie) (2024)Bar pass rate91.93% (2023 first-time takers)Websitelaw.wustl.eduABA profileABA re...