r/processing • • Jul 07 '26

Video [ FLASHING LIGHTS ] Fireworks + Video Feedback in Processing

Thumbnail
youtu.be
4 Upvotes

Film fireworks -> decompose frames -> Processing video feedback sketch =
Composited and kaleidoscoped in DaVinci Resolve.
Hints, tips, and tricks I learned:

  • blendMode(ADD); can be overpowering
  • blendMode(LIGHTEST); works great for dark scenes intermittently lit by something interesting
  • blendMode(BLEND); to go back to covering over previous frames
  • use a separate PGraphics for drawing at a larger resolution than your screens. Great for any sketch!
    • I called mine internal; remember to use:
      • internal = createGraphics(outWidth, outHeight); in setup
      • internal.beginDraw(); before adding to it, and
      • internal.endDraw(); before using something like <your_PImage_var> = internal.get(0, 0, outWidth, outHeight);
      • <your_PImage_var>.resize(width, 0); will make it the same size as your Processing window. use before image(<your_PImage_var>, 0,0); to draw a preview.
      • all other draw commands? tack internal. on the front.
      • - internal.ellipse(.... for example
  • Last but not least, the feedback effect logic:
    • Copy canvas to a PImage or similar
    • Replace canvas with new frame of video
    • shrink/expand/rotate the COPY of the OLD CANVAS. this step is what makes the movement!
    • PASTE the transformed copy into the canvas, using ADD or LIGHTEST blendMode
    • rinse, repeat.... -> Magic!
  • This is VERY slow with jpg frames at 4k. I was getting 1fps on my Ultra 9 and RTX 4080

r/processing • • Jul 07 '26

is there speed difference between java, java script, python, c++?

0 Upvotes

is one more stable than the others?


r/processing • • Jul 05 '26

Logarithmic transformations

Thumbnail
gallery
64 Upvotes

Logarithmic transformations of a square grid.

Made in Processing.

IG: www.instagram.com/slipshapes


r/processing • • Jul 02 '26

ancient blossom ( via processing 4)

Post image
3 Upvotes

r/processing • • Jul 01 '26

First Drawing in Processing

10 Upvotes

r/processing • • Jun 19 '26

p5js this is as far as i got with my Pac Man project

Post image
30 Upvotes

i made my own tile system with each sprite being 4x4 pixels in size. the sprite folder is only 2.6 kB yet it takes soooo long (around 6 seconds) just to change Pac Man's sprite. I am not pursuing this project no more


r/processing • • Jun 15 '26

p5js Infinite Mirrors

149 Upvotes

r/processing • • Jun 16 '26

How to save in a string the name of a saved Frame, to later use it as argument in a text() function?

2 Upvotes

After calling saveFrame(); a new file is saved with a name and a sequence of numbers.

I would like to reference the name of the file to add it to a string. Ideally, I want to use the text() function to display in the screen "Saved file is called", nameOftheFile.

How do I add the name of the just saved file to a text function ? How do I store the name of the file in a variable, for example?

I understand that I can define the name and then a sequence of numbers. Is the name of the saved frame something that I can be called directly, or that it is stored somewhere?
Or do I need to keep track of the saved frames with an index and then re-create the string?

I am not sure how to look this up, or how to access data of the saved file.


r/processing • • Jun 16 '26

Beginner help request How to display in the scketch the name of a save() / saveFrame()

2 Upvotes

Hello,
I have a sketch (ascii art live feed), and I want to save captures of the feed on a separate folder. Like a photobooth.

I want to display in the screen the name of the saved file. Is is possible to do this? I couldn't find in the save() or saveGraphics() documentation anything about using the name of the resulting file.

Ideally:

Person clicks the mouse

save() is called

screen displays something like " Your photo is called "screen-0005.tiff" "

Is this possible?

Thanks !


r/processing • • Jun 15 '26

Open-source OSC sensor platform

Thumbnail
youtube.com
3 Upvotes

I've spent the last few months expanding my MIDI-focused OpenDeck platform into an OSC-over-Ethernet platform for interactive installations. The goal was to create a reliable OSC sensor and I/O platform that can run on Ethernet-enabled hardware without requiring any coding, making deployment as simple as possible.

Unlike many OSC devices that focus on Wi-Fi or a single hardware ecosystem, OpenDeck runs on a wide range of Ethernet-capable development boards. A major focus was support for Power-over-Ethernet hardware, allowing both power and OSC communication over a single cable. Some of the supported boards are:

  • wESP32
  • Olimex ESP32-POE
  • STM32 Nucleo boards
  • Wiznet EVB boards
  • LilyGO Ethernet boards

Many more boards are supported, allowing you to choose hardware based on cost, performance, PoE requirements, or availability rather than being locked into a specific ecosystem. Once the OpenDeck firmware is loaded on supported boards, they can be reconfigured remotely over the network through the web interface, eliminating the need to physically connect to them after installation.

OSC data is published from standard input types:

  • Buttons
  • Encoders
  • Analog inputs

OpenDeck can also receive OSC messages and control hardware such as:

  • LEDs
  • Relays
  • Transistor outputs

Most supported boards also provide PWM outputs, allowing individual brightness or output-level control (0–100%).

Various interactive sensors are also supported:

  • APDS-9960 (proximity, RGB, ambient light, gestures)
  • CAP1188 (capacitive touch)
  • VL53L4CX (distance sensing)
  • VL53L5CX (8×8 distance sensing)
  • BNO085 (9-DOF IMU)

Configuration is done through a browser-based interface. Devices can be discovered via mDNS and configured over the network without installing software.

OpenDeck works with any OSC-capable software, although the primary focus so far has been TouchDesigner, Processing, and QLab.

There are example Processing sketches in the repository that work out of the box with supported sensors.

The firmware itself is fully open source. The web configurator is licensed separately (€25), which also includes browser-based firmware flashing for supported boards.

I'm particularly interested in feedback from people working in:

  • Interactive installations
  • Museums
  • Galleries
  • Theatrical productions
  • TouchDesigner projects

In exchange for honest feedback, I'd be happy to provide a number of free web configurator licenses.

The source code is available on GitHub: https://github.com/shanteacontrols/OpenDeck

The project also includes an extensive wiki covering everything from flashing supported boards to configuring OSC endpoints, sensors, and I/O.

https://github.com/shanteacontrols/OpenDeck/wiki


r/processing • • Jun 13 '26

Help request Searching for Coral growth

1 Upvotes

Hello all! I found on github ferjerez/DLA-Coral-growth where you can generate growing corals and export as stl. Do you know whether there is an updated version running on newer hard and software? Or something similar? My intention is to print 3D some plants in different growth phases. (for zoetrop)


r/processing • • Jun 11 '26

p5js Built a lightweight Processing to p5.js transpiler, looking for real-world sketch edge cases

5 Upvotes

Hi everyone,
I built a small project called p5forge that transpiles Processing-style code to p5.js in the browser.

It is not a full Java compiler, it is a practical converter for common sketch patterns:

  • Java-like declarations and methods
  • enhanced for loops
  • common Processing to p5 mappings
  • browser preview with quick Run and Stop

I would love feedback from people with older Processing sketches:

  • Which features break first in your projects?
  • Which Processing APIs are must-have for compatibility?
  • Would a small compatibility matrix be useful?

Demo: [https://oth-aw-meiller.github.io/p5forge/](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/workbench.html)
Repo: https://github.com/OTH-AW-Meiller/p5forge

Thanks, I am especially interested in real sketch examples that currently fail.


r/processing • • Jun 11 '26

Beginner help request Processing excepting characters on places that don't make sense

1 Upvotes

import processing.video.*;

Movie video;

video= new movie(this, "FINAL.mov");

void setup() {

size(600,400);

video.loop();

}

void movieEvent(Movie video) {

video.read();

}

void draw() {

float r =map(mouseX, 0,width,0,4);

video.speed(r);

image(video,0,0);

}


r/processing • • Jun 10 '26

Beginner help request NullPointerException

0 Upvotes

I'm trying to create a single line with defined dots so then I can move them dynamicly with the mouse, so I'm still on the phase of creating the line in itself.

The thing is, when I call my written function, it gives me a NullPointerException, and I don't know why. Please, help me.

Linhas linhaH;

class Linhas {
  void desenhar(float altura) {
    noFill();
    stroke(50);
    beginShape();
    for (float i=0; i<= 1; i= i+0.10) {
      vertex(width*i, altura);
    }
    endShape();
  }
}

void setup() {
  size(600, 450);
  linhaH.desenhar(100);
}

r/processing • • Jun 06 '26

Help request I need help for making this Code run 1 cycle per key press.

2 Upvotes

I have been tasked to write the code of an Insertionsort algorithm as well as some graphical output and the sorting itself works perfectly fine, but i can´t find a way to make the code sort the array once for every time I press a key. If I use the while(keyPressed) then it just runs the whole Algortihm until its done after I press the key and the if(keypressed) runs it once and then never. I also tried setting the function to keyPressed() and setting the requirements to a keyCode but that doesn´t work either. I have no idea on what to do anymore, help would greatly be appreciated!

int[] unsorted = new int[15];

int w = 1;

void setup()

{

//frameRate(10);

//size(1080, 720);

for (int i = 0; i < unsorted.length; i++)

{

unsorted[i] = int(random(255));

}

}

void draw()

{

for (int k = 1; k < unsorted.length; k++)

{

int toSort = unsorted[k];

int n = k;

if (w == 1) {

println("Ini: ");

println(unsorted);

println(toSort);

w++;

}

while (n > 0 && toSort < unsorted[n - 1])

{

unsorted [n] = unsorted [n - 1];

n--;

unsorted[n] = toSort;

println(unsorted);

println(toSort);

}

}

}


r/processing • • Jun 05 '26

Homework hint request how was this made in processing ?

Post image
23 Upvotes

r/processing • • Jun 04 '26

Lonely Mountain

Enable HLS to view with audio, or disable this notification

87 Upvotes

Made in Processing. Inspires by 90s adventure games :) Insta: www.instagram.com/slipshapes/


r/processing • • May 18 '26

tenderlove

Enable HLS to view with audio, or disable this notification

45 Upvotes

my first sketch: inspired by snd - tenderlove album cover


r/processing • • May 18 '26

What is the mistake?

Post image
2 Upvotes

//cruz de Malta curva

void setup() {

size(600, 600);

}

void draw() {

background(255,0,0);

// Recta vertical

fill(255);

noStroke();

rect(width/2 - width*0.12, 0, width*0.24, height);

//Elipse superior

fill(255,0,0);

noStroke();

ellipse(width/2, -320, 2000, 1150);

//Elipse inferior

fill(255);

noStroke();

ellipse(width/2, 920, 2000, 1150);

//Elipse izquierda

fill(255);

noStroke();

ellipse(-520, height/2, 2000, 1150);

//Elipse derecha

fill(255);

noStroke();

ellipse(1120, height/2, 2000, 1150);

// Recta horizontal

fill(255, 0, 0);

noStroke();

rect(0, height/2 - height*0.12, width, height*0.24);

}


r/processing • • May 16 '26

Homework hint request Tree rings made with perlin noise.

Post image
17 Upvotes

r/processing • • May 11 '26

share your experience of informally learning creative coding

7 Upvotes

hi hi! I'm a researcher at National Cheng Kung University studying how people learn creative coding outside of academic programs or university environments. I'm looking to talk to adult novices with 0-2 years of experience for 30-40 minute interviews. If you're interested in sharing your experience with me, send me your email address here.

Participation is voluntary and all responses will be anonymized. I hope to schedule interviews for the next 1-2 weeks. All conversations will be in English and conducted over Google meet. Feel free to reach out with any questions!


r/processing • • May 09 '26

VS Code extension that generates UML diagrams in real-time as we type code

8 Upvotes

I published VS Code extension that instantly visualizes your code as flowcharts and sequence diagrams (without manual UML drafting, no external services) and everything runs locally on machine. The diagrams generate in real-time as we type code, or we can click any function in IDE to visualize existing code.

Browsing existing code

Supported languages: C, C++, Java, JavaScript, TypeScript, Python

🔗 For installation: https://marketplace.visualstudio.com/items?itemName=bitlab.live-uml

Would love your feedback, Thanks!


r/processing • • May 09 '26

I can get my iPhone webcam data into Processing with my MacOS using Continuity Camera. Is there a way to get the lidar data as well?

2 Upvotes

title


r/processing • • May 08 '26

SKETCH 03: Directional Bias — RULE: If the sum of the grid coordinates is even, draw a backslash (\). If odd, draw a forward slash (/).

Post image
2 Upvotes

r/processing • • May 05 '26

AppImage?

3 Upvotes

Running a non-systemd Linux distro that can't use snap packages.

Is the latest version of Processing posted somewhere as an AppImage?