r/processing • u/tsoule88 • Jan 01 '24
r/processing • u/caramelCoffee1 • Jan 02 '24
Genuary 2024 particles, lots of them.
learned to make particle system from nature of code book. Let me know where I should go from here.
#genuary #genuary2024 #genuary1
r/processing • u/Cool-Incident1652 • Jan 01 '24
2023 = 36 code-based remakes
This year, I used Processing + p5.js to complete 36 code-based remakes of objects from graphic design history in an effort to promote creative coding courses at design schools. See them all (+ more!) on Instagram.
Also, a quick reminder that if you are an educator who teaches creative coding to visual design students, I am happy to give a free online lecture. More info on my site #sharingiscaring
r/processing • u/thousandsongs • Jan 01 '24
p5js Genuary 2024 - Day 1 - Particles, Connected
r/processing • u/SynthAesthetes • Jan 01 '24
Auld Lang Syne - Synth Version - Happy New Year!
r/processing • u/MandyBrigwell • Dec 31 '23
Genuary 2024: It begins!
Genuary is upon us!
Might I suggest the first Genuary-related post each day is regarded as the place for everyone to post their Genuary-related bits and bobs? I won't be strictly enforcing this unless the sub-reddit explodes into an unmanageable frenzy of generative art, but in the spirit of self-organising systems, I'm sure we can all keep the place nicely organised and tidy.
Prompts are here, and the 1st of the month is “Particles, lots of them.”—
Dan Shiffman demonstrates a simple particle system…:
https://processing.org/examples/simpleparticlesystem.html
…and a slightly more complicated particle system:
https://processing.org/examples/multipleparticlesystems.html
Fly, my pretties!
r/processing • u/IFGarrett • Dec 29 '23
Beginner help request Super new to coding. Behold, I have mastered processing!
For real though I am new. Any tips or helpful suggestions would be appreciated.
r/processing • u/IFGarrett • Dec 30 '23
Beginner help request Had anyone ever used this site to help learn code. Looking for something that gives lessons and is either free or cheap.
r/processing • u/IFGarrett • Dec 29 '23
Beginner help request I am completely lost
I am brand new to any type if coding. I am watching a long tutorial on how things work and some things I understand and some I don't. Is this normal? I want to grasp it and retain the information but it's a ton of information.
r/processing • u/EccentricStylist • Dec 28 '23
Includes example code Random Mandalas & Fractals I designed with processing Through the Year :)
r/processing • u/IFGarrett • Dec 27 '23
My first ever line of code! It's Gir!
It's not much but it's a start!
r/processing • u/SUBLOLLIPOP • Dec 27 '23
Beginner help request How do I shuffle the contents of an ArrayList?
The ArrayList contains instances of a class, so no switching to IntArray and using its shuffle method :( I know Java has Collections.shuffle(), but that doesn't work for me in processing. Any help is greatly appreciated
r/processing • u/MGDSStudio • Dec 26 '23
I have released my Processing game on itch.io and gamejolt.com (desktop version). Free demo version is available on both platforms
Link to gamejolt.com (only demo version) and to itch.io (full game and demo version are here)

r/processing • u/EccentricStylist • Dec 25 '23
Includes example code Merry Christmas to the Processing Community!
r/processing • u/Low_Evening_4719 • Dec 19 '23
Implementing Collision
Hi guys, I currently have a script of code and I've been attempting to implement collision, I've tried to use some code but it keeps saying one of my variables doesnt exist. Could use some help on this please :)
class Ball {
float x;
float y;
float speed;
float w;
int id;
Ball(float tempX, float tempY, float tempW) {
x = tempX;
y = tempY;
w = tempW;
speed = 0;
}
void gravity() {
// Add gravity to speed
speed = speed + gravity;
}
void move() {
// Add speed to y location
y = y + speed;
// If square reaches the bottom
// Reverse speed
if (y > height) {
speed = speed * -0.95;
y = height;
}
}
void checkBoundaryCollision() {
if (x > width-w) {
x = width-w;
speed x = -1;
}
else if (x < w) {
x = w;
speed x = -1;
}
else if (y > height-w) {
y = height-w;
speed y = -1;
}
else if (y < w) {
y = w;
speed y = -1;
}
}
r/processing • u/Fun-Adhesiveness-970 • Dec 19 '23
Beginner help request Need help with shapes
I have 2 rotating shapes but the triangle seems to 'cut into' the square. Can anyone tell me how to stop this from happening?Here is my code:
float x;
float y;
float angle = 1;
void setup() {
size(800, 800, P3D);
}
void draw() {
background(0);
float wave = sin(radians(frameCount));
//SQUARE
push();
fill(0);
stroke(255);
strokeWeight(2);
translate(width/2, height/2);
rectMode(CENTER);
rotateX(radians(angle));
rotateZ(radians(angle));
rect(0 + wave, 0 + wave, 500, 500);
pop();
//TRIANGLE
fill(255);
stroke(255);
strokeWeight(2);
rectMode(CENTER);
translate(width/2, height/2);
//rotateX(radians(angle));
rotateY(radians(angle));
//rotateZ(radians(angle));
triangle(0, -300, -300, 200, 300, 200);
angle += 1;
}
r/processing • u/SaulNiepce • Dec 19 '23
Have a problem to make (about ARRAY)
Hi there I have some problem to complete my code.
But something mysterious is I have an experience that I completed to my code.

After six months, there was no change. Except my code does not work.
Hope you gave me some solution to me.
I think the mainly problem is Processing cannot lead my file, I already have a library, there is no problem I think...
import processing.video.*;
Movie myMovie;
int blocks = 20; // blocks
float mov_pointer = 0.0;
float inc = 0.0;
int i = 0;
float mov_dur = 0.0;
void setup() {
size(1920, 1080);
myMovie = new Movie(this, "me.mp4");
myMovie.loop();
mov_dur = myMovie.duration();
inc = mov_dur/(blocks*blocks); // 20by20 tiles
println(mov_dur);
myMovie.pause();
}
void draw() {
if (mov_pointer>mov_dur) { // it ends when movie ends
print("\n The End");
save("visualization.jpg");
myMovie.stop();
noLoop();
}
myMovie.play();
myMovie.jump(mov_pointer);
if (myMovie.available()) {
myMovie.read();
i++;
image(myMovie, (i%blocks)*(width/blocks), (i/blocks)*(height/blocks), width/blocks, height/blocks);
mov_pointer=mov_pointer+inc;
} // simply divide screen into 200by200 = 40000 tiles and put each frame into each tile
myMovie.pause();
}

r/processing • u/kanapapiki_a_oi • Dec 19 '23
Trying to recreate this process
Hi I came across this portrait years ago by this person, Jeff Clark, he did of Obama. He referenced processing. He made a tool built with processing, and he augmented it to generate a desired out come. I wanted to see, does anyone know how or have any example scripts how he did this?
I want to do something similar with my own source images and text, as well as potentially re-create this in a 3D app like Cinema 4D or Blender. I've seeing circle packing, but that's not quite close to what this guy did. The packing that's going on with the texts is really nice, and it looks like he's using gray levels to drive the scale of the type too.
Any ideas?

r/processing • u/EccentricStylist • Dec 18 '23
Includes example code More Moving Mandala Stuff :) (Got inspired by some winter daytime colors!)
r/processing • u/LuckyDots- • Dec 17 '23
Processing certificate expired while trying to access site
Anyone shed some light on whats going on with processing.org right now?
r/processing • u/Low_Evening_4719 • Dec 17 '23
Improving my code with collision
I have a class called ball in another script but I was wanting to create it so that the balls collided, and kind of bounced off each other. If anyone could help improve my code that'd really assist me!
Ball[] balls = new Ball[1]; // We start with an array with just one element.
float gravity = 0.1;
void setup() {
size(480, 270);
// Initialize ball index 0
balls[0] = new Ball(50, 0, 24);
}
void draw() {
background(255);
// Whatever the length of that array,
// update and display all of the objects.
for (int i = 0; i < balls.length; i++ ) {
balls[i].gravity();
balls[i].move();
balls[i].display();
}
}
void keyPressed(){
if(key=='1'){
// A new ball object
Ball b = new Ball(random(480), random(270), 24); // Make a new object at random.
balls = (Ball[]) append(balls, b);
}
}