![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Processing
FrankJingle
这个作者很懒,什么都没留下…
展开
-
【Processing入门】第二章:使用Processing
void setup() { rect(20,20,20,20); line(0,40,100,50); println("I feel good\n"); boolean bflag = false;}void draw() { background(125); if(mouseXheight/2) { fill(255,255,0); rect(0,原创 2014-10-23 20:13:10 · 897 阅读 · 0 评论 -
【Processing入门】Processing第三章:绘图中
绘制贝塞尔曲线原创 2014-10-23 21:03:23 · 4260 阅读 · 1 评论 -
【Processing入门】第三章:绘图上
size(800,600);point(100,100);rectMode(CENTER);fill(255,0,0);rect(500,500,120,140);fill(0,255,0);ellipse(420,420,100,20);fill(0,0,255);arc(300,300,400,100,radians(100),radians(200));fill(25原创 2014-10-23 20:33:26 · 633 阅读 · 0 评论 -
【Processing入门】第九章:视频音频
/** * Loop. * * Shows how to load and play a QuickTime movie file. * */import processing.video.*;Movie movie;void setup() { size(640, 360); background(0); // Load and play the vid原创 2014-10-25 20:38:25 · 4068 阅读 · 0 评论 -
【Processing入门】第六七章:函数和数组
函数和数组的使用案例Eye[] hiEye = new Eye[100];void setup(){ size(300,300); smooth(); panda(100,100,2); panda(200,200,1.3); }void panda(int x,int y,float s){ pushMatrix(); translate(x,y)原创 2014-10-24 22:08:02 · 2558 阅读 · 0 评论 -
【Processing入门】第五章:动画
1.坐标的转移,旋转和缩放原创 2014-10-24 20:45:20 · 2600 阅读 · 0 评论 -
【Processing入门】第十章:3D
1.3D图形void setup(){ size(500,500,P3D);}void draw(){ background(0); lights(); noStroke(); translate(250,400,-500); rotateY(PI/6); box(500,100,500); translate(0,150,0); box(500,原创 2014-10-26 13:44:09 · 771 阅读 · 0 评论