Processing
每个软件设计的都不简单,竟然还包括 android javascript 模式
找到了电脑中的 processing 的资料了,很全面,就在安装文件里就有。
我已经看了大部分的内容,用到的时候再看吧
quad triangle
四边形 quad(x1,y1, x2,y2, x3,y3, x4,y4) triangle(x1,y1, x2,y2, x3,y3)
ellipse
椭圆 rect ellipse( x , y , width , height ) (x,y) 位置 (width,height) 宽高
camera
camera() camera( eyeX , eyeY , eyeZ ,
centerX , centerY , centerZ , upX , upY , upZ )
屏幕中心为 (0.0,0.0,0.0) camera( mouseX-320.0,mouseY-180.0,312 ,
0.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.0 )