-
-
3
-
531方向是图像加密,艺术化处理这个方向!! 东西比较复杂,要有耐心。 加我q 9058857061204在上海且对processing感兴趣的同学有没有啊,可以线下一起交流学习心得一起做些好玩的东西26最近有很多人表示不能从官网下载最新的processing软件包。刚才我把最新的2.1版 (27 October 2013)放到了我的百度盘里,大家可以从下面的链接下载: Windows 32: http://pan.baidu.com/s/15naPk Windows 64: http://pan.baidu.com/s/1Ea4Km1代码在这里 import ddf.minim.*; Minim minim; AudioPlayer player; void loop(){ size(512,200,P3D); minim = new Minim(this); player = minim.loadFile("George 姜慧仁 - Something.mp3"); } import processing.sound.*; Amplitude amp; int num = 5000;//点数 float mts = PI/600;//最大theta速度 float r = 100;//圆的半径 int rdtr = 120;//rdt的范围 int rdu = 5;//圆的半径 //********** PVector v[]=new PVector[num]; boolean mv = true; boolean mo = true; color c[] = new color[num];//每个点的颜色 float theta[] = new float[num];//每个点的原始角度 float mtheta[] = new fl116在原来这个代码基础上做一些改变改动,更丰富有趣好看些 void setup(){ size(400,400); stroke(255); strokeWeight(2); } void draw(){ background(0); for (int i=10;i>=0;i--){ drawFiveCircles(i*10,20-i,255-i*20);// 调用这个函数10遍,每次是依次递增的s和依次递减的半径 } } void drawFiveCircles(int s, int r, int b) {// 距离,直径,亮度 noStroke(); fill(b); circle(mouseX,mouseY,r); circle(mouseX+s,mouseY+s,r); circle(mouseX-s,mouseY+s,r); circle(mouseX+s,mouseY-s,r); circle(mouseX-s,mouseY-s,r); }2刚在官网下载了processing 4,之后下载了python mode,但是运行示例没有反应怎么回事?0另外,有人用过processing3版本下的Android模式吗? 我原来用的还行,只是第一次编译慢些,后面只要不退出,修改后再编译就没有那么慢了。 最近再编个小程序,只用到键盘和显示,居然每次修改都要30分钟,无语了! 有高手知道如何改善吗?0请问有人安装过 processing 版本4b1吗?Android模式怎么添加?无法自动安装。14有人有问题么, 有问题可以找我。 虽然我也有可能不会,但是,,,,, 对吧142rt 想把写好的东西在ipad上运行、展示1let p = []; let n; let img; function setup() { createCanvas(600, 750); background(255); img = loadImage('pintura.png'); n = 500; for(let i = 0; i < n; i++) { p.push(new Pincel()); } } function draw() { for(let i = 0; i < n; i++) { p[i].display(); p[i].move(); p[i].checkEdges(); } } class Pincel { constructor() { this.pos = createVector(width/2, height/2); this.vel = createVector(); this.acel = createVector(); } move() { this.acel = p5.Vector.random2D(); this.acel.mult(0.02); this.vel.add(this.acel); this.vel.limit(5); this.pos.add(this.vel); } display() { let c = img.get(this.pos1不是简单静态图片加上粒子,是两个结合起来就比如粒子逐渐形成图片25有大神可以用processing 做出类似节奏大师那样的小游戏吗 屏幕落下的点相对应固定的健72怎么设置一个button能够重置全部内容,我的好多function都设置在function setup() 之前,现在挺难弄的123var yoff = 0.0 function setup() { createCanvas(800,500); background(255); } function draw() { stroke(255, 20); fill(random(255),random(255),random(255),1); beginShape(); var xoff= 0; for (var x = 0; x <= width; x += 10) { // Map noise value (between 0 and 1) to y-value of canvas var y = map(noise(xoff, yoff), 0, 1, 100, 500); // Set the vertex vertex(x, y); xoff += 0.05; } //Speed of moving waves yoff += 0.008; vertex(width, height); vertex(0, height); endShape(CLOSE); } function mousePressed() { setup(); } 就是上面这一串,可以转成java吗😭😭求求各位大佬,非常感谢70void update() { vel.add(acc); vel.limit(4.0); pos.add(vel); acc.mult(0.0); } void render() { float r = random(255); float g = random(255); float b = random(255); rectMode(CENTER); p.beginDraw(); p.beginShape(); p.fill(200, r, g, b); p.stroke(255); p.strokeWeight(1); //p.fill(200, 0, 0); //p.noStroke(); p.vertex(79, 47); p.bezierVertex(103, 12, 117, 47, 84, 77); p.bezierVertex(51, 72, 41, 7, 79, 48); p.endShape(); p.endDraw(); ang += incr; pushMatrix(); translate(pos.x, pos.y); rotate(degrees(ang)); //ellipse(0, 0, mass*25, mass*25); image(p, 0, 0, 65*mass, 110*mass); popMatrix(); } void addFor20我的笔记:https://www.wolai.com/childhoodandy/7hqgxxawDAwo8Fhg43nsZC 我对processing充满了浓厚的兴趣,喜欢钻研,也会后期分享一些代码的实现思路,欢迎大家关注我的公众号、视频号、bilibili。感谢老铁们!1313用arduino的超声波传感器来控制processing的像素,该怎么操作呢,有偿0要求中文,价格面议1processing可以做动画吗?320求各位大佬做个小程序 arduino加processing QQ:9473992960【每天十分钟教你学python3D艺术编程】第5课 | 一下子立体起来了!_哔哩哔哩 (゜-゜)つロ 干杯~-bilibili转自:https://www.bilibili.com/video/BV1gX4y1G7xT?share_source=tieba_w0