Processing
xuanweiace
一个热爱算法竞赛的弱校ACMer路过。青大本,浙大硕,方向后端开发,菜鸡一枚,奋斗ing...
展开
-
processing 加载标志 动态绘制
Multiball ball1;int j = 0,R = 120;int ballNums = 20;int[] colR = new int[ballNums];int[] colG = new int[ballNums];int[] colB = new int[ballNums];int cnt = 0;//int colR[50],colG[50],colB[50];void setup(){ size(1024,1024); background(100); no...原创 2021-06-03 14:12:46 · 262 阅读 · 0 评论 -
Processing 闪烁的圆 动画效果
打开Processing,Ctrl+R运行.运行效果 :class myRect { float x,y; float r,a;//banjing secai bianhua myRect(float x, float y, float r,float a) { this.x = x; this.y = y; this.r = r; this.a = a; } void chang(){ this.a += 0.02;...原创 2020-10-28 10:40:37 · 3073 阅读 · 0 评论 -
【Processing学习】 - 公交车马路动态绘制
效果图:汽车动态移动,云彩动态移动,小草没有找到矢量图,百度了一张先用着.float q = 0;int s = 0;int add = 1;PImage p1;void setup() { size(800, 400); background(0, 0, 255); rect(300, 150, 300, 140, 30); //sun fill(255, 255, 0); circle(800, 0, 40); ////first //cir.原创 2020-09-17 14:30:57 · 1140 阅读 · 0 评论
分享