Processing is an open source programming language and environment for people who want to create images, animations, and interactions. Initially developed to serve as a software sketchbook and to teach fundamentals of computer programming within a visual context, Processing also has evolved into a tool for generating finished professional work. Today, there are tens of thousands of students, artists, designers, researchers, and hobbyists who use Processing for learning, prototyping, and production.

processing提供了教学可视化的编程语言及运行环境。通过编写processing程序,教师可以将复杂的物理、化学、数学原理形象的展示给学生。比如绘制各种曲线图,波线,粒子,绘制分子结构,当然在生理卫生课上还可以绘制一群小蝌蚪在游泳等动态的图形。其功能有点类似于matlab,当然没matlab那么强大了。

我为什么要开始学习这个东西呢,是因为现在有一个基于它的js框架processingjs,通过该框架可以直接将processing程序转化成javascript,然后在HTML5中的canvas中画出来。够nb,真的是没什么能阻止程序员将一切搬到web上了。哦,对了,这个js框架的作者就是John Resig,不知道他是谁?他就是那个发明了jQuery的人。

先看几幅图。

      这个是由4个波线组合而成的一条曲线。

      这个展示的是组合物体

     标出一幅图中某一区域。

本篇博客一个processingjs的介绍,之后希望自己能坚持把每天学习的东西简要记录一下。

链接:

processing主页,里面有许多示例,文档等等 http://processing.org/learning/

processingjs主页,http://processingjs.org,貌似今天打不开?

这两个网站有我们需要的。

posted on 2011-09-20 22:27  chenmouren  阅读(2838)  评论(0编辑  收藏  举报