Questions tagged [processing]

Processing is an open source programming language and environment for people who want to create images, animations, interactions, and games.

The processing tag is misleading and leads to misunderstandings and even closure votes, because of the seemingly missing language tag. It is strongly recommended to tag questions additionally with a language tag.

But note Processing is not the same as Java.

Processing refers to the language built on top of Java and the minimal IDE it ships with. It is free and open-source, runs on Linux, Mac OS X, and Windows, and can output for screens, print, 3D packages and CNC printing.

The language simplifies a lot of complex concepts and eases the entry of designers, artists and non-programmers to the world of programming.

Over the years it was used to produce a number of astonishing projects ranging from data visualization, to physical computing , games, 3D, sound, live performance, and more.

Due to its vibrant community, Processing not only enjoys a contribution of over 100 libraries, but it is also present on major mobile platforms, such as Android and iOS.

There are online communities for sharing Processing content, like OpenProcessing.

Some websites even allow users to learn and use Processing directly in the browser, like the Flash-driven SketchPatch and the JavaScript-driven Sketchpad and p5.js (pure JavaScript).

There are also Processing ports to the following languages:

Advanced users are not constrained to the Processing IDE; sketches can be run from the command line, and projects can be set up to build and run directly from editors:

6836 questions
1
vote
0 answers

How to launch a Processing sketch within a Spring Boot application?

I’m building a web application in Java, with Spring Boot, and would like to include Processing as a library. Processing = the language focussed on visuals (which you can use as a library in Java). I’m using Intellij IDEA, the project is set-up as a…
erikh
  • 11
  • 1
  • 2
1
vote
1 answer

How can I use the FX2D render option in Java + Processing?

I am doing the tests for a program I have to do with Java + Processing. I imported the core to the dependencies and I was trying to get the best quality possible with the FX2D rendering, but the moment I use it it just crashes (Tried without…
1
vote
1 answer

Max cycling74 mxj dependency

My goal: Running Processing.org (version 3.5.4) from Max (cycling74) version 8 on Windows 10 64 through writing an MXJ external (Max Java support). I want to open a processing test sketch within window from MAX by sending a bang message to the MXJ…
gerome
  • 41
  • 6
1
vote
0 answers

Add and subtract value pixel channel in Java

I have tried to change the red channel value of an image and then reverse it to the original value. I simply add 100 to the red channel value and after that subtract to 100 to get the original image. But it does not work Below is my code: static…
Robotic Vn
  • 437
  • 2
  • 7
  • 20
1
vote
1 answer

Remove watermark from PNG with java

I want to find a method to add and remove a known watermark from image with Java. I have an image1.png and a watermark watermark.png I want to find a method to addWatermark(image1, watermark) --> image2.png And then I want to recover the origin…
Robotic Vn
  • 437
  • 2
  • 7
  • 20
1
vote
1 answer

Processing String splitting and loops to form a facade

I have tried many methods, and can't seem to grasp the idea of extracting an index from my array of strings to help me generate my desired number of building with a desired height, please help, here is my example edit: Hi, i saw your feedback and…
seawhale05
  • 11
  • 3
1
vote
1 answer

Exporting a QuickTime movie with Ruby-Processing

I'm using Ruby-Processing to make a Processing app. How do I export a QuickTime movie of my app? I've tried the following: load_library 'video' import 'processing.video.MovieMaker' def setup # stuff... @mm = MovieMaker.new(WIDTH, HEIGHT,…
grautur
  • 29,955
  • 34
  • 93
  • 128
1
vote
1 answer

Full Width Graphics Cause Major Lag

I'm creating a game with processing java. I optimized the game as much as I could making sure the image textures are very small, drawing only certain portions of the map, etc., and the game runs consistently at 60 FPS. However, when I want to draw…
Scollier
  • 575
  • 6
  • 19
1
vote
2 answers

Processing doesn't catches exceptions

try { println("Connecting to the server...."); myClient = new Client(this, "192.168.0.185", 1111); serverworks = true; println("Connected to the server!"); println(myClient); } catch(Exception e) { print("Exception: "); …
szg12345
  • 45
  • 8
1
vote
1 answer

Looping a mouse movement in Processing

I am trying to de-pixellate an image over time, which is working. However when this has finished, I want the mouse to go back to its original point and start again, forever. I have tried loop commands with no luck. I can only get this code to work…
Paul
  • 31
  • 2
1
vote
1 answer

Error Playing Video on Raspberry 4 with AARCH64 processor

I am trying to play a simple video on a raspberri pi 4 , I tried the native processing library but it literally gives the error " this library is not built for aarch64" . and I tried the GLVideo library and got a similar error saying that…
1
vote
1 answer

I run a same project from Open Hpi Course. And I faced this PApplet Cannot Be Resloved error

import processing.core.PApplet; public class Main { public static void main(String[] args) { PApplet.main(new String[]{TheApp.class.getName()}); } } And here is the error: Exception in thread "main" java.lang.Error:…
1
vote
0 answers

KinectV2 - Getting a boundary around the body

I am trying to draw a rectangle around the body using its upper left corner and bottom right corner detected by Kinect. The left most and the highest points are detected but I have difficulty finding the right most and the lowest point. The current…
gigi
  • 11
  • 1
1
vote
1 answer

Processing Fix & Optimization of https://github.com/jonlit/spacestarprocessing3d

I previously had an issue with a model not loading correctly (see Processing - loading obj File) https://stackoverflow.com/users/89766/george-profenza helped me solve the problem in chat, and he wanted to post his optimizations to my code…
JoLi
  • 33
  • 5
1
vote
1 answer

Processing - loading obj File

I've made a little game (https://github.com/JonLit/SpaceStarProcessing3D) and now want to convert it to 3D. I've done some things with spheres in P3D before, so I'm not completely new to this. But now I've encountered a weird problem: If I load the…
JoLi
  • 33
  • 5