For faster navigation, this Iframe is preloading the Wikiwand page for Processing.

Processing

Processing
Processing logo
编程范型面向对象
設計者Casey Reas英语Casey Reas, Ben Fry英语Ben Fry
发行时间2001年,​23年前​(2001
当前版本
  • 4.3 (2023年7月26日;穩定版本)[1]
編輯維基數據鏈接
許可證GPL, LGPL
文件扩展名.pde
網站processing.org

Processing是一种开源编程语言,专门为电子艺术和视觉交互设计而创建,其目的是通过可视化的方式辅助编程教学,并在此基础之上表达数字创意。Processing也指Processing语言的集成开发环境(IDE)。2001年,MIT媒体实验室的 Casey Reas 和 Benjamin Fry 发起了此计划。其固定目标之一便是作为一个有效的工具,通过激励性的可视化反馈帮助非程序员进行编程的入门学习。Processing语言建立在Java语言的基础之上,但使用简化的语法和图形编程模型。此外也有以Processing為基礎,但使用Javascript做框架的P5.js。[3]

例子

最简单的"Hello World"程序的Processing可能版本是:

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

由于Processing的面向视觉本质,下面的代码是这个语言的感观的更高的例子:

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

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

參見

外部链接

参考

  1. ^ Processing is open source and is available for macOS, Windows, and Linux.. 2023年7月26日 [2023年8月15日]. 
  2. ^ Download Processing.org. processing.org. [2022-07-07]. (原始内容存档于2019-07-15). 
  3. ^ 存档副本. [2017-09-06]. (原始内容存档于2017-08-21). ,p5.js学习札记

{{bottomLinkPreText}} {{bottomLinkText}}
Processing
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?