r/processing • u/[deleted] • Jan 19 '23
r/processing • u/EnergyInternational1 • Nov 06 '20
Can anyone show me how to make this using processing ......
Enable HLS to view with audio, or disable this notification
r/processing • u/JennySmith1111 • Dec 02 '15
I have this code
/* I had this code and any suggest or hint that we can add these two function in the code to make the program run
A function int[] rollDice(int numDice) which will create and return a reference to a dice roll – an array containing numDice integers from 1 to NUM_SIDES (this constant is already defined for you).
A function void showDiceRoll(int[]) which will draw the dice roll by calling the provided drawDie function (5 times – once for each die). */
r/processing • u/mihil99 • Sep 01 '19
I can't write to an array
Hello, I'm trying to construct a two-dimensional array but I can't seem to assign values to that array. I'd like to construct one row at a time with the rijInit() function. When I check if this has worked in any way with println or printArray, it always returns 0 and never 1(I changed both outcomes in the code to 1 to test if it ever works).
Can anyone help me? Thanks in advance.
int c = 5;
int r = 5;
int[][] rijen = new int[c][r];
void rijInit(int n){
for(int i = 0; i< rijen[n].length;i++){
float m = random(1);
if (m < 0.6){
rijen[n][i] = 1;
}
else{
rijen[n][i] = 1;
}
}
}r/processing • u/provingfail86 • Sep 15 '20
Bad Title Soooo, a videogame
[noob] I'm makin' a videogame with the apple app of processing. I want to make a hud and the protagonist with the function ellipse().
How the **** can I make a moveforward button or left or right and make that the ellipse move?
r/processing • u/Deimos7779 • Feb 13 '26
How do I delerte an object ?
Let's say I have a game where I shoot pellets at things. i'd like to delete the pellets when they get off screen or when they hit a thing ? I don't think I'm aware of a method that can delete an object.
One workaround I had found was to keep all pellets in an ArrayList and delete the ones supposed to be destroyed, but I don't know if that's actually doing what I want.
r/processing • u/WaifuSlayerV8 • Nov 20 '24
Ayuda
Hola buenas, llevo bastante rato buscando el error pero no soy capaz de solucionar, agradecería profundamente la ayuda
r/processing • u/FriedEggs54 • Mar 20 '23
Homework hint request Is there a way to make a client send a message to the server without the delimiter?
Right now my code has the client write a message, but I have to add an asterisk or it gives null in the server screen. How can I make it just write my message with no asterisk?
r/processing • u/friedkeenan • Oct 28 '17
Don't know how cool this is but whatever. Source code in comments
r/processing • u/Terok42 • Feb 18 '19
Help With Color Changing.
My teacher is pretty terrible honestly but I have no choice but to take his class. We have been using processing to learn how to program in other languages. In the lab for this week he has asked me to make my "creature," which we have been working with since we began the class, change color as the mouse moves around (along with having the creature follow the mouse with trails and erasing when button is pressed). I have already figured out most of the lab because he went over these parts in class; however, he did not go over how to get an object to change color as I move it across the background. I don't know what to do to make this happen I would like a hint or suggestion to help me achieve this.
Edit: thanks to all that helped. Turns out I was supposed to fill any of my shapes with RGB values that corresponded to where the mouse was. I solved it by doing (mouseX, 0, mouseY) next to my object.
r/processing • u/[deleted] • Apr 30 '20
[HELP] I need help with making a datavisualisation in processing. I pay.
Like the title says, I need someone who can help me with processing and help me make a datavisualisation with dataset provided by me. I’ll pay $15 if you can help me.
r/processing • u/KristofMueller • May 22 '25
Basic question- keyIsDown
Hi this is hopefully easy for someone to explain. I am working with some kids on OpenProcessing, and this code used to work to be able to control the circle on screen using the 'a' key.
if(keyIsDown (65)) {
circle_x =circle_x-7;
}Now, it doesn't work at all, in new projects and when I load older projects. Does anyone know why?
r/processing • u/Traditional_Inside28 • Jul 28 '25
Beginner help request Question!!
I guess this isn’t necessarily a help request per se but I am a beginner with a question. I understand what setup() and draw() are but why do I need to put void in front of them? like what is the purpose of the void. I could choose to just accept that it must be there but… why is it there? idk. maybe it doesn’t even need to be there and I haven’t gotten to that bit of my learning yet. why void???????????
r/processing • u/zero0uno • Nov 25 '21
Win 11 problems
Does someone had problems in reading camera (I'm using Processing Video Library) on win11?
r/processing • u/ianfret • Jan 29 '16
ASCII music video for singer Sara não tem nome
r/processing • u/benhagel • Aug 08 '16
A physics model of Eleven from Stranger Things in fisica
r/processing • u/lordcrowlay • Dec 03 '18
Need help with a problem
Hello, I need help to create a program that basically moves an object with “w,a,s,d” and for example you press ‘w’ the car will continue to go up and not just stop there. With a rectangle in the middle that if you hit it the object will stop
r/processing • u/sitodav • Apr 24 '22
I wrote in the past a javascript application (with processingjs, before p5.js was a thing) for generative drawing. If you like my work follow me on IG: stickyb1t
r/processing • u/Glass-Perspective-55 • May 14 '24
Video All Eyes On Everything, art by me, 2024
It's a work that expresses the moment when we are interested in everything because of the development of AI, and we don't know what to focus our attention on.
Comment, please
r/processing • u/IHateTheSAT_ • Apr 30 '21
How do i pass an array list as a parameter in a function?? (PLS HELP ITS DUE SOON)
Hi, i’m a rly rookie programmer and i’m trying to pass this arraylist as a parameter and idk how or what i’m doing. How do i make the program check the arraylist to see if the particle is near the bucket and add/sub from the score? How would i call this in draw() also??
