Share to: share facebook share twitter share wa share telegram print page

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; 2 months 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:

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 Desember 2022. Nagasawa MarinaNama asal長澤茉里奈LahirMari-chuu (まりちゅう)10 Oktober 1995SaitamaPekerjaanPenyanyi, Idola, ModelTahun aktif2015 - SekarangTinggi154 cm (5 ft 1 in) Nagasawa Marina (lahir 8 Oktober 1995) adalah seorang …

Kota SingkawangKotaTranskripsi bahasa daerah • Hanzi山口洋 • Pinyinshān kǒu yáng • Hakkasan khew jong • Dayak SalakoSakawokng • Jawiكوتا سيڠ كاواڠDari atas, kiri ke kanan: Rumah adat Melayu Singkawang, Masjid di Singkawang, Vihara Tri Dharma Bumi Raya, dan Gereja Katolik Santo Fransiskus Asisi. LambangJulukan: Bumi Bertuah Gayung bersambutMotto: Bersatu untuk majuPetaKota SingkawangPetaTampilkan peta Kal…

Miss Grand Indonesia 2020Kharisma Aura, Miss Grand Indonesia 2020.Tanggal21 Juni 2020Tempat Goodrich Suites, Artotel Portofolio, JakartaPembawa acaraHerjuno SyaputraPengisi acaraSarwendah TanPenyiaranMOP Channel (live streaming)Peserta5Tidak tampilAcehSumatera UtaraSumatera BaratRiauKepulauan RiauJambiSumatera SelatanBangka BelitungBengkuluLampungBantenJawa TengahBaliNusa Tenggara BaratKalimantan BaratKalimantan SelatanKalimantan TengahKalimantan TimurKalimantan UtaraSulawesi Sela…

This article is about a radio station. For other uses, see Writ (disambiguation). Radio station in Milwaukee, WisconsinWRIT-FMMilwaukee, WisconsinBroadcast areaGreater MilwaukeeFrequency95.7 MHz (HD Radio)Branding95.7 BIG FMProgrammingFormatClassic hitsAffiliationsPremiere NetworksOwnershipOwneriHeartMedia, Inc.(iHM Licenses, LLC)Sister stationsWISN, WKKV-FM, WMIL-FM, WOKY, WRNWHistoryFirst air dateMay 10, 1961; 62 years ago (1961-05-10)Former call signsWMIL-FM (1961–1971)WMV…

Rabih al-Zubayr ibn Fadl Allah o Rabih Fadlallah (in arabo رابح فضل الله ,رابح الزبير ابن فضل الله‎?), comunemente noto in francese come Rabah (circa 1842 – 22 aprile 1900), è stato un signore della guerra e un trafficante di schiavi sudanese che divenne sultano del Bornu in Africa centrale e creò un potente impero ad est del lago Ciad. Nacque a Halfaya al-Muluk (sobborgo di Khartum) verso il 1842 in una famiglia Hamaj arabo-sudanese del clan…

International basketball event Basketball World CupFormerlyEfes Pilsen İstanbul World Cup (2002-2005) Efes Pilsen World Cup (2006-2010) Spor Toto World Cup (2011-present)SportBasketballFounded2002FounderTBFFirst season2002No. of teams4Country TurkeyContinentFIBA (International)Most recentchampion(s) Serbia (1st title)Most titles Turkey (3 titles)TV partner(s)CNN TürkOfficial websiteBasketball World Cup [dead link] The Basketball World Cup was an international basketball …

Lower house of the French Parliament under the Fifth Republic Assemblée Nationale redirects here. For other uses, see Assemblée Nationale (disambiguation). National Assembly Assemblée nationale16th legislature of the Fifth French RepublicTypeTypeLower house HistoryFounded4 October 1958; 65 years ago (1958-10-04)Preceded byNational Assembly(French Fourth Republic)LeadershipPresidentYaël Braun-Pivet, RE since 28 June 2022 StructureSeats577Political groupsGovernment (…

Photography and film term referring to framing a shot For other uses, see Close up (disambiguation). 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: Close-up – news · newspapers · books · scholar · JSTOR (May 2016) (Learn how and when to remove this message) Mexican actress Dolores del Río in a closeup publici…

Species of vine Passiflora bryonioides Scientific classification Kingdom: Plantae Clade: Tracheophytes Clade: Angiosperms Clade: Eudicots Clade: Rosids Order: Malpighiales Family: Passifloraceae Genus: Passiflora Species: P. bryonioides Binomial name Passiflora bryonioidesKunth. Synonyms[1][2] Decaloba bryonioides (Kunth) M. Roem. Passiflora bryonifolia Kunth ex Spreng. Passiflora inamoena A. Gray Passiflora karsteniana A. Dietr. Passiflora serrata L. Passiflora bryonioides,…

Mecklenburg yang terbagi menjadi Mecklenburg-Schwerin dan Mecklenburg-Strelitz dari tahun 1866 hingga 1934. Mecklenburg (pelafalan dalam bahasa Jerman: [ˈmeːklənbʊʁk], Jerman Hilir: Mękelborg) adalah wilayah historis di Jerman utara yang mencakup bagian barat negara bagian Mecklenburg-Vorpommern. Kota-kota besar di wilayah ini adalah Rostock, Schwerin, Neubrandenburg, Wismar dan Güstrow. Nama Mecklenburg berasal dari sebuah istana yang bernama Mikilenburg (Sachsen Lama: istana bes…

Gambar warna semu Landsat 7 di Sydney dan suburban sekitarnya. Gambar ini memperlihatkan bagaimana bangunan (merah jambu) telah dibatasi oleh Royal National Park di selatan, Ku-ring-gai Chase National Park di utara, dan Blue Mountains National Park di barat (sebuah lingkaran yang mengikuti fitur geologis bernama Lapstone Monocline, membelah Blue Mountains dari Cumberland Plain). Letak suburban utama Sydney Berikut adalah daftar lengkap suburban dan permukiman di wilayah Sydney raya berdasarkan u…

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 November 2022. Anjali SudAnjali Sud di konferensi Collision pada 2018Lahir13 Agustus 1983 (umur 40)Detroit, MichiganKebangsaanAmerika SerikatPendidikanPhillips Andover AcademyWharton School of the University of Pennsylvania Harvard Business SchoolPekerjaanCEO Vime…

Eparki DohukKatolik Roma (Kaldea) LokasiProvinsi gerejawiBabiloniaMetropolitPatriarkat Babilonia (Kaldea)StatistikPopulasi- Total(per 2013)3.500InformasiDenominasiKatolik Roma (Kaldea)RitusRitus Siria TimurPendirian10 Juni 2013 (2013-06-10) (Penggabungan Keuskupan Amadiyah dan Keuskupan Zaku)KatedralKatedral Mar Aeth Alaha, DuhokKepemimpinan kiniPausFransiskusUskupRabban al Qas Eparki Dohuk adalah sebuah keuskupan Gereja Kaldea pada paruh kedua abad ke-19 dan sebagian besar abad k…

Cet article est une ébauche concernant un aéroport et la république démocratique du Congo. Vous pouvez partager vos connaissances en l’améliorant (comment ?) selon les recommandations des projets correspondants. Pour les articles homonymes, voir Aéroport de Kinshasa, Ndjili (homonymie) et FIH (homonymie). Aéroport international de Ndjili Vue aérienne de l'aéroport. Localisation Pays République démocratique du Congo Ville Kinshasa Coordonnées 4° 22′ 54″ sud,…

土库曼斯坦总统土库曼斯坦国徽土库曼斯坦总统旗現任谢尔达尔·别尔德穆哈梅多夫自2022年3月19日官邸阿什哈巴德总统府(Oguzkhan Presidential Palace)機關所在地阿什哈巴德任命者直接选举任期7年,可连选连任首任萨帕尔穆拉特·尼亚佐夫设立1991年10月27日 土库曼斯坦土库曼斯坦政府与政治 国家政府 土库曼斯坦宪法 国旗 国徽 国歌 立法機關(英语:National Council of Turkmenistan) 土…

GOG.com URL www.gog.com Коммерческий Да Тип сайта цифровая дистрибуция Регистрация Да Язык (-и) английский, французский, немецкий, русский Язык программирования PHP Владелец CD Projekt Начало работы 2008 год Текущий статус открыт Страна  Кипр  Медиафайлы на Викискладе Логотип до 2014 GO…

Pedro I de Serbia Rey de SerbiaRey de los Serbios, Croatas y Eslovenos 1904 Rey de Serbia 11 de junio de 1903 - 1 de diciembre de 1918Predecesor Alejandro I de SerbiaSucesor Él mismo como Rey de los Serbios, Croatas y Eslovenos Rey de los Serbios, Croatas y Eslovenos 1 de diciembre de 1918 - 16 de agosto de 1921Predecesor Nuevo títuloSucesor Alejandro I de YugoslaviaInformación personalNombre completo Petar Aleksandrović KarađorđevićCoronación 21 de septiembre de 1904Nacimiento 11 de jul…

Lista das 305 comunas do departamento francês de Saboia.[1] Comunas (CAC) Agglomeration community of the Chambéry Métropole, criada em 2000. INSEE Postal Comuna 73001 73610 Aiguebelette-le-Lac 73002 73220 Aiguebelle 73003 73260 Aigueblanche 73004 73340 Aillon-le-Jeune 73005 73340 Aillon-le-Vieux 73006 73210 Aime 73007 73220 Aiton 73008 73100 Aix-les-Bains 73010 73410 Albens 73011 73200 Albertville 73012 73300 Albiez-le-Jeune 73013 73300 Albiez-Montrond 73014 73200 Allondaz 73015 73550 L…

Karl Popper (1980) Sir Karl Raimund Popper CH FBA FRS (* 28. Juli 1902 in Wien; † 17. September 1994 in London) war ein österreichisch-britischer Philosoph, der mit seinen Arbeiten zur Erkenntnis- und Wissenschaftstheorie, zur Sozial- und Geschichtsphilosophie sowie zur politischen Philosophie den Kritischen Rationalismus begründete. Inhaltsverzeichnis 1 Überblick 2 Leben 2.1 Kindheit und Ausbildung 2.2 Studium und Beruf 2.3 Der Wiener Kreis 2.4 Emigration nach Neuseeland und England 2.5 Na…

Peta lokasi Munisipalitas Fredericia Munisipalitas Fredericia adalah munisipalitas (Denmark: kommune) di Region Syddanmark di Denmark. Munisipalitas Fredericia memiliki luas sebesar 134.46 km² dan memiliki populasi sebesar 49.463 jiwa. Referensi Municipal statistics: NetBorger Kommunefakta Diarsipkan 2007-08-12 di Wayback Machine., delivered from KMD aka Kommunedata (Municipal Data) Municipal merges and neighbors: Eniro new municipalities map Diarsipkan 2007-10-11 di Wayback Machine. lbsPe…

Index: pl ar de en es fr it arz nl ja pt ceb sv uk vi war zh ru af ast az bg zh-min-nan bn be ca cs cy da et el eo eu fa gl ko hi hr id he ka la lv lt hu mk ms min no nn ce uz kk ro simple sk sl sr sh fi ta tt th tg azb tr ur zh-yue hy my ace als am an hyw ban bjn map-bms ba be-tarask bcl bpy bar bs br cv nv eml hif fo fy ga gd gu hak ha hsb io ig ilo ia ie os is jv kn ht ku ckb ky mrj lb lij li lmo mai mg ml zh-classical mr xmf mzn cdo mn nap new ne frr oc mhr or as pa pnb ps pms nds crh qu sa sah sco sq scn si sd szl su sw tl shn te bug vec vo wa wuu yi yo diq bat-smg zu lad kbd ang smn ab roa-rup frp arc gn av ay bh bi bo bxr cbk-zam co za dag ary se pdc dv dsb myv ext fur gv gag inh ki glk gan guw xal haw rw kbp pam csb kw km kv koi kg gom ks gcr lo lbe ltg lez nia ln jbo lg mt mi tw mwl mdf mnw nqo fj nah na nds-nl nrm nov om pi pag pap pfl pcd krc kaa ksh rm rue sm sat sc trv stq nso sn cu so srn kab roa-tara tet tpi to chr tum tk tyv udm ug vep fiu-vro vls wo xh zea ty ak bm ch ny ee ff got iu ik kl mad cr pih ami pwn pnt dz rmy rn sg st tn ss ti din chy ts kcg ve 
Prefix: a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9 
Kembali kehalaman sebelumnya